By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,994 Members | 2,036 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,994 IT Pros & Developers. It's quick & easy.

Which module could not be initialized?

P: n/a
Hi,

we're running Apache 2.2 + PHP 5.2.1 on Windows 2003. When booting the
server, we get several message boxes saying the following:

Warning
Unknown(): (null): Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=1
PHP compiled with module API=20020429, debug=0, thread-safety=1
These options need to match

I do not know if these messages have appeared since we first installed
PHP or if they're new. We did not change the Apache or PHP
installation after their initial installs.

What module could be causing these Errors? PHP works, phpinfo() shows
me all extensions I specified in php.ini, plus some more. phpMyAdmin
(the only reason why we're running PHP) works as well. phpinfo() shows
this information about the API version:

PHP API 20041225
PHP Extension 20060613

Note that "PHP API" does not match what the message box says! All
modules come from the same PHP windows package as the rest of the PHP
installation, no 3rd party modules.

Any idea what could be causing these messages?

Thanks,
Thorsten

Jun 1 '07 #1
Share this Question
Share on Google+
6 Replies


P: n/a
hi,

is mysql in use? if so, which version?
if mysql isn't in use, try disabling "php_mysql.dll" in your php.ini.

regards

Jun 1 '07 #2

P: n/a
On 1 Jun., 11:07, Lammi <Lorenz.Lammersd...@gmail.comwrote:
hi,

is mysql in use? if so, which version?
if mysql isn't in use, try disabling "php_mysql.dll" in your php.ini.
MySQL is installed and is in use. Actually, MySQL is why we installed
phpMyAdmin, which is why we installed PHP in the first place.

Thorsten

Jun 1 '07 #3

P: n/a
On 1 Jun., 11:12, thoj...@gmx.de wrote:
On 1 Jun., 11:07, Lammi <Lorenz.Lammersd...@gmail.comwrote:
is mysql in use? if so, which version?
if mysql isn't in use, try disabling "php_mysql.dll" in your php.ini.

MySQL is installed and is in use. Actually, MySQL is why we installed
phpMyAdmin, which is why we installed PHP in the first place.
I'm sorry, forgot about the version: MySQL 4.1.21-community-nt.

Thorsten

Jun 1 '07 #4

P: n/a
On 1 Jun., 11:14, thoj...@gmx.de wrote:
On 1 Jun., 11:12, thoj...@gmx.de wrote:
On 1 Jun., 11:07, Lammi <Lorenz.Lammersd...@gmail.comwrote:
is mysql in use? if so, which version?
if mysql isn't in use, try disabling "php_mysql.dll" in your php.ini.
MySQL is installed and is in use. Actually, MySQL is why we installed
phpMyAdmin, which is why we installed PHP in the first place.

I'm sorry, forgot about the version: MySQL 4.1.21-community-nt.

Thorsten

does phpmyadmin work?

check for different version of php_mysql-dll. usualy there are two,
one that is part of the mysql-package and one that comes with php
itself. you should use the one from the php package.

regards

Jun 1 '07 #5

P: n/a
On 1 Jun., 13:13, Lammi <Lorenz.Lammersd...@gmail.comwrote:
On 1 Jun., 11:14, thoj...@gmx.de wrote:
On 1 Jun., 11:12, thoj...@gmx.de wrote:
On 1 Jun., 11:07, Lammi <Lorenz.Lammersd...@gmail.comwrote:
is mysql in use? if so, which version?
if mysql isn't in use, try disabling "php_mysql.dll" in your php.ini.
MySQL is installed and is in use. Actually, MySQL is why we installed
phpMyAdmin, which is why we installed PHP in the first place.
I'm sorry, forgot about the version: MySQL 4.1.21-community-nt.
Thorsten

does phpmyadmin work?
It does everything we ever needed it to do (import, queries, display
of tables, databases, etc.), so I guess it works.
check for different version of php_mysql-dll. usualy there are two,
one that is part of the mysql-package and one that comes with php
itself. you should use the one from the php package.
There is only one php_mysql.dll, in C:\Programme\PHP\ext.

Thorsten
Jun 4 '07 #6

P: n/a
On 4 Jun., 08:07, thoj...@gmx.de wrote:
On 1 Jun., 13:13, Lammi <Lorenz.Lammersd...@gmail.comwrote:
On 1 Jun., 11:14, thoj...@gmx.de wrote:
On 1 Jun., 11:12, thoj...@gmx.de wrote:
On 1 Jun., 11:07, Lammi <Lorenz.Lammersd...@gmail.comwrote:
is mysql in use? if so, which version?
if mysql isn't in use, try disabling "php_mysql.dll" in your php.ini.
MySQL is installed and is in use. Actually, MySQL is why we installed
phpMyAdmin, which is why we installed PHP in the first place.
I'm sorry, forgot about the version: MySQL 4.1.21-community-nt.
Thorsten
does phpmyadmin work?

It does everything we ever needed it to do (import, queries, display
of tables, databases, etc.), so I guess it works.
check for different version of php_mysql-dll. usualy there are two,
one that is part of the mysql-package and one that comes with php
itself. you should use the one from the php package.

There is only one php_mysql.dll, in C:\Programme\PHP\ext.

Thorsten
ok, in this case it must be a different module, a very old one.
a module compiled in 2002 is definitly a php4.xx-modul. does it come
with your php5-package?
if you want to find out wich module doesn't work, you have to
deactivate every one by one and restart apache for every single
module.
on windows, you may also check the properties of all extensions, and
look for the "Created" date. it must be 04/29/2002.
or ignore that warning :-)

regards
Jun 4 '07 #7

This discussion thread is closed

Replies have been disabled for this discussion.