473,585 Members | 2,512 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

cannot load mysql extension

I posted this to the sourceforge phpMyAdmin ng, but there was a comment
that it was properly a php question, so I'm posting it here.

I'm on Windows XP, and have just installed Apache, php 5, and
phpMyadmin from zipped binaries. The only thing irregular thing I’m
conscious of doing is unpack phpMyadmin, files and directories,
directly into \Apache2\htdocs , because that was the only place I knew I
could reach with the <http://localhost> syntax. The phpMyadmin book I’m
using focuses on domains, and not local file-based installations, so
I’m floundering a bit here.

I believe I have php flying, because I can use Firefox to browse to
http://localhost/phpinfo.php and see the HTML-like display in the
browser. I created a little echo-the-date .php and put it in
\Apache2\htdocs , it renders the date in Firefox properly. The
_SERVER["SERVER_SOFTWAR E"] entry reported by phpinfo is “Apache/2.0.52
(Win32) PHP/5.0.2.”

I have uncommented extension=php_m ysql.dll in php.ini, and set
extension_dir to "c:\php5\ex t". I copied libmysql.dll and php_mysql.dll
to ..\system32. In fact, I have nine copies of libmysql.dll in six
different file sizes on my system. (Could that be the problem-battling
DLLs?)

Per page 18 of Jason Gilmore’s “Beginning PHP 5 and MySQL,” I added
“index.php” to httpd.conf’s DirectoryIndex entry.

However, when I attempt to browse to <http://localhost/index.php>,
which is the configuration test for phpMyadmin, I get the dread--
cannot load mysql extension,
please check PHP Configuration
Documentation

I imagine this is some little thing in my.ini, httpd.conf, or php.ini.
Any suggestions?

Jul 17 '05 #1
1 3282
Kevin wrote:
I posted this to the sourceforge phpMyAdmin ng, but there was a
comment that it was properly a php question, so I'm posting it here.

I'm on Windows XP, and have just installed Apache, php 5, and
phpMyadmin from zipped binaries. The only thing irregular thing I’m
conscious of doing is unpack phpMyadmin, files and directories,
directly into \Apache2\htdocs , because that was the only place I knew
I could reach with the <http://localhost> syntax. The phpMyadmin book
I’m using focuses on domains, and not local file-based installations,
so I’m floundering a bit here.

I believe I have php flying, because I can use Firefox to browse to
http://localhost/phpinfo.php and see the HTML-like display in the
browser. I created a little echo-the-date .php and put it in
\Apache2\htdocs , it renders the date in Firefox properly. The
_SERVER["SERVER_SOFTWAR E"] entry reported by phpinfo is “Apache/2.0.52
(Win32) PHP/5.0.2.”

I have uncommented extension=php_m ysql.dll in php.ini, and set
extension_dir to "c:\php5\ex t". I copied libmysql.dll and
php_mysql.dll to ..\system32. In fact, I have nine copies of
libmysql.dll in six different file sizes on my system. (Could that be
the problem-battling DLLs?)

Per page 18 of Jason Gilmore’s “Beginning PHP 5 and MySQL,” I added
“index.php” to httpd.conf’s DirectoryIndex entry.

However, when I attempt to browse to <http://localhost/index.php>,
which is the configuration test for phpMyadmin, I get the dread--
cannot load mysql extension,
please check PHP Configuration
Documentation

I imagine this is some little thing in my.ini, httpd.conf, or php.ini.
Any suggestions?


Added php5 to my path. That did it.
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
6820
by: Glenn | last post by:
I've RTFM'd and searched google and Zend and still am having a problem loading php_mssql.dll. First, background: I'm using PHP Version 4.3.10 Apache/2.0.52 MySQL Server 4.1 Windows 2000 Professional OS
1
2572
by: Pivo Pijem | last post by:
Hey! I have a problem loading (transforming) XML file using DOM XML extension on OpenVMS (alpha). I have installed libxml2, mysql, apache,... following steps described here (http://www.pi-net.dyndns.org/anonymous/kits/) All I want to do is:
8
5460
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- Hello, I have a very simple problem but cannot seem to figure it out. I have a very simple php script that sends a test email to myself. When I...
1
6255
by: lithne | last post by:
Hi, when I try to open phpMyAdmin administration page I got this error: 'Cannot load mysql extension, please check your PHP configuration' I cannot sort out what's the source of the problem, cause: 1. In the php.ini file I commented out the line 'extension=php_mysql.dll' and properly set the path to extension directory: extension_dir =...
1
5720
by: David C. allen | last post by:
I have created a simple Client-side SOAP Extension for a webclass that I have. When I apply the extension attribute to the the calling function in the proxy class I get an error 'Value cannot be null'. When the extension attribute is not applied it runs fine. The wierd thing is that it does not appear to be an error within the SOAP extension...
1
6103
by: marknewbery | last post by:
Hi, I have been trying to get a php, mySQL install to work and talk together on Windows XP SP2 with IIS. So far I installed and received a responce from php(V5 - manual install) though the <?php phpinfo(); ?> command which prints out the current settings of the php install. I then installed mySQL complete setup (V5) and ran the server...
5
2342
by: php-newbe | last post by:
I can conntect to mySQL thouth the mySQL monitor, but I cannot access it thorugh php script. After PHP5 installation I had uncommented "extention_php_mysql.dll" in php.ini file. I copied libmysql.dll from MySQL installation file to php directory overriding the pre-installed file. I also Edit the PATH in the system path = ;c:/php I still...
1
2841
by: edfialk | last post by:
Hi all, I'm desperately trying to get a simple mysql connection working in php 4.3.9 and I think I have a doozy for you guys. First of all, I didn't set up ANY of this system, I'm just working with it. So, on Redhat, we have two versions of PHP - Apache uses 4.3.9, there's also a 4.4.2 that is default from command-line. 4.3.9 was...
0
1359
by: John Oliver | last post by:
Fedora Core 2 server with httpd-2.0.54-10.2 php-4.3.10-2.4 php-mysql-4.3.10-2.4 It had MySQL 3.23.58.something on it, but the PHP websites were using a 4.something MySQL on another machine. I updated the MySQL on this machine to mysql-4.1.20-1.FC4.1 and now no PHP sites come up. But mysql.so is right where it's always been: # ls -l...
0
8334
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7947
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6596
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5707
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5386
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3831
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3856
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1444
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1171
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.