Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   IT / Communications (http://www.chiefdelphi.com/forums/forumdisplay.php?f=85)
-   -   Speaking of PHP 5... (http://www.chiefdelphi.com/forums/showthread.php?t=29808)

Ryan M. 30-07-2004 15:02

Speaking of PHP 5...
 
Well, the title is in reference to the openFIRST thing about compatibility.

Anyway, my real question is: I have it set up (PHP 5) to supposedly load the php_mysql extension. However, when PHP is loaded, (it's configured as a module for Apache 2) it gives me a "unable to load php_mysql.dll" error.

Any ideas about what this might be/an example of loading MySQL as an extension to PHP would be appreciated. :)

Venkatesh 30-07-2004 15:09

Re: Speaking of PHP 5...
 
Hello,

I had enough trouble with the same problem early on (with PHP5b1). One thing that I had forgotten to do was to place libmysql.dll and libdb.dll in the Windows System (or system32, based on OS) directory.

Another thing to make sure is that php.ini (in the windows or winnt directory) has the MySQL extension enabled. By default, it is commented out.

Finally, try running Apache in console mode, as opposed to service mode. You will see dialogs when (and if) PHP can't find files or dlls.

Good luck

Ryan M. 30-07-2004 15:26

Re: Speaking of PHP 5...
 
Thanks to Vankatesh. Got it working... :D

Timothy D. Ginn 01-08-2004 16:46

Re: Speaking of PHP 5...
 
Quote:

Originally Posted by Ryan Morehart
Thanks to Vankatesh. Got it working... :D

Congratulations,

Just a heads up, if you're having issues with anything now that you've moved to PHP 5 this is worth a read:

http://www.php.net/migration5


All times are GMT -5. The time now is 06:30.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi