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: Problem with MySQL 4.1.x
Author
nebitno



Joined: 27 Jul 2006
Posts: 2

PostPosted: Thu 27 Jul '06 16:44    Post subject: Problem with MySQL 4.1.x Reply with quote

I installed Apache 2.0.58, PHP 5.1.4 and MySQL 4.1.17 on WindowsXP.

I set up complete environment and so and almost everything is fine... However, I enabled php_mysql extension, copied libmysql to %SYSTEM% dir, I can not access mysql server thru php.

To be stranger than it should:
'php -v' gives no error;
'php -i' reports that MySQL (and LDAP also) is enabled;
phpinfo() does not reports MySQL (or LDAP) enabled;

I installed Apache2, PHP5 and Mysql in the following dirs:
d:\web\webserver\apache2
d:\web\webserver\php
d:\web\webserver\mysql

Help!
Back to top
nebitno



Joined: 27 Jul 2006
Posts: 2

PostPosted: Thu 27 Jul '06 16:57    Post subject: Problem with MySQL 4.1.x - Solved Reply with quote

Sorry for bothering you, but it was my mistake:

instead of
PHPIniDir "D:/web/webserver/php"
i typed
PHPIniDir "D:\web\webserver\php\"

I forget to switch the backslashes to slashes and remove trailing (back)slash!

Silly me Embarassed

I need some sleep; that's for sure Mr. Green
Back to top


Reply to topic   Topic: Problem with MySQL 4.1.x View previous topic :: View next topic
Post new topic   Forum Index -> Other Software