User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 402,877 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,028 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 71960 | Replies: 35
Reply
Join Date: Oct 2004
Posts: 2
Reputation: jalleyne is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
jalleyne jalleyne is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

  #11  
Oct 6th, 2004
hi, i recently had the same issue as u guys and after using your solutions i now have another problem.

i am running php 5.0.2, apache 2.0.52 on windows XP SP2.

whenever i try to parse .php files from my server the apache server crashes (Apache HTTP Server has encountered a problem and needs to close. We are sorry for the inconvenience.) . if i comma out (disable) mysql entension in php.ini from loading then that fixes the crash but now i cant use mySQL.

any sugestion would be appreciated.. thanks allot
Reply With Quote  
Join Date: Oct 2004
Posts: 2
Reputation: jalleyne is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
jalleyne jalleyne is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

  #12  
Oct 6th, 2004
ok the problem was the wrong libmysql.dll files.. so what i did was copied the original from the php .zip and places them info to system and system32 folders along with the ext and php root..
Reply With Quote  
Join Date: Dec 2004
Posts: 2
Reputation: aaroneast1 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
aaroneast1 aaroneast1 is offline Offline
Newbie Poster

Solution Re: php5 and phpmyadmin??

  #13  
Dec 19th, 2004
I installed php 4 ages ago and never had any problems using MYSQL. I am running windows 2000 and mysql 4.22 with apache 2. This is what I did - I downloaded the windows installer.exe for PHP5 from www.php.net. I installed it but it didn't have any of the extensions for mysql.

All you need to do to sort this out is:

1. go into your mysql\bin folder and copy libmySQL.dll into your winnt\system & winnt\system32

2. Download php-5.0.3-Win32.zip from www.php.net (this has all the extensions 'php_mysql.dll')

3. Copy the php_mysql.dll into your php folder

4. Go into the php.ini file in your winnt folder and uncomment extension=php_mysql.dll (make sure your extension_dir in php.ini is pointing to where you put these .dll files).

Hope this helps!!
Reply With Quote  
Join Date: Jan 2005
Posts: 3
Reputation: Shinitenshi is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Shinitenshi Shinitenshi is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

  #14  
Jan 12th, 2005
OK I love you guys <3 i got the problem fixed! am using:

phpMyAdmin 2.6.1-rc2
With PHP5 and when i log into mysql it gives me this error on the bottom.

The mbstring PHP extension was not found and you seem to be using multibyte charset. Without mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results.
Reply With Quote  
Join Date: Dec 2004
Posts: 2
Reputation: aaroneast1 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
aaroneast1 aaroneast1 is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

  #15  
Jan 12th, 2005
When you installed PHP5 did you follow the steps I left in the previous message? What platform are you running PHP5 on?
Reply With Quote  
Join Date: Jan 2005
Posts: 3
Reputation: Shinitenshi is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Shinitenshi Shinitenshi is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

  #16  
Jan 12th, 2005
Am running
Windows Server 2003 Enterprise Edition
Reply With Quote  
Join Date: Jan 2005
Posts: 3
Reputation: Shinitenshi is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Shinitenshi Shinitenshi is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

  #17  
Jan 12th, 2005
Am running
Windows Server 2003 Enterprise Edition
Service Pack 1, v.1280

Computer info
Intel(R) Pentium(R) 4 CPU
2.66GHz
2.66 GHz, 504 MB of Ram

Running IIS6
PPHP Version 5.0.3
and asp

Am currently trying to install mysql 4.1.8 with the win install but am having that issue.

Mysql is working but it just gives me that error on phpMyAdmin
Reply With Quote  
Join Date: Jan 2005
Posts: 1
Reputation: mrgizmo is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
mrgizmo mrgizmo is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

  #18  
Jan 19th, 2005
Originally Posted by Shinitenshi
OK I love you guys <3 i got the problem fixed! am using:

phpMyAdmin 2.6.1-rc2
With PHP5 and when i log into mysql it gives me this error on the bottom.

The mbstring PHP extension was not found and you seem to be using multibyte charset. Without mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results.

Check your php.ini if you have this line "extension=php_mbstring.dll" uncommented, it must be!
Reply With Quote  
Join Date: Jan 2005
Posts: 1
Reputation: piyush aggarwal is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
piyush aggarwal piyush aggarwal is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

  #19  
Jan 30th, 2005
I was getting the same message,

cannot load MySQL extension,
please check PHP Configuration.

while trying PHP 5.0.2 with mysql on apache 1.3.x.

The following steps works as solution to this problem:

1) in php.ini modify line
extension_dir="./"
to
extension = "c:/php/ext/"

2) uncomment the line
;extension=php_mysql.dll
in php.ini by removing the ';' from the beginning.

3)copy libmysql.dll from c:\php to c:\windows

Then run apache server again.

If you have any problem you can ask me at piyush_aggarwal79@yahoo.com

bye, thank you.
Reply With Quote  
Join Date: Feb 2005
Posts: 1
Reputation: trinity is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
trinity trinity is offline Offline
Newbie Poster

Re: php5 and phpmyadmin??

  #20  
Feb 8th, 2005
Guys I have tried absolutely everything to get this to work and I'm still having the mysql extension problem. I have all of the .dll files in the right places, my php.ini file has all the right lines uncommented and I still get the error:
cannot load mysql extension,
please check PHP Configuration
Documentation

Maybe my folders aren't placed right - I have:
C:\PHP
C:\phpmyadmin
C:\mysql
Can somebody tell me what they have, is there a specific hierarchy I'm supposed to put them in?
Thanks.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 2:17 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC