•
•
•
•
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
![]() |
•
•
Join Date: Oct 2004
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
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
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
•
•
Join Date: Dec 2004
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
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!!
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!!
•
•
Join Date: Jan 2005
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
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.
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.
•
•
Join Date: Jan 2005
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
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
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
•
•
Join Date: Jan 2005
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
•
•
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!
•
•
Join Date: Jan 2005
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
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.
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.
•
•
Join Date: Feb 2005
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
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.
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.
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- How to install a Debian LAMP Server (PHP)
- Gentoo vs Ubuntu (Getting Started and Choosing a Distro)
- how to hard recover pc (Techies' Lounge)
- htpasswd and htaccess config (PHP)
Other Threads in the PHP Forum
- Previous Thread: Problem with PDFLib
- Next Thread: Defferences between php 4 and php5


Linear Mode