Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- PHP not connecting to MySQL?
December 19, 2005, 10:34 pm
rate this thread
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
What's wrong? Many thanks in advance.
December 20, 2005, 12:21 am
Re: PHP not connecting to MySQL?
method your make this.
Put the C:\PHP in "Environment Variables", to you todo this follow this
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.
- » how to create list of people with Yes/No radio buttons for each, then process form
- — Previous thread in » PHP Scripting Forum