Running Environment
Apache2.2.22
Php5.4
When configuring php to open the mysql module, the following two lines of code are directly commented out:
[Plain] extension = php_mysql.dll
Extension = php_mysqli.dll
Restart apache. The prompt box [phpstartup] appears]
Then check that the value of extension_dir is
Extension_dir = "ext"
This value cannot be directly read in windows. Now try to change it
[Plain] extension_dir = "./ext"
Restart apache, and the error is still the same. Let's just change it to an absolute path!
[Plain] extension_dir = "D:/www/php54/ext"
Restart apache. Everything is OK.
Analysis, in fact, when we are using the php configuration file, there is a comment saying that in windows, we only need to set this directory to "ext", but no, it's okay to change it to an absolute path.
From the column next to Tian Yu Street
From