resolved: php4 complaining about mysql, possible to only use php5 for whole system? - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Update/Upgrade (/forum-44.html) +--- Thread: resolved: php4 complaining about mysql, possible to only use php5 for whole system? (/thread-6418.html) |
resolved: php4 complaining about mysql, possible to only use php5 for whole system? - jemmrich - 04-16-2009 09:04 AM Hi everyone, I think im still recovering from my upgrade from etch to lenny. I have two gallery2 installs and both fail to work. Both sites output "Error" to the browser. If I run them from the shell like so: Quote:# php5-cgi -f main.php however, it fails if i do this: Quote:# php4 -f main.php I am guessing that apache for the gallery folder is trying to use php4 and the mysql extension is no longer found. I am wondering if it is possible to have the whole system just use php5, rather than having both php4 and php5. Some how i think my system is confused with which php version to use. Any ideas? Thanks! James RE: php4 complaining about mysql, possible to only use php5 for whole system? - Lucan - 04-16-2009 09:10 AM As far as i know, php 4 isn't supported anymore at the newer ispcp versions. So if you use the stable Version, php4 won't work RE: php4 complaining about mysql, possible to only use php5 for whole system? - jemmrich - 04-16-2009 09:20 AM (04-16-2009 09:10 AM)Lucan Wrote: As far as i know, php 4 isn't supported anymore at the newer ispcp versions. Yeah, and php5 has been out for awhile, would like to just use it. I tried apt-get remove php4 and apt-get remove php But it said they aren't installed, however if i type php[tab][tab] i get this: Quote:# php Also, I have a phpinfo() file in the same directory as the gallery install and it correctly shows php5 information. I don't know why gallery is trying to access php4 and it's mysql extension RE: resolved: php4 complaining about mysql, possible to only use php5 for whole system? - jemmrich - 04-16-2009 11:00 AM I fixed my issue, there was some permission problems throughout the web directory. php4 seems to be still on my system, but never used and is no longer on the installed packages list. Thanks all for your help |