Hello,
I am attempting to perform a PHP installation on an Apache 2.2.6 web server
instance that is loaded on a Windows 2003 server operating system (R2 SP2).
I have a third party application that will reside within the Apache instance
that requires PHP 5.2.6 loaded with MySql support.
The installation of PHP succedded without incident (it was done manually)
and I can run phpinfo() to get information about the installation. However,
when attempting to load the php_mysql.dll extension I recieve the following
error message:
-------------
PHP Warning: PHP Startup: Unable to load dynamic library
'C:\\php\\ext\\ php_mysql.dll' - The specified module could not be found.\r\n
in Unknown on line 0
-------------
I have verified the following:
1. That I have set up the php.ini file (which resides in C:\php.
Specifically, I have set up the following as it regards to loading the
php_mysql.dll extension
- Set up the extension_dir variable: extension_dir = "C:\php\ext \"
- Uncommented the line that relates to the php_mysql.dll file"
extension=php_m ysql.dll
2. That I have set up the http.conf file for Apache:
- The following lines were added:
LoadModule php5_module "C:/php/php5apache2_2.d ll"
PHPIniDir "C:/php"
AddType application/x-httpd-php .php .php3 .htm .html
AddType application/x-httpd-php-source .phps
Is there anything else that I need to do?
Thanks for your time.
Regards,
Christopher Koeber
I am attempting to perform a PHP installation on an Apache 2.2.6 web server
instance that is loaded on a Windows 2003 server operating system (R2 SP2).
I have a third party application that will reside within the Apache instance
that requires PHP 5.2.6 loaded with MySql support.
The installation of PHP succedded without incident (it was done manually)
and I can run phpinfo() to get information about the installation. However,
when attempting to load the php_mysql.dll extension I recieve the following
error message:
-------------
PHP Warning: PHP Startup: Unable to load dynamic library
'C:\\php\\ext\\ php_mysql.dll' - The specified module could not be found.\r\n
in Unknown on line 0
-------------
I have verified the following:
1. That I have set up the php.ini file (which resides in C:\php.
Specifically, I have set up the following as it regards to loading the
php_mysql.dll extension
- Set up the extension_dir variable: extension_dir = "C:\php\ext \"
- Uncommented the line that relates to the php_mysql.dll file"
extension=php_m ysql.dll
2. That I have set up the http.conf file for Apache:
- The following lines were added:
LoadModule php5_module "C:/php/php5apache2_2.d ll"
PHPIniDir "C:/php"
AddType application/x-httpd-php .php .php3 .htm .html
AddType application/x-httpd-php-source .phps
Is there anything else that I need to do?
Thanks for your time.
Regards,
Christopher Koeber
Comment