SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have been using PHP 4 for a while now and it worked great on my server. I upgraded to PHP5 and now 90% of my php scripts show up blank. Is there anyway to make Apache2 load the old modules? What files do I need to change? -Eric
just change the php module apache loads in httpd.conf. But if you installed from a slackpack, your previous installation has prolly been wiped out. So, easiest way is to first remove the php package, then install again the php4 package you had.
Remember tho, that with /var/log/apache2/error_log at your usage, you could allways solve the problems, instead of fleeing to a previous version.
You can also try to run the scripts from command-line, sometimes usefull for debugging. And when they show "blank pages" it's often because the script had an error before showing anything.
A lot of forum software and content management systems are not yet compatible with php5. Phpbb works with mysql 4, I use it myself. To uninstall, go to the directory from which you installed and do "make uninstall" as root.
Apache refuses to start. I REALLY need to get this thing running:
Right after I removed apache2 I deleted all the apache2 directories on the server and tried to install the apache2-php4 package on linuxpackages.net:
root@ehost:~# installpkg apache2.tgz
Installing package apache2...
PACKAGE DESCRIPTION:
Executing install script for apache2...
cat: etc/apache2/httpd.conf: No such file or directory
I prefer Apache2...how would I get back to 1.3 anyway and install php + mysql for it? Hmm I think I'm gonna have to reinstall slackware and reinstall all the packages.
Try to locate libphp4.so in your system and make a symlink to it in /usr/modules/ so apache can find it. I think you can also achieve this by modifing apache config files and set it to look for libphp where it's.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.