Web Hosting Talk







View Full Version : I can't get PHP to work!


user
10-13-2000, 12:20 AM
I've been trying to get a PHP3 script to work on a raq3 with no luck do you treat php like cgi? I know nothing about it do you have to upload it in ASCII like cgi? I can get cgi to work but not php! When i call the script in my broswer it dosent excute it just comes up like it if you opened it up in notpade i chmod it to what the directions said but still it dosent work what else could it be?

do all PHP3 script get called using this <?php thats whats at the top anyway :)

JTY
10-13-2000, 12:26 AM
I know this may seem like a stupid question, but have you installed PHP3 on your server? As it doesn't ship on the Raq3. Also are you naming your files .php3?

user
10-13-2000, 12:29 AM
yes i was told it was on the raq3? If that is not the case how can i check and see?

ODE
10-13-2000, 02:21 AM
You could create a page with:

<? phpinfo(); ?>

... in it, which will create a formatted page with all of your environment variables and MySQL info and everything. Use a .php3 or .phtml extension.

Félix C.Courtemanche
10-13-2000, 10:30 AM
PHP is not installed by default on a RAQ3... you will need to install it. You can find RPMs for that on cobalt's site @
ftp://ftp.cobaltnet.com/pib/experimental/raq3

Good luck :)