View previous topic :: View next topic |
Author |
Message |
batzee Tux's lil' helper
Joined: 27 Apr 2004 Posts: 105
|
Posted: Mon Sep 20, 2004 8:08 pm Post subject: apache2 - php 4.3.8 - very strange problem |
|
|
Hi!
This problem was already discussed in the german forum, but nobody could help me. If you speak german, you might want to have a look:
https://forums.gentoo.org/viewtopic.php?t=221505
And now again in English: I used to have apache 1.3 and PHP 4.3.8 on my webserver and it worked smoothly. Now I have upgraded to apache 2.0 + PHP 4.3.8 with the following steps:
- /etc/init.d/apache stop
- emerge unmerge apache php mod_php mod_ssl
- edit make.conf and add USE=apache2 (BTW, I also have USE=hardened for php)
- emerge apache php mod_php
- edit apache2.conf and /etc/conf.d/apache2 to suit my needs
- /etc/init.d/apache2 start
Now I have the following problem:
When I start apache2 with -D PHP4 and the php module gets loaded, and a .php script is requested from the client, NOTHING happens:
- no error_log entry (although I have specified loglevel debug)
- no access_log entry (although there is definitely a connection!)
- nothing delivered, not even a header. after receiving the GET request the server closes the connection right away and sends NOTHING. I repeat, NOTHING is being sent to the client.
- When I start apache2 without -D PHP4, and a .php script is requested, the sourcecode is displayed in the browser as one would expect.
- No matter if apache2 is starteed with or without -D PHP4, static objects are delivered OK.
- ssl also works.
Any suggestions?
Thx batz33 |
|
Back to top |
|
|
batzee Tux's lil' helper
Joined: 27 Apr 2004 Posts: 105
|
Posted: Tue Sep 21, 2004 2:54 pm Post subject: |
|
|
bad news: I have now noticed that on the first request to a PHP script after starting the apache2, a whole group of apache2 processes dies. Why? |
|
Back to top |
|
|
batzee Tux's lil' helper
Joined: 27 Apr 2004 Posts: 105
|
Posted: Tue Sep 21, 2004 4:03 pm Post subject: |
|
|
Good news: Without USE="hardenedphp" the error does not occur.
What should I do, issue a bug report? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|