PHP page blank cannot load mysql solution. In my sleep, I was monitored by my website. (click here to access many websites that provide free website monitoring. I am using a foreign website, which can be monitored once every minute. I am reminded in real time to prevent my webmasters from failing in time. In my sleep, I was monitored by my website. (click here to go to many websites that provide free website monitoring. I am using a foreign website, which can be monitored once every minute. I am reminded in real time to prevent my webmasters from failing in time .) The text message woke up and the website could not be opened normally.
All websites prompt "Service Unavailable". check the log to find the log that contains the error code of loading the 7i24 anti-Leech file. do not check the cause. uninstall the log first. the static page is normal after uninstallation, but the php page does not work, all are blank pages. restarting iis and mysql is fruitless. writing a simple php page to test php is normal. it seems that mysql cannot be connected. you can search for a solution through the internet and find the following methods:
1. extension_dir = is inconsistent with the actual ext directory of PHP.
2. the PHP directory and ext directory were not added to the environment variable.
3. comments before extension = php_mysql.dll are not removed.
4. the Zend installation directory is inconsistent with the directory specified by Zend in php. ini.
5. copy libmySQL. dll to c: \ windows \ system32 and restart IIS.
I have tried all of them, but I still can't. Restart the server. I can't reinstall php mysql, but it's a bit crashed. However, it cannot crash. You still need to check whether Loaded Configuration File C: \ WINDOWS \ php in phpinfo () is found in an article. ini, the article mentioned php. ini problems, but I won't be php. ini, because I have already recovered. However, when I open the phpinfo () page () and see Loaded Configuration File (none), it is obviously not Loaded to php at all. ini. at this time, I thought of permissions. I quickly added the users read permission to it (if not, I can add guests), restarted iis, and OK.
So in addition to the above five, you can add another 6th:
6. check php. ini permissions and grant users (guests) read, read, and run permissions.
Environment: win2003, iis
Original article reprinted please indicate Source: http://www.maxin.cn/archives/2010/282.html
Tips (click to enter here there are a lot of websites that provide free website monitoring, I am using a foreign site, monitoring once every minute, real-time reminders, to avoid the webmaster time failure ....