PHP not connecting to MySQL?

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

    PHP not connecting to MySQL?

    Hello,

    I installed Apache 2.0.55, PHP 5.1.1, and MySQL 5.0.17 (in that
    order, on Windows XP). I have managed to get Apache and PHP working
    right, and MySQL by itself seems ok too. However, when I try to do any
    MySQL command within PHP, it just does nothing. No success, no error.
    I tried uncommenting the line "extension=php_ mysql.dll", but when I
    restart Apache it tells me "PHP Startup: Unable to load dynamic library
    php_mysql.dll - The specified module could not be found.". No matter
    where I copy the file so that it can find it. No matter what I put in
    "extension_dir" .
    What's wrong? Many thanks in advance.

    Diego

  • leonardo.calado@lscalado.com

    #2
    Re: PHP not connecting to MySQL?

    Hi, your need put any .dll files in windows system folder, the best
    method your make this.

    Put the C:\PHP in "Environmen t Variables", to you todo this follow this
    steps:

    WindowsXP:Start > (Right Click) My Computer > Advanced > Environment
    Variables > System Variables > Path.

    Add ";" and the path to PHP, example: C:\PHP.

    Restart the windows an try start apache.

    If error appear again, try download a zip package of PHP distribution.

    Comment

    Working...