Which module could not be initialized?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • thojens@gmx.de

    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

  • Lammi

    #2
    Re: Which module could not be initialized?

    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

    Comment

    • thojens@gmx.de

      #3
      Re: Which module could not be initialized?

      On 1 Jun., 11:07, Lammi <Lorenz.Lammers d...@gmail.comw rote:
      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

      Comment

      • thojens@gmx.de

        #4
        Re: Which module could not be initialized?

        On 1 Jun., 11:12, thoj...@gmx.de wrote:
        On 1 Jun., 11:07, Lammi <Lorenz.Lammers d...@gmail.comw rote:
        >
        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

        Comment

        • Lammi

          #5
          Re: Which module could not be initialized?

          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.Lammers d...@gmail.comw rote:
          >
          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

          Comment

          • thojens@gmx.de

            #6
            Re: Which module could not be initialized?

            On 1 Jun., 13:13, Lammi <Lorenz.Lammers d...@gmail.comw rote:
            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.Lammers d...@gmail.comw rote:
            >
            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\PH P\ext.

            Thorsten


            Comment

            • Lammi

              #7
              Re: Which module could not be initialized?

              On 4 Jun., 08:07, thoj...@gmx.de wrote:
              On 1 Jun., 13:13, Lammi <Lorenz.Lammers d...@gmail.comw rote:
              >
              >
              >
              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.Lammers d...@gmail.comw rote:
              >
              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\PH P\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


              Comment

              Working...