php5 and phpmyadmin??

Reply

Join Date: Apr 2004
Posts: 759
Reputation: Killer_Typo will become famous soon enough Killer_Typo will become famous soon enough 
Solved Threads: 35
Killer_Typo's Avatar
Killer_Typo Killer_Typo is offline Offline
Master Poster

cannot load MySQL extension, please check PHP Configuration

 
0
  #1
Jun 18th, 2004
i just finished upgrading my php to php5 because i wanted to see the changes, but now my code doesnt do anything at all. like the one to connect to a database. it just gives me a blank white screen so when i went to check phpmyadmin to see if it was even submitting anything i got this error.'


"cannot load MySQL extension, please check PHP Configuration"

im pretty sure that i have installed PHP right. Does php my admin just not work with it, or is there somthing i need to do with mySQL to get it to work with php5. Thanks in advanced for any help that anyone has to offer.
Last edited by Killer_Typo; Jun 18th, 2004 at 10:41 pm. Reason: fix title name
Dont forget to spread the reputation to those that deserve!
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 759
Reputation: Killer_Typo will become famous soon enough Killer_Typo will become famous soon enough 
Solved Threads: 35
Killer_Typo's Avatar
Killer_Typo Killer_Typo is offline Offline
Master Poster

Re: php5 and phpmyadmin??

 
0
  #2
Jun 19th, 2004
To add to that, heres what happend after i followed the directions to the FRIGGIN T!!!!

i even add the line extension=php_mysql.dll the php.ini file. and when i start i get this error (when i start apache that is)

PHP Startup: Unable to load dynamic library 'C:\php\ext\php_mysql.dll' - The specified procedure could not be found

even though if you navigate there on my harddrive its there?? ugh!!
Dont forget to spread the reputation to those that deserve!
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 94
Reputation: Ragnarok is an unknown quantity at this point 
Solved Threads: 0
Ragnarok Ragnarok is offline Offline
Junior Poster in Training

Re: php5 and phpmyadmin??

 
0
  #3
Jun 19th, 2004
You do know that PHP5 doesn't have MySQL installed like PHP4 right?

PHP5 has SQLite because of licesne differences or something, however you can install it.
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 759
Reputation: Killer_Typo will become famous soon enough Killer_Typo will become famous soon enough 
Solved Threads: 35
Killer_Typo's Avatar
Killer_Typo Killer_Typo is offline Offline
Master Poster

Re: php5 and phpmyadmin??

 
0
  #4
Jun 19th, 2004
well i was able to get most of it figured out. I had to rebuild the structure of the files in PHP5 then i had to move a few files around and add a few lines to the php.ini file to get php_mysql.dll to work again.
Dont forget to spread the reputation to those that deserve!
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 3
Reputation: Xaeryth is an unknown quantity at this point 
Solved Threads: 0
Xaeryth Xaeryth is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

 
0
  #5
Jul 14th, 2004
Killer_Typo, can you please share your findings in more detail 'cause I'm having the same problem. Thanks!
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 759
Reputation: Killer_Typo will become famous soon enough Killer_Typo will become famous soon enough 
Solved Threads: 35
Killer_Typo's Avatar
Killer_Typo Killer_Typo is offline Offline
Master Poster

Re: php5 and phpmyadmin??

 
0
  #6
Jul 14th, 2004
i honestly dont remember what i did now. but since php5 is now out of alpha and up for release it should be good to install now.
Dont forget to spread the reputation to those that deserve!
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 1
Reputation: QCNic is an unknown quantity at this point 
Solved Threads: 0
QCNic QCNic is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

 
0
  #7
Jul 30th, 2004
Here's how i solve the prob :

php.ini
extension_dir = "c:\php"

copy php_mysql.dll from c:\php\ext to c:\php
copy libmysql.dll and php_mysql.dll from c:\php to %Systemroot%\system and %Systemroot%\system32

Restart Apache2

Few of thoses steps are facultative but that's what i did.

Enjoy!
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 1
Reputation: philipswood is an unknown quantity at this point 
Solved Threads: 0
philipswood philipswood is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

 
0
  #8
Jul 30th, 2004
Hi,
Had same problem.

Same as above:
copy libmysql.dll
to windows system root system/ and system32/

I left my extention module path to be
php root ext/

though

That should mess with the activation of other modules then.

Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 3
Reputation: Xaeryth is an unknown quantity at this point 
Solved Threads: 0
Xaeryth Xaeryth is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

 
0
  #9
Aug 3rd, 2004
Originally Posted by QCNic
Here's how i solve the prob :

php.ini
extension_dir = "c:\php"

copy php_mysql.dll from c:\php\ext to c:\php
copy libmysql.dll and php_mysql.dll from c:\php to %Systemroot%\system and %Systemroot%\system32

Restart Apache2

Few of thoses steps are facultative but that's what i did.

Enjoy!
Thanks for the replies. I'm really not sure why this 'still' isn't working. I have the dll files in the php\ext, php\, system\, AND system32\ folders. I have an environmental path to c:\php. It doesn't matter if I change the extension_dir to c:\php or leave it c:\php\ext. This is all I get with the latest version of phpMyAdmin.

cannot load mysql extension,
please check PHP Configuration
Documentation
I'd also like to mention that this was working 100% with php4. Any other suggestions 'cause, frankly, I'm a bit stumped on this??
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 3
Reputation: Xaeryth is an unknown quantity at this point 
Solved Threads: 0
Xaeryth Xaeryth is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

 
0
  #10
Aug 3rd, 2004
I'm an idiot. PHP5 does not have MySQL enabled by default so the ;extension=php_mysql.dll in the php.ini file needs to be uncommented. Duh! :o

Thanks, everyone, for the assistance.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC