Re: Can't get MySQL extensions to load

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a similar issue.  We copied a PHP installation that was
successful on Windows 2000 to a 2003 server.  Although it works fine on
2000, it won't load any of the extensions on 2003.  I've checked the
.ini file and the extensions are definitely uncommented, the
extension_dir setting is correct, I've included c:\php in the path.  PHP
works (as phpinfo() runs) but extensions don't load.  A couple of things
I've noted that are different on this server (in case it's related):

- if I use cgi-win.exe, php pages won't load so have to use
phpisapi5.dll
- in phpinfo, the ini file path shows as C:\Windows instead of c:\php
even though there is no php.ini file in that folder

Can anyone help??


Regards,

Bruce

>>> "Patrick Farley" <patrick@xxxxxxxxxx> 9/12/2007 6:11:58 p.m. >>>
Evening.

 

I've installed the latest PHP using the zip files (not the installer)
to my
Windows 2003 machine with IIS.  I have tested the installation with a
phpinfo() and was successful.  I installed Roundcube and when trying
to
connect to the site was greeted with an error about being unable to
connect
to the database.  I rechecked my connection string and all seemed
well.
Figuring I'd come back to it later, I went to install Joomla and during
the
install process was told that Joomla is unable to connect to MySQL.

 

I have checked and rechecked my php.ini file (though I may be missing
something not obvious)

PHP in general works.

My system PATH is configured for C:\php and I have restarted several
times

I've even redownloaded the php zip files and compared the md5 to make
sure
it was not corrupt.

MySQL is active and working on localhost for an email server without
any
issue.

Have tried both mysql.dll and mysqli.dll

I have searched Google with out any success.

 

Is this something with PHP or my MySQL install?  I'm out of ideas.

 

 

 

Patrick

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux