We’re experiencing an occasional PHP Access Violation error. It is becoming more frequent but usually takes 14 days or longer to present.
Our server is running:
- Windows Server 2008 R2
- PHP 5.2.12 via ISAPI
- MySQL 5.1.51 Community
- Plesk 9.5.2
- Sites using MODx Revolution, various versions from 2.0.4-pl2 to 2.1.1-pl
I know the MODx requirements state PHP via FastCGI so my first query would be is FastCGI an absolute requirement or is this recommendation for speed and because PHP and Microsoft recommend FastCGI on Windows Servers?
When running a MODx site the FastCGI Module on our server throws the following error:
HTTP Error 500.0 - Internal Server Error
C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php-cgi.exe - The FastCGI process exited unexpectedly
On a none MODx site the trigger appears to be MySQL interactions, somewhere between connecting to, querying and closing a database connection, possibly while executing mysql_close(). However, since MODx uses PDO I wonder if this is not the actual trigger for the error. Websites set to use FastCGI will respond to basic commands like phpinfo(); and echo ’something’;.
Further details from Event Viewer are:
Faulting application path: C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php-cgi.exe
Faulting module path: C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php5ts.dll
Does anyone have any experience running Plesk on a Windows Server with MODx successfully on PHP5 via FastCGI? The engineers at our data centre are suggesting that Plesk may not be capable of running this setup but I don’t see how since it ships with this option available.
I know this covers a lot if issues but if anyone can comment it would be appreciated.
Thanks,
Chris