Operating Environment
apache2.2.22
php5.4
When you configure PHP to open the MySQL module, the two lines of code are commented directly as follows
[Plain] Extension=php_mysql.dll
Extension=php_mysqli.dll
Then restart Apache, the results pop-up prompt box "Phpstartup"
Then check that the value of Extension_dir is
Extension_dir = "ext"
This value cannot be read directly under Windows, and now attempts to change it to
[Plain] Extension_dir = "./ext"
Restart Apache, error is still the same, simply pound, instead of the absolute path to see!
[Plain] Extension_dir = "D:/www/php54/ext"
Restart Apache, everything OK
Analysis, in fact, we are in use when the PHP configuration file has commented that Windows only need to set this directory to "ext" can, but no, the absolute path is no problem
From the column of the acquired Rain Street
From
http://www.bkjia.com/PHPjc/478331.html www.bkjia.com true http://www.bkjia.com/PHPjc/478331.html techarticle Run Environment apache2.2.22 php5.4 when configuring PHP to open MySQL module, the two lines of code are commented directly as follows [plain] Extension=php_mysql.dll Extension=php_mysqli.dll Then restart the APA ...