Unable to load dynamic library "C:/PHP/ext/php_mysql.dll" and Unable to load dynamic libra
Unable to load dynamic library "C:/PHP/ext/php_mysql.dll" and Unable to load dynamic libra
am 11.07.2007 23:13:27 von GOman
------_=_NextPart_001_01C7C400.53B366C4
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Stut,
=20
I found your e-mail address while looking through various PHP\MYSQL
connect messages at PHP.net and hoped you could help me or direct me to
someone who can. I have been struggling to get MySQL modules working
with PHP 5 and have completed the following:
=20
1.) Uncommented the php_mysql.dll & php_mysqli.dll extensions in the
php.ini file.
2.) Set the extension_dir =3D C: \PHP\ext in the php.ini and set the
php_mysql.dll (5-31-2007), php_mysqli.dll (5-31-2007), & libmysql.dll
(10-22-2006) in this directory. Libmysql.dll also resides under the
Windows directory and is a copied file.
3.) Set an environment variable for the PATH to C:\Program
Files\PHP& C:\Program Files\PHP\ext. PHPRC variable to C:\Program
Files\PHP\
4.) Ran Dependency Walker against the php.exe and found all required
...dlls to be present.
5.) Ran phpinfo and find no reference to MySQL within it.=20
6.) PHP Version 5.2.3, MySQL Version 5.1.11(Community), Apache
Version 2.2.4
7.) Display_errors & Display_startup_errors=3D ON in php.ini.
=20
=20
Any assistance you can offer would be greatly appreciated.
=20
=20
=20
Gregg Oman
=20
System Admin.
=20
Dwyer Instruments Inc.
=20
(219) 879-8868 x-331
=20
goman@dwyermail.com
------_=_NextPart_001_01C7C400.53B366C4--
Re: Unable to load dynamic library "C:/PHP/ext/php_mysql.dll" and Unable to load dynamic l
am 12.07.2007 00:18:05 von Niel Archer
Hi
Why do you have a "C:\PHP\" and a "C:\Program Files\PHP\" directories?
It really should be one or the other.
The date on the libmysql.dll should be the same as the other two dlls as
they are part of the same PHP install. I would leave it in the PHP base
directory too.
Check the extension_dir listed by phpinfo() to be sure it's using the
one you think it is.
--
Niel Archer
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Unable to load dynamic library "C:/PHP/ext/php_mysql.dll" andUnable to load dynamic li
am 12.07.2007 09:27:07 von Stut
Oman, Gregg wrote:
> 1.) Uncommented the php_mysql.dll & php_mysqli.dll extensions in the
> php.ini file.
>
> 2.) Set the extension_dir = C: \PHP\ext in the php.ini and set the
> php_mysql.dll (5-31-2007), php_mysqli.dll (5-31-2007), & libmysql.dll
> (10-22-2006) in this directory. Libmysql.dll also resides under the
> Windows directory and is a copied file.
>
> 3.) Set an environment variable for the PATH to C:\Program
> Files\PHP& C:\Program Files\PHP\ext. PHPRC variable to C:\Program Files\PHP\
>
> 4.) Ran Dependency Walker against the php.exe and found all required
> .dlls to be present.
>
> 5.) Ran phpinfo and find no reference to MySQL within it.
>
> 6.) PHP Version 5.2.3, MySQL Version 5.1.11(Community), Apache
> Version 2.2.4
>
> 7.) Display_errors & Display_startup_errors= ON in php.ini.
Are you sure you edited the right php.ini? Check the output from phpinfo
for where it's expecting to find it. Also you make no mention of
restarting Apache after you modified the ini file.
-Stut
--
http://stut.net/
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Unable to load dynamic library "C:/PHP/ext/php_mysql.dll" and Unable to load dynamic l
am 14.01.2008 14:33:48 von Jayme Jeffman Filho
I am facing a similar problem. I am running PHP 5.2.5 as an
module of Apache 2.2.4 on a Windows 2003 Server.
I have used the phpinfo() function to check the system.
PHP is working but the dynamic modules are not been
loaded.
Is there any known issue about Windows 2003 Server?
The dll files are just in the folder PHP says it is unable
to load.
TIA.
Jayme.
""Oman, Gregg"" escreveu na mensagem
news:0AAE1BB82EE9B049AC1A1BCC3FB338E6780453@exchange2.dwyerm c.dwyermail.com...
Stut,
I found your e-mail address while looking through various PHP\MYSQL
connect messages at PHP.net and hoped you could help me or direct me to
someone who can. I have been struggling to get MySQL modules working
with PHP 5 and have completed the following:
1.) Uncommented the php_mysql.dll & php_mysqli.dll extensions in the
php.ini file.
2.) Set the extension_dir = C: \PHP\ext in the php.ini and set the
php_mysql.dll (5-31-2007), php_mysqli.dll (5-31-2007), & libmysql.dll
(10-22-2006) in this directory. Libmysql.dll also resides under the
Windows directory and is a copied file.
3.) Set an environment variable for the PATH to C:\Program
Files\PHP& C:\Program Files\PHP\ext. PHPRC variable to C:\Program
Files\PHP\
4.) Ran Dependency Walker against the php.exe and found all required
....dlls to be present.
5.) Ran phpinfo and find no reference to MySQL within it.
6.) PHP Version 5.2.3, MySQL Version 5.1.11(Community), Apache
Version 2.2.4
7.) Display_errors & Display_startup_errors= ON in php.ini.
Any assistance you can offer would be greatly appreciated.
Gregg Oman
System Admin.
Dwyer Instruments Inc.
(219) 879-8868 x-331
goman@dwyermail.com
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Unable to load dynamic library "C:/PHP/ext/php_mysql.dll" and Unable to load dynamic l
am 18.01.2008 21:13:14 von Jayme Jeffman Filho
Hello,
I've accepted your suggestion and I've put a copy of the
extension dlls I was trying to load dynamicaly. It didn't
work out though. I am still getting the same message of
file not found.
I think the only way is to uninstall the Apache software
and restart from the begining.
Do you know how can I found all the Apache entries
in the Windows registry ? I've deleted some folders
manualy, without using the unistall feature and now I
don't know where the Apache Monitor is taking the
informatio to show the old versions of Apache which
I do not have any more.
TIA
Jayme.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php