|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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. ![]() |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
||||
|
||||
|
Re: Speaking of PHP 5...
Thanks to Vankatesh. Got it working...
![]() |
|
#4
|
|||||
|
|||||
|
Re: Speaking of PHP 5...
Quote:
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 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| openFIRST PHP 5 Compatibility | Timothy D. Ginn | FIRST-related Organizations | 0 | 07-30-2004 01:45 PM |
| PHP and Wiki Error | Venkatesh | Website Design/Showcase | 2 | 07-24-2004 03:51 PM |
| PHP Question | Raven_Writer | Website Design/Showcase | 2 | 05-22-2004 06:42 PM |
| php vs. perl | Jack | Website Design/Showcase | 20 | 12-29-2002 05:01 PM |
| What's better, PERL/cgi or PHP/my_sql? | mikefrei | Programming | 10 | 05-27-2002 10:50 PM |