Help on Apache2 and PHP4 in SuSE Pro 8.2
Hi everybody! I'm trying to install Apache2 together with PHP4 and phpMyAdmin on my new SuSE Pro 8.2 server, but so far - no luck.. I use the standard installation options in Yast2 when I do a absolute fresh install on the computer and I've got the "Auto check dependencies" on. So, I thought all was well after marking up Apache2, PHP4 and phpMyAdmin and correlating modules as suggested by Yast2. But no... The server doesn't even understand that PHP4 is installed after what it seems to me, if I try to access a .php page, it insists on sending me the page as a download file instead of interpreting it and sending the output. Does anyone know the reason/solution to this, or is it a clear case of calling support? Later, Anders Norrbring Norrbring Consulting
Anders Norrbring wrote:
Hi everybody! I'm trying to install Apache2 together with PHP4 and phpMyAdmin on my new SuSE Pro 8.2 server, but so far - no luck.. I use the standard installation options in Yast2 when I do a absolute fresh install on the computer and I've got the "Auto check dependencies" on. So, I thought all was well after marking up Apache2, PHP4 and phpMyAdmin and correlating modules as suggested by Yast2.
Does anyone know the reason/solution to this, or is it a clear case of calling support?
Did you edit /etc/sysconfig/apache2 and put php4 in the line beginning APACHE_MODULES ? I got all this running by doing that then running SuSEconfig. -- JDL Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Anders Norrbring wrote:
Hi everybody! I'm trying to install Apache2 together with PHP4 and phpMyAdmin on my new SuSE Pro 8.2 server, but so far - no luck.. I use the standard installation options in Yast2 when I do a absolute fresh install on the computer and I've got the "Auto check dependencies" on. So, I thought all was well after marking up Apache2, PHP4 and phpMyAdmin and correlating modules as suggested by Yast2.
Does anyone know the reason/solution to this, or is it a clear case of calling support?
Did you edit /etc/sysconfig/apache2 and put php4 in the line beginning APACHE_MODULES ?
I got all this running by doing that then running SuSEconfig.
John, thanks, but no luck there either. I've been forth and back in the books accompanying my SuSE 8.2 box, but I can't find a single reference to how I can install and use php4 with Apache2. I guess it can be done by hand editing all the config files, but as this system will be administered by others than myself, I would really prefer to set this up "the SuSE way" but I simply don't know how to do it.. If anyone knows about an online "HOW-TO" or just anything about setting up SuSE 8.2, Apache2 and PHP4, please let me know! Thank you! Anders Norrbring Norrbring Consulting
The mailing lists at www.php.net clearly state that PHP does not play nice with Apache2. Stick to Apache1. -Stathis. Anders Norrbring wrote:
Anders Norrbring wrote:
Hi everybody! I'm trying to install Apache2 together with PHP4 and phpMyAdmin on my new SuSE Pro 8.2 server, but so far - no luck.. I use the standard installation options in Yast2 when I do a absolute fresh install on the computer and I've got the "Auto check dependencies" on. So, I thought all was well after marking up Apache2, PHP4 and phpMyAdmin and correlating modules as suggested by Yast2.
Does anyone know the reason/solution to this, or is it a clear case of calling support?
Did you edit /etc/sysconfig/apache2 and put php4 in the line beginning APACHE_MODULES ?
I got all this running by doing that then running SuSEconfig.
John, thanks, but no luck there either. I've been forth and back in the books accompanying my SuSE 8.2 box, but I can't find a single reference to how I can install and use php4 with Apache2. I guess it can be done by hand editing all the config files, but as this system will be administered by others than myself, I would really prefer to set this up "the SuSE way" but I simply don't know how to do it.. If anyone knows about an online "HOW-TO" or just anything about setting up SuSE 8.2, Apache2 and PHP4, please let me know!
Thank you! Anders Norrbring Norrbring Consulting
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Rouvas Stathis rouvas@di.uoa.gr http://www.di.uoa.gr/~rouvas
Thank you so much, Stathis! That was really the most useful answer so far.. :) I've got lots of responses telling me how I should edit my config files, but that really wasn't an option since I'm not the one who should operate the system after set up, it's a machine I'm selling to a client. I don't believe in configuring things "out of default behaviour" on machines not meant for myself. Anders Norrbring Norrbring Consulting
The mailing lists at www.php.net clearly state that PHP does not play nice with Apache2. Stick to Apache1.
-Stathis.
participants (3)
-
Anders Norrbring
-
John Lamb
-
Rouvas Stathis