Get an error loading extensions.
| From: | Dale | Date: | Tue, 07 Jun 2005 07:08:51 +0000 |
| Subject: | Get an error loading extensions. | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-16219@lists.php.net to get a copy of this message | ||
Hi,
Running Microsoft Windows XP Home Edition version 2002 SP2
Installed Apache 2.0.54
downloaded PHP 5.0.4 into directory c:\php-5.0.4-Win32
Started Apache, no problems.
renamed php.ini.recommended to php.ini.
modified env var PATH to include c:\php-5.0.4-Win32
added the following to http.conf
LoadModule php5_module "c:/php-5.0.4-Win32/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php-5.0.4-Win32"
restart Apache and it executes scripts correctly
in php.ini I modified extension_dir = "c:\php-5.0.4-Win32\ext\"
uncommented extension = php_mysql.dll
restart Apache and get this Warning
PHP Startup: Unable to load dynamic library 'C:/php-5.0.4-Win32/ext/php_mysql.dll' - The specified module could not be found
I've tried every kind of '/' and '\' no luck. The dll files are indeed in the c:\php-5.0.4-Win32\ext\ directory. I even tried reinstalling to c:\php5 directory and it still doesn't work. The scripts run but fail on the line mysql_pconnect(...).
Any idea what I'm doing wrong?
Thanks,
Dale.