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: php_mysql extension problems
Author
CompMan44



Joined: 13 Apr 2007
Posts: 2

PostPosted: Sat 14 Apr '07 3:59    Post subject: php_mysql extension problems Reply with quote

I've had a very strange problem crop up using PHP as an Apache2 module, trying to use the php_mysql extension. Yes, I am sure all the DLLs are in place. Yes, the PHP.INI file works perfectly. I can use the mysql extension just fine from the command line. But when I try to access it in a PHP script, it apparently is not being loaded-- in fact, none of the extension DLLs are, from what I can see. What am I doing wrong?

Details: I'm using Apache HTTPD 2.2.4, with PHP 5.2.1, MySQL 14.12 distr. 5.0.37. Anything else needed to diagnose I'll post as needed.

(I see a few other people had trouble with this extension, too... and here thought I was the only one.)
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Sun 15 Apr '07 14:00    Post subject: Reply with quote

Did you set PHPIniDir in httpd.conf ?
Did you set the right path for extension in your php.ini?

Which OS do you run?
Back to top
CompMan44



Joined: 13 Apr 2007
Posts: 2

PostPosted: Tue 17 Apr '07 23:17    Post subject: Reply with quote

Yes and yes. (I even checked this myself by writing a script to print out the value of max_execution_time, and modifying the value in PHP.INI.)

I'm running everything under Windows XP Professional.


On a side note, I just got a new hard drive and I'm installing everything fresh, so (fingers crossed) maybe it will work this time.
Back to top


Reply to topic   Topic: php_mysql extension problems View previous topic :: View next topic
Post new topic   Forum Index -> Other Software