PDA

View Full Version : Had to recompile PHP now PHP4 doesn't work.



Webgecko
03-22-2009, 04:41 PM
Hi Guys,

History. I'm running PHP 4 and PHP 5 as outlined below. This was working correctly.

default_php=5
php4_cli=no
php4_cgi=yes
php5_cli=yes
php5_cgi=no

--

I had to update OpenSSL, so I installed this from FreeBSD ports (worked fine), then I had to recompile PHP, so I figured, why not update at the same time so I did a
./build versions and then I did a
./build update_versions which all went find.

I then proceeded to restart apache which went fine as well. No sign of errors.
When I visit a page with PHP5, all is well.
When I visit a page with PHP4, I get a 500 internal server error which wasn't there before the update / recompile of php.

Any help is greatly appreciated as I have a bunch of PHP4 sites that are down at the moment.

Thanks!!

smtalk
03-23-2009, 03:49 AM
Try:


cd /usr/local/directadmin/custombuild
./build rewrite_confs