logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: configuring of Apache 2.2.4, 5.2.3 php, and 5.0 Mysql
Author
databaser3636



Joined: 17 Jun 2007
Posts: 2

PostPosted: Sun 17 Jun '07 18:07    Post subject: configuring of Apache 2.2.4, 5.2.3 php, and 5.0 Mysql Reply with quote

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

PostPosted: Mon 18 Jun '07 4:26    Post subject: Reply with quote

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

PostPosted: Mon 18 Jun '07 15:49    Post subject: configuring php 5.2 to with MYSQL 5.0 Reply with quote

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


Reply to topic   Topic: configuring of Apache 2.2.4, 5.2.3 php, and 5.0 Mysql View previous topic :: View next topic
Post new topic   Forum Index -> Other Software