Author |
|
xAddict3Dx
Joined: 31 May 2013 Posts: 4 Location: NL
|
Posted: Sat 01 Jun '13 12:59 Post subject: Apache 2.4.4 + PHP 5.4.15 = unresponsive php-pages? :-( |
|
|
Hello Apache Lounge addicts, how are you people doing
Everything's fine with me, except with getting Apache 2.4.4 + PHP 5.4.15 to work (using x86/32-bit)
I've been setting up webservers, databases and Content Management Systems for for a long time but this was in the Apache < 2.0/2.2 era.
After years of absence i wanted to pick it (back) up again, but for some reason the php-part of the website refuses to load after loading successfully once.
I did everything according to the installation steps/instructions mentioned here but as soon as i access my Imagevue gallery for a second time (sometimes it seems to work but then i see the 'busy/waiting' animation and it fails to load again).
I've tried all VC's and made sure the Visual C++ 2010 Redistributable Package was up to date, but it didn't matter which builds i use (9, 10 or 11), the problem persists.
My Apache config is almost identical to the default one, except for the location of the files and the required entries to make it work with PHP.
The same goes for php.ini: used the 'production' example as reference and changed the location to the extensions and timezone-settings.
There are NO leftover ini's configs found of previous Apache/PHP installations so nothing should be in the way.
The system i'm working on: Windows 7 x64 Ultimate incl. SP1 + hotfixes.
I haven't yet tested MySQL with the webserver yet because i first want to solve the PHP loading-issues.
If there's anything else you would like to know, just ask!
Thank you in advance,
- Christiaan
Last edited by xAddict3Dx on Sat 01 Jun '13 14:26; edited 3 times in total |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Sat 01 Jun '13 13:06 Post subject: |
|
|
Anything in the Apache error.log ?
Be sure you have in httpd.conf set:
AcceptFilter http none
AcceptFilter https none
EnableSendfile off
EnableMMAP off
Steffen |
|
Back to top |
|
xAddict3Dx
Joined: 31 May 2013 Posts: 4 Location: NL
|
Posted: Sat 01 Jun '13 13:07 Post subject: |
|
|
Yes those are also in place (forgot to mention, was still editing my post):
Quote: |
#
# EnableMMAP and EnableSendfile: On systems that support it,
# memory-mapping or the sendfile syscall may be used to deliver
# files. This usually improves server performance, but must
# be turned off when serving from networked-mounted
# filesystems or if support for these functions is otherwise
# broken on your system.
# Defaults: EnableMMAP On, EnableSendfile Off
#
EnableMMAP off
EnableSendfile off
AcceptFilter hhtp none
AcceptFilter https none
|
I restarted Apache and first opened the index page: It (almost) works!
Then i tried to load the php/flash Image Gallery for the first time and... i thought it wouldn't load, but it took a really long time before something happened (usually nothing happens after one successful load)
here's the error.log:
Quote: |
[Sat Jun 01 13:16:35.658217 2013] [mpm_winnt:notice] [pid 5764:tid 536] AH00455: Apache/2.4.4 (Win32) PHP/5.4.15 configured -- resuming normal operations
[Sat Jun 01 13:16:35.658217 2013] [mpm_winnt:notice] [pid 5764:tid 536] AH00456: Server built: Feb 23 2013 16:24:03
[Sat Jun 01 13:16:35.658217 2013] [core:notice] [pid 5764:tid 536] AH00094: Command line: 'G:\\Apache24\\bin\\httpd.exe -d G:/Apache24'
[Sat Jun 01 13:16:35.659217 2013] [mpm_winnt:notice] [pid 5764:tid 536] AH00418: Parent: Created child process 4580
[Sat Jun 01 13:16:36.004237 2013] [mpm_winnt:notice] [pid 4580:tid 412] AH00354: Child: Starting 64 worker threads.
|
edit:
Quote: |
[Sat Jun 01 13:42:17.440402 2013] [mpm_winnt:warn] [pid 4580:tid 1332] (OS 64)De opgegeven netwerknaam is niet langer beschikbaar. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
|
How is this even possible when i've disabled AcceptFilter completely? :S
Last edited by xAddict3Dx on Sat 01 Jun '13 14:02; edited 1 time in total |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Sat 01 Jun '13 14:02 Post subject: |
|
|
Because the error Asynchronous AcceptEx failed, are you Really sure you have :
AcceptFilter hhtp none
AcceptFilter https none
and stop/start Apache ?
If yes try uninstall (not disable) any virus scanner. |
|
Back to top |
|
xAddict3Dx
Joined: 31 May 2013 Posts: 4 Location: NL
|
Posted: Sat 01 Jun '13 14:23 Post subject: |
|
|
I already stated and quoted the part of my httpd.conf where AcceptFilter was disabled:
Also see http://i.imgur.com/bK5YMld.jpg
I've restarted and un/(re)installed Apache + PHP dozens of times but uninstalling my Antivirus for it seems a bit awkward (i know some AV's can cause trouble but uninstalling them instead of disabling them goes a bit far for my taste).
I'm using ESET NOD32 Antivirus 6 and haven't noticed any warning or entries in the log (i therefore doubt it has anything to do with the issues i'm experiencing).
I did some more post reading and wondered if the compiled SSL 1.0.1e libray could have anything to do with it, since:
Note: When using PHPs binaries from windows.php.net with OpenSSL it is advised
to use the build with OpenSSL 0.9.8. Mixing versions may cause crashes, see info.
edit: No, that only occurs when using SSL, which i'm not |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Sat 01 Jun '13 14:55 Post subject: |
|
|
See about virus scanners and the error winnt_accept: Asynchronous AcceptEx failed :
http://apache.proserve.nl//httpd/binaries/win32/ Under the heading Problems Installing or Running Apache 2 it is noted there for 2.2 but still valid for 2.4. |
|
Back to top |
|
Millennium
Joined: 17 Apr 2006 Posts: 179 Location: Leiderdorp, NL, EU
|
|
Back to top |
|
xAddict3Dx
Joined: 31 May 2013 Posts: 4 Location: NL
|
Posted: Tue 04 Jun '13 19:59 Post subject: |
|
|
Somehow, downgrading to Apache 2.2.24 solved the issues i was having, without the need to exclude Apache in ESET or adding/disabling certain directives in httpd.conf =) |
|
Back to top |
|