PHP doesn't work on SuSE 9.1 out of the box with Apache2
From: Luc (luc.rems_at_nospam_pi.be)
Date: 07/06/04
- Next message: Yurk Yurk: "Unable to set images in GLSlideshow screensaver"
- Previous message: init 3: "Re: Real Player 10 not working with suse kernel upgrade"
- Next in thread: Scott Leighton: "Re: PHP doesn't work on SuSE 9.1 out of the box with Apache2"
- Reply: Scott Leighton: "Re: PHP doesn't work on SuSE 9.1 out of the box with Apache2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 05 Jul 2004 23:31:57 GMT
Hi,
Here is my problem and the things I did and checked so far (without any
luck).
I installed Apache2, the prefork MPM and PHP4 (everything which is needed by
dependencies).
So far, no problem.
I try to start Apache2 with the default prefork MPM and it ends up with a
"failed" error. Nothing special to see in the error_log, apart from an SSL
issue which can easily being solved.
I didn't get why it kept on failing until I deactivated the PHP4 module in
yast for the HTTP server.
Restarted Apache2 and yes... Done. Only problem left, no PHP support, no
phpMyAdmin :-(
I re-enabled the php4 module, restarted Apache2 and there it was again, the
Failed message. Deactivated PHP module and now Apache2 started correctly.
Then I tried something else. I installed the worker MPM and activated this
one, started the PHP4 module and apache seemed to start correctly where it
previously failed. But the only problem now is that when I open php files
(eg index.php) it proposes me to download the files ???
So I added index.php to the DirectoryIndex in httpd.conf, restarted apache
but he still gives me the download window until I found out in Yast Software
Installation that I couldn't remove the Prefork MPM because PHP depends on
it. So, PHP needs prefork to work but I cannot use it because it simply
fails to start.
PHP doesn't seem to work with the Worker MPM but this is the only MPM which
works together with PHP.
Now, does anyone knows how to solve this mistery, or is there anybody who
managed to installed both Apache2 and PHP and got it to work on SuSE 9.1 ??
If so, all suggestions are more than welcome.
Thanks,
Luc
- Next message: Yurk Yurk: "Unable to set images in GLSlideshow screensaver"
- Previous message: init 3: "Re: Real Player 10 not working with suse kernel upgrade"
- Next in thread: Scott Leighton: "Re: PHP doesn't work on SuSE 9.1 out of the box with Apache2"
- Reply: Scott Leighton: "Re: PHP doesn't work on SuSE 9.1 out of the box with Apache2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|