PHP page Blank Unable to load MySQL solution _php Tutorial

Source: Internet
Author: User
Tags php mysql phpinfo blank page
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. ...

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.