Sleep by the SITE monitoring (click to enter here there are a lot of free site monitoring site, I use the foreign, monitoring every minute, real-time reminders, to avoid long-time website hanging off. SMS to wake up, the website can not open the normal, helpless get up.
All Web site prompt service unavailable, see log found to load 7i24 anti-theft chain file error log, first do not check the reason, uninstall first said, uninstall after static page normal, but PHP page not, all is blank page, restart IIS, MySQL no fruit, To write a php simple page test php found normal, it seems to be unable to connect to MySQL, Internet search solutions, the following methods are searched:
1. Extension_dir = is inconsistent with the actual ext directory of PHP.
2. The PHP directory and the EXT directory are not added to the environment variables.
3. Extension=php_mysql.dll, etc. before the comment is not removed.
4. The Zend installation directory is inconsistent with the directory specified in the php.ini Zend.
5, the LibmySQL.dll copy one to: C:\Windows\System32 under. Then restart IIS
Look at the dazzling, I have tried one by one, or not. Then restart the server, No. Reloading PHP MySQL or not, it's a bit of a crash. But can not collapse, but also to continue to check, found in an article mentioned in Phpinfo () Loaded Configuration File C:\WINDOWS\php.ini, The article mentions php.ini, but I'm not going to be php.ini because I've already recovered. But I open the phpinfo () page (), see Loaded Configuration File (none), obviously did not load to php.ini, this time I think of permissions, quickly add the users Read permissions ( If not, you can add guests) and restart the Iis,ok.
So in addition to the above 5, you can add a 6th article:
6. Check the php.ini permissions and give the users (guests) Read, read, and run permissions.
Environment: Win2003, IIS
Original article reproduced please indicate source: http://www.maxin.cn/archives/2010/282.html
http://www.bkjia.com/PHPjc/364485.html www.bkjia.com true http://www.bkjia.com/PHPjc/364485.html techarticle Sleep by the site monitoring (click to enter here there are a lot of free site monitoring site, I use the foreign, monitoring every minute, real-time reminders, to avoid long-time website hanging off. ...