RE: [PHP] PHP MySql Extension No Loading
No, according to the documentation, it goes into the directory pointed to by PHPIniDir. My php.ini file is being read properly when Apache loads. Its just when I have the line, extension=php_mysql.dll , uncommented that I receive the error. Shaw, Chris - Accenture [EMAIL PROTECTED] 08/29/2005 2:36:34 AM I thought you had to put the php.ini in the c:\windows directory? -Original Message- From: Glen Zimmerman [mailto:[EMAIL PROTECTED] Sent: 27 August 2005 22:39 To: php-general@lists.php.net Subject: RE: [PHP] PHP MySql Extension No Loading * This e-mail has been received by the Revenue Internet e-mail service. * Yes, I have the dll in the right place (C:\php\ext), and PHPIniDir is set to C:\php where php.ini is located. I know that php.ini is being picked up, because the changes I make to the file take affect when I restart Apache. PHP is loading properly as the php function, phpinfo, does display the proper information page when I run a test. I just cannot get php_mysql.dll to load. I have gone through the PHP installation documentation several times, but it has not made a difference. I just don't know what I have over looked. This message has been delivered to the Internet by the Revenue Internet e-mail service *
Re: [PHP] PHP MySql Extension No Loading
Thanks, Jasper, that seems to have done the trick. I'm not sure I understand why it is necessary to put the dll in system32, since there is an environment variable for the path that is pointing to c:\php. I would seem that it would pick up the dll through this env variable. Jasper Bryant-Greene[EMAIL PROTECTED] 08/29/2005 2:56:05 AM Shaw, Chris - Accenture wrote: I thought you had to put the php.ini in the c:\windows directory? Please don't top-post. He said that when he changes the php.ini file the changes take effect after restarting Apache, so that's not the problem. See my other comments below. -Original Message- From: Glen Zimmerman [mailto:[EMAIL PROTECTED] Sent: 27 August 2005 22:39 To: php-general@lists.php.net Subject: RE: [PHP] PHP MySql Extension No Loading Yes, I have the dll in the right place (C:\php\ext), and PHPIniDir is set to C:\php where php.ini is located. I know that php.ini is being picked up, because the changes I make to the file take affect when I restart Apache. PHP is loading properly as the php function, phpinfo, does display the proper information page when I run a test. I just cannot get php_mysql.dll to load. Have you placed the MySQL client library (libmysql.dll or something similar) into c:\windows\system32 ? -- Jasper Bryant-Greene Freelance web developer http://jasper.bryant-greene.name/ If you find my advice useful, please consider donating to a poor student! You can choose whatever amount you think my advice was worth to you. http://tinyurl.com/7oa5s -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP MySql Extension No Loading
Yes, I have the dll in the right place (C:\php\ext), and PHPIniDir is set to C:\php where php.ini is located. I know that php.ini is being picked up, because the changes I make to the file take affect when I restart Apache. PHP is loading properly as the php function, phpinfo, does display the proper information page when I run a test. I just cannot get php_mysql.dll to load. I have gone through the PHP installation documentation several times, but it has not made a difference. I just don't know what I have over looked.
[PHP] PHP MySql Extension No Loading
I am setting up Apache 2.0.54 with PHP 5.0.4 on a Windows 2000 work station running MySQL 4.1.12a-nt. When I start Apache, I receive the error message, "PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mysql.dll'. I have C:\PHP set in the environment variable path. In the php.ini file I have the following set(I have tried it with both the final "\" included and excluded): extension_dir = "C:\PHP\ext\" I do not get an error when I try to load the php_oci8.dll. Just for php_mysql.dll. What am I missing?