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: configuring of Apache 2.2.4, 5.2.3 php, and 5.0 Mysql |
|
Author |
|
databaser3636
Joined: 17 Jun 2007 Posts: 2
|
Posted: Sun 17 Jun '07 18:07 Post subject: configuring of Apache 2.2.4, 5.2.3 php, and 5.0 Mysql |
|
|
Hello, I was trying to see if anyone can help figure out why my the version of php does not work with Mysql. The php works find with the Apache server.
I have configured everything right by during the following:
changed extension_dir to the correct path, removed the ; from extension=php_mysql, and put a copy of libmysql.dll in my Windows directory. When I test mysql, i receive a fata error which basically explains to me that i am calling an undefined function mysql_connect(). |
|
Back to top |
|
tdonovan Moderator
Joined: 17 Dec 2005 Posts: 611 Location: Milford, MA, USA
|
Posted: Mon 18 Jun '07 4:26 Post subject: |
|
|
Maybe PHP is using the wrong libmysql.dll.
Rather than copying libmysql.dll into your Windows directory, try using the LoadFile directive.
This post in the 'How-to's & Documentation & Tips' forum gives an example.
-tom- |
|
Back to top |
|
databaser3636
Joined: 17 Jun 2007 Posts: 2
|
Posted: Mon 18 Jun '07 15:49 Post subject: configuring php 5.2 to with MYSQL 5.0 |
|
|
I tried using the following code in the Apache httpd file to coreect my problemLoadFile "C:/MySQL/bin/libmysql.dll"
LoadModule php5_module "C:/PHP/php5apache2_2.dll"
but the apache will give an error saying that it can't find it but
when i take it the server gives no errors |
|
Back to top |
|
|
|
|
|
|