View previous topic :: View next topic |
Author |
Message |
peterman -
Joined: 12 Feb 2009 Posts: 2
|
Posted: Fri Mar 26, 2010 7:21 pm Post subject: X2 V2.6 crash on restart with PHP ISAPI |
|
|
I have been using X2 V2.6 since its release and using phpfastcgi. When my traffic increased I started having Error 500 very often (tried many version of PHP with the same problem), so I switched few months ago from fastgci to PHP ISAPI to test and it worked fine (no more error 500).
My problem now is that everytime I restart the server (from the webamin or the service). I get an alert on the screen (under win2K SP4) with a window error "memory location couldnot be writen...", I just click the OK and the server starts OK. It will not start until I click the OK button. My problem is that sometime the server restart itself (it's probably the monitoring service after a crash) and it waits until someone click the OK button.
Any help will be appreciated. |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Fri Apr 09, 2010 12:21 am Post subject: |
|
|
Hello Peterman, I really apologize that it took this long to reply to your post. Can you post the configuration settings that you used to install PHP? The executable you should be using would be php-cgi.exe since PHP5. ISAPI isn't a very good choice because if the PHP process crashes, it will bring the entire server down. FastCGI is the way to go. |
|
Back to top |
|
|
peterman -
Joined: 12 Feb 2009 Posts: 2
|
Posted: Mon Apr 12, 2010 3:50 pm Post subject: |
|
|
I'm using php 5.2.10 (tried other version too) on Win2k Sp4
Here is the config file.
<scripting><enabled>yes</enabled>
<cgi>
<timeout>30</timeout>
<usescript>yes</usescript>
<useshebang>yes</useshebang>
</cgi>
<isapi>
<ext>dll</ext>
<debuglevel>0</debuglevel>
</isapi>
<fastcgi>
<debuglevel>1</debuglevel>
<timeout>240</timeout>
</fastcgi>
<interpreters>
<interpreter>
<ext>php</ext>
<interface>1</interface>
<file>D:\Servers\php\php-cgi.exe</file>
<checkexists>yes</checkexists>
<type>0</type>
<updatepaths>yes</updatepaths>
</interpreter>
</interpreters>
</scripting>
If you need the php.ini let me know. |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Sun Apr 18, 2010 3:09 am Post subject: |
|
|
Have you tried PHP 5.3? Your settings look okay from what I can see. |
|
Back to top |
|
|
|