ID:               42613
 Comment by:       mfvivino at vivmedia dot net
 Reported By:      patrick at baynewmedia dot com
 Status:           Open
 Bug Type:         *General Issues
 Operating System: Windows XP Pro & Windows Vista
 PHP Version:      5.2.4
 New Comment:

It gets weirder for me.

I experienced tons of problems with the installer, so scrapped that
(did uninstall) and installed manually via .zip which was easy enough. I
ONLY enabled mysql, and amazingly enough, it worked!.  I ran a simple
test:

   <?php phpinfo(); ?>

which reported mysql as enabled; and I was subsequently able to install
PHP shopping cart software.  So far, so good...

Now for the fun part: after rebooting the machine, mysql is being
reported as not enabled anymore, so I checked the apache log and sure
enough, I see the same cryptic error as others have reported here:

   PHP Warning: PHP Startup: Unable to load dynamic library
'c:/php52/etx\\php_mysql.dll' - The specified module could not be found.
\r\n in Unknown on line 0.

And now of course phpinfo() shows mysql indeed is missing

I thought perhaps the reference to '\r\n' had something to do with
windows linefeeds, so I ran a dos2unix conversion on the php.ini file --
no go.  Still the same problem. 

For fun, I tried disabling mysql and enabling a different module. 
Doesn't seem to matter, get the same problem with any and all.

As others have already noted, this is extremely frustrating -- and
atypical.  I am also a very long-time PHP user and have not ever
experienced this level of difficulty with basic PHP
installation/configuration.


Previous Comments:
------------------------------------------------------------------------

[2007-10-11 23:55:53] [EMAIL PROTECTED]

During the installer you must have selected to install every extension
onto the hard disk, this in turn would have enabled all of those
extensions some of which don't work.

I'm under the impression that the extension maintainer removed the ones
that were broken, but one can still shoot themselves in the foot by
enabling everything.

Uninstall PHP and then re-install, when you do make sure you only
enable the modules that you need.

------------------------------------------------------------------------

[2007-10-11 21:38:13] patrick at baynewmedia dot com

Good to see that absolutely no progress has been made. Does anyone
actually read these bug reports or what?

[EMAIL PROTECTED]: If you'd bothered to read what I'd posted, I said I
didn't know if I needed all these extensions. They're not listed
anywhere and the default php.ini file comes with all of them enabled.
Your suggestion "How about the basic .zip file, just unpack that and try
with
it instead..? " is exactly the type of piddly suggestion I was
referring to. It's dismissive and insulting and yes, I tried that many
times.

azlan01: Good suggestion and thank you for not assuming I'm a complete
idiot. Unfortunately, that didn't make any difference. The pear
extensions also give me some trouble though somewhat less than the
default ones. I've tried disabling all of the extensions erroneously
listed in pop-ups...I say erroneously because the pop-up messages don't
match the ones on the command line when I run PHP. That's just another
problem with the latest PHP release but hardly the biggest.

So, now I have a working PHP install once I've disable all of the
erroneous DLLs (not all are problematic...anyone care to explain why?).
Unfortunately, trying to access a MySQL database has proven to be a
complete dead-end. The "libmysql.dll" file simply fails to load. Period.
I put it in Windows, Windows/system, windows/system32, the php install
directory, the php extensions directory, the c:\ drive; added PATH
directions to it...heck, I pointed the php.ini file *directly* at it
using a full path. Simply, it doesn't load. I tried a myriad version of
the file ranging from the version 4 (PHP) DLL up to the version 5 one,
also including the newest ones from MySQL.org. Still nothing. 

Please please please don't keep ignoring these problems! Maybe there's
a very good reason why I can't run PHP successfully but so far the only
suggestion has been that it's somehow my fault or that during the last
two months I've somehow overlooked the glaringly obvious. "No feedback
was provided for this bug for over a week, so it is
being suspended automatically." ... won't make it go away! Someone
please take some responsibility and look into this!

------------------------------------------------------------------------

[2007-10-08 19:33:24] parasite84 at mail dot ru

Me too!!!!!!!!!!!!!!!!

PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\mysql.so' - The specified module
could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_exif.dll' - The specified module
could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_oci8.dll' - The specified module
could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_openssl.dll' - The operating
system cannot run %1.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_pdo_oci.dll' - The specified
module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_pdo_oci8.dll' - The specified
module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_pdo_sqlite_external.dll' - The
specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_pspell.dll' - The specified
module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_sybase_ct.dll' - The specified
module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_ibm_db2.dll' - The specified
module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_ifx.dll' - The specified module
could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_ingres.dll' - The specified
module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_maxdb.dll' - The specified module
could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_mcve.dll' - The specified module
could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_netools.dll' - The specified
module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_oracle.dll' - The specified
module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_pdo_ibm.dll' - The specified
module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_pdo_informix.dll' - The specified
module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_ssh2.dll' - The operating system
cannot run %1.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_svn.dll' - The specified module
could not be found.\r\n in Unknown on line 0
PHP Notice:  Constant XML_ELEMENT_NODE already defined in Unknown on
line 0

------------------------------------------------------------------------

[2007-10-08 19:33:04] parasite84 at mail dot ru

Me too!!!!!!!!!!!!!!!!

PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\mysql.so' - The specified module
could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_exif.dll' - The specified module
could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_oci8.dll' - The specified module
could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_openssl.dll' - The operating
system cannot run %1.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_pdo_oci.dll' - The specified
module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_pdo_oci8.dll' - The specified
module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_pdo_sqlite_external.dll' - The
specified module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_pspell.dll' - The specified
module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_sybase_ct.dll' - The specified
module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_ibm_db2.dll' - The specified
module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_ifx.dll' - The specified module
could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_ingres.dll' - The specified
module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_maxdb.dll' - The specified module
could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_mcve.dll' - The specified module
could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_netools.dll' - The specified
module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_oracle.dll' - The specified
module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_pdo_ibm.dll' - The specified
module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_pdo_informix.dll' - The specified
module could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_ssh2.dll' - The operating system
cannot run %1.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\WebDev\\usr\\local\\PHP\\ext\\php_svn.dll' - The specified module
could not be found.\r\n in Unknown on line 0
PHP Notice:  Constant XML_ELEMENT_NODE already defined in Unknown on
line 0

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/42613

-- 
Edit this bug report at http://bugs.php.net/?id=42613&edit=1

Reply via email to