Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: MySql and php not working together :( |
|
Author |
|
charlietbc
Joined: 06 Jan 2007 Posts: 1
|
Posted: Sat 06 Jan '07 16:49 Post subject: MySql and php not working together :( |
|
|
I cant get php and Mysql to work. php works fine by itself.
When ever I run a php page with mysql commands in it, it goes completly white.
I have downloaded
# mysql_info.php
# mysqli_info.php
and it tells me that:
Quote: |
php MySQL extension not loaded !!
Check in php.ini if extension=php_mysql.dll is enabled, and that the extension_dir = is pointing to your php/ext folder.
Copy libmySQL.dll from your Mysql/bin folder to c:/windows. |
and
Quote: |
php MySQL extension not loaded !!
Check in php.ini if extension=php_mysqli.dll is enabled, and that the extension_dir = is pointing to your php/ext folder. |
I have followed both instructions but the pages still tell me the same thing that 'php MySQL extension not loaded !!'
Any solutions?
Thanks,
Charlietbc |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 08 Jan '07 10:15 Post subject: |
|
|
if you run a script with
Code: |
<?php
phpinfo();
?>
|
What does it tell where your php.ini in located?
If it is C:\Windows
You may correct that to your path in httpd.conf
PHPIniDir "C:/php" |
|
Back to top |
|
|
|
|
|
|