PDA

View Full Version : Where is PHP4?



grockord
07-30-2009, 04:46 AM
I have a server with PHP4 CGI and PHP5 CLI installed with custombuild. I updated all the system and PHP4 is dead, and in custombuild nows only appears PHP5 and PHP6:

These functions are only recommended for experienced users:
./build php5-cli
./build php6-cli
./build php5-cgi
./build php6-cgi



#PHP settings. default_php possible values - 4 or 5
default_php=5
php4_cli=no
php4_cgi=yes
php5_cli=yes
php5_cgi=no
zend=no


How I can do for install PHP4?

Thanks!

scsi
07-30-2009, 05:59 AM
Php 4 is end of life. They no longer support it.

grockord
07-30-2009, 06:06 AM
Php 4 is end of life. They no longer support it.

I know it, but in this server i have some clients with old pages that don't works with PHP5.

scsi
07-30-2009, 06:11 AM
If custombuild has the settings for php4 in the options.conf all you have to do is.

cd /usr/local/directadmin/custombuild
./build update
./build php d

smtalk
07-30-2009, 10:05 AM
Downgrade CustomBuild to 1.1 and you will have PHP4 support.