PHPIniDir "C:/PHP/"
LoadModule php5_module "C:/PHP/php5apache2_2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
with the following script I can see the complete PHP configuration.
<?php
phpinfo();
?>
Afterwards I installed MySQL Server 5.1.50 and even that seems to work
fine as a stand-alone server (with an admin tool I can add databases,
tables, queries,...).
In order to use MySQL server in the web environment I removed the ";"
in the PHP.ini file for the following extensions:
extension=php_mbstring.dll
extension=php_mysql.dll
But if I use a PHP script that uses mysql server I get an error message:
"Cannot load mysql extension. Please check your PHP configuration."
Can anyone help me with this?
many thanks in advance.
what is the value of extension_dir in your PHP.INI,
and does php_mysql.dll exists in that directory ?
extension_dir="C:\PHP\ext"
--
Luuk