Unable to load module

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • R

    Unable to load module

    Hi.

    I have just reintalled my computer and with that; PHP.

    But.. I keep getting the error:
    PHP Startup: Unable to load dynamic library 'C:\PHP\modules \php_mysql.dll' -
    The specified module could not be found.

    I have installed PH 5.0.2 on a XP-SP2-box with IIS.
    PHP works fine (if I uncomment the php_mysql.dll-line in
    %systemroot%\ph p.ini).

    The file IS located in the directory. -And for testing purposes I have
    copied the file to %systemroot%\sy stem32 as well, but with same result :-(

    Any suggestions?

    Thanks in advance,

    Ras


  • adam@adamcoppin.com

    #2
    Re: Unable to load module

    if everything works with the line uncommented... leave it uncommented,
    it should allow you to use all of the mysql functions... if not, check
    your php.ini entry for the extension modules entry and make sure the
    file is within the directory listed there...

    Comment

    • David Chan

      #3
      Re: Unable to load module

      I am newly download the PHP5, and mysql 4.1; and copy the few
      extensions, like php_mysql.dll into the windows folder, and uncommented
      the extension in the php.ini file. When I wrote the testiing program,
      the browser shows the following error message:

      *Fatal error*: Call to undefined function mysql_connect() in *C:\Program
      Files\Apache Group\Apache2\h tdocs\Testing.p hp* on line *14

      Can you help me for this incidence? Thanks.

      *

      David Chan



      adam@adamcoppin .com wrote:
      [color=blue]
      >if everything works with the line uncommented... leave it uncommented,
      >it should allow you to use all of the mysql functions... if not, check
      >your php.ini entry for the extension modules entry and make sure the
      >file is within the directory listed there...
      >
      >
      >[/color]

      Comment

      Working...