473,396 Members | 1,771 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Which module could not be initialized?

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
6 2597
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: James S | last post by:
Hi, Basically I've been fighting with this code for a few days now and can't seem to work around this problem. Included is the output, the program I use to get this error and the source code for...
4
by: Steven T. Hatton | last post by:
I mistakenly set this to the comp.std.c++ a few days back. I don't believe it passed the moderator's veto - and I did not expect or desire anything different. But the question remains: ISO/IEC...
15
by: MLH | last post by:
In this forum, under a different subject title, I have explored the following: I want to examine each procedure in my class modules and standard modules (A97) Since the other subject title was...
0
by: kat | last post by:
Hi, I am trying to figure out how things work between an ASP.NET application and a module. I have created a simple application and a simple module that I want to interact. If I understand what...
0
by: Umut Tezduyar | last post by:
This post is related with .Net 1.1. I have written my custom module by inheriting IHttpModule. I realized that, at the first compile, framework creates the instance of my module and then caches...
9
by: Joseph Wakeling | last post by:
Hello all, I sometimes make use of global variables within modules, which I denote with "static" so that they will not be seen outside the module, and will preserve values between module calls....
5
by: Christoph Haas | last post by:
Hi, list... I wondered if it's possible to use global (module) variables as default parameters. A simple working example: ---------------------------------------- #!/usr/bin/python ...
0
by: cingals | last post by:
Hi Gentlemen, 1. I have a VB .NET dll consisting of a main module and different forms. All the blobal variables used in the different forms are declared and initialized at the top of the main...
6
by: pianomaestro | last post by:
I have an extension module that gets initialized multiple times because I am using threads. How can this module access global state (not per-thread state) ? It needs to create a singleton. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.