Find a very depressing thing, please count

Source: Internet
Author: User
I found a very depressing thing. I tried to install apache for the first time and set it according to the tutorial. but when I used phpinfo (), I found that extension_dir showed C: \ php5, ah, I am in php. in ini, it is "D: \ php \ ext". apache httpd. con finds a very depressing thing.
I installed apache for the first time and set it according to the tutorial. but when I used phpinfo (), I found that extension_dir showed C: \ php5. I am in php. in ini, it is "D: \ php \ ext". apache httpd. the phpinidir settings in the conf configuration are also "D:/PHP/". all the settings are correct. since phpinfo () can be displayed, apache and php can both run, the extension_dir error causes mysql functions to be unable to be called.
I used the win2008 64-bit system, but the software was installed with 32-bit. Originally, php parameters were set in iis. later, the above error could not be found, so I also removed the php settings in iis, but it still does not work. I have been a newbie in php. what I have been doing all the time is. net. Which of the following heroes can give me some tips?
------ Solution --------------------
1. the path is not correct (check the path writing method)

2. php. ini loads files from other locations (check whether the php. ini path in phpinfo is consistent)
------ Solution --------------------
PHPIniDir "D:/php"
------ Solution --------------------
It does not matter!
However, win2008 is very strict with application management and may encounter odd errors due to permission issues.
We recommend that you store apache, mysql, and php in a non-system directory.

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.