X2 V2.6 crash on restart with PHP ISAPI

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
peterman
-


Joined: 12 Feb 2009
Posts: 2

PostPosted: Fri Mar 26, 2010 7:21 pm    Post subject: X2 V2.6 crash on restart with PHP ISAPI Reply with quote

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 View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Fri Apr 09, 2010 12:21 am    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
peterman
-


Joined: 12 Feb 2009
Posts: 2

PostPosted: Mon Apr 12, 2010 3:50 pm    Post subject: Reply with quote

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 View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Sun Apr 18, 2010 3:09 am    Post subject: Reply with quote

Have you tried PHP 5.3? Your settings look okay from what I can see.
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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


Powered by phpBB phpBB Group