Help - Search - Members - Calendar
Full Version: php3 not working
The Planet Forums > Control Panels > Plesk
genesisredhat
I just got a new plesk 7.5 server and uploaded php3 board scripts.
It only gives a blank page.
I did check with other php scripts and they are working fine.( scripts that I used with php4)

can someone tell me where to go and fix it ?

thanks.
Squire
The extension is .php3?

You may want to check in the DirectoryIndex section of your httpd.conf file to make sure it index.php3 is even mentioned. It may or may not be.

Also, are you wanting to have .php3 files parsed by php4? If so you'll probably need to declare this in httpd.conf since php3 is rather old. It would look something like:

CODE
<IfModule mod_php4.c>

AddType application/x-httpd-php .php .php4 .php3 .phtml

</IfModule>


Both will require an Apache restart to take effect.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.