473,763 Members | 1,882 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cannot load php_mysql.dll extension

Hello, I have installed PHP 5.2, MySQL 5.0, and Apache 2.2. Everything
works fine except the error mentioned in the subject. Here is the
error log for Apache which shows the problem...

[Mon May 28 03:11:03 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.2
configured -- resuming normal operations
[Mon May 28 03:11:03 2007] [notice] Server built: Jan 9 2007 23:17:20
[Mon May 28 03:11:03 2007] [notice] Parent: Created child process 2076
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\PHP\\ext
\\php_mysql.dll ' - Invalid access to memory location.\r\n in Unknown
on line 0
[Mon May 28 03:11:03 2007] [notice] Child 2076: Child process is
running
[Mon May 28 03:11:03 2007] [notice] Child 2076: Acquired the start
mutex.
[Mon May 28 03:11:03 2007] [notice] Child 2076: Starting 250 worker
threads.
[Mon May 28 03:11:03 2007] [notice] Child 2076: Starting thread to
listen on port 80.
[Mon May 28 03:11:12 2007] [notice] Parent: Received shutdown signal
-- Shutting down the server.
[Mon May 28 03:11:12 2007] [notice] Child 2076: Exit event signaled.
Child process is ending.
[Mon May 28 03:11:13 2007] [notice] Child 2076: Released the start
mutex
[Mon May 28 03:11:14 2007] [notice] Child 2076: Waiting for 250 worker
threads to exit.
[Mon May 28 03:11:14 2007] [notice] Child 2076: All worker threads
have exited.
[Mon May 28 03:11:14 2007] [notice] Child 2076: Child process is
exiting
[Mon May 28 03:11:14 2007] [notice] Parent: Child process exited
successfully.

May 28 '07 #1
5 3137
On May 28, 3:16 am, stryfedll <stryfe...@gmai l.comwrote:
Hello, I have installed PHP 5.2, MySQL 5.0, and Apache 2.2. Everything
works fine except the error mentioned in the subject. Here is the
error log for Apache which shows the problem...

[Mon May 28 03:11:03 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.2
configured -- resuming normal operations
[Mon May 28 03:11:03 2007] [notice] Server built: Jan 9 2007 23:17:20
[Mon May 28 03:11:03 2007] [notice] Parent: Created child process 2076
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\PHP\\ext
\\php_mysql.dll ' - Invalid access to memory location.\r\n in Unknown
on line 0
[Mon May 28 03:11:03 2007] [notice] Child 2076: Child process is
running
[Mon May 28 03:11:03 2007] [notice] Child 2076: Acquired the start
mutex.
[Mon May 28 03:11:03 2007] [notice] Child 2076: Starting 250 worker
threads.
[Mon May 28 03:11:03 2007] [notice] Child 2076: Starting thread to
listen on port 80.
[Mon May 28 03:11:12 2007] [notice] Parent: Received shutdown signal
-- Shutting down the server.
[Mon May 28 03:11:12 2007] [notice] Child 2076: Exit event signaled.
Child process is ending.
[Mon May 28 03:11:13 2007] [notice] Child 2076: Released the start
mutex
[Mon May 28 03:11:14 2007] [notice] Child 2076: Waiting for 250 worker
threads to exit.
[Mon May 28 03:11:14 2007] [notice] Child 2076: All worker threads
have exited.
[Mon May 28 03:11:14 2007] [notice] Child 2076: Child process is
exiting
[Mon May 28 03:11:14 2007] [notice] Parent: Child process exited
successfully.
Fixed. Don't know what the problem was but it took me 4 hours of
frustration.

May 28 '07 #2
On 28 May 2007 04:29:41 -0700, stryfedll <st*******@gmai l.comwrote:
>Fixed. Don't know what the problem was but it took me 4 hours of
frustration.
These sorts of problems are usually differences in the PATH environment
variable between your user environment, and that of the webserver service.

I don't suppose you rebooted in the meantime? That causes the service host
process to pick up a fresh environment, that may have had changes applied to
it.

--
Andy Hassall :: an**@andyh.co.u k :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
May 28 '07 #3
At Mon, 28 May 2007 04:29:41 -0700, stryfedll let h(is|er) monkeys type:
>
Fixed. Don't know what the problem was but it took me 4 hours of
frustration.
Isn't that a legitimate problem solving algorithm in Windopes? Check
everything, reboot a couple of times, get angry with that stupid
no-help dog or paperclip, make pseudorandom changes in appearantly
irrelevant places, work up a high bloodpressure, scream at the pc, start
believing it's a conspiracy and consider getting even with the world by
emptying a few clips of 9mm ammo at the nearest school. Decide against it
after all, give up, fire up your browser and surf to your fave pron site.
10 to 1 it's working by then, for no reason at all.

--
Schraalhans Keukenmeester - sc*********@the .spamtrapexampl e.nl
[Remove the lowercase part of Spamtrap to send me a message]

"strcmp('apples ','oranges') is -1"

May 28 '07 #4
On May 28, 2:06 pm, Andy Hassall <a...@andyh.co. ukwrote:
On 28 May 2007 04:29:41 -0700, stryfedll <stryfe...@gmai l.comwrote:
Fixed. Don't know what the problem was but it took me 4 hours of
frustration.

These sorts of problems are usually differences in the PATH environment
variable between your user environment, and that of the webserver service.

I don't suppose you rebooted in the meantime? That causes the service host
process to pick up a fresh environment, that may have had changes applied to
it.

--
Andy Hassall :: a...@andyh.co.u k ::http://www.andyh.co.ukhttp://www.and....co.uk/space:: disk and FTP usage analysis tool
I ended up just installing WAMP, then I studied why MySQL was working
with WAMP and not mine. I'm positive I set the environmental
variables. To this day I still don't know why WAMP worked but my
configuration didn't. Its... crazy. I'm sure there must be something.
In the end I saved all of WAMPs my.ini, php.ini, and httpd.conf, then
installed erased WAMP,

Then I installed PHP, MySQL, and Apache, copied over the config files,
and edited them appropriately. Then it worked. After I studied my old
config files and my new config files they are completely the same.

So I am just very curious at what the problem could have been.

May 30 '07 #5
On May 28, 2:24 pm, Schraalhans Keukenmeester
<Schraalh...@th e.spamtrapexamp le.nlwrote:
At Mon, 28 May 2007 04:29:41 -0700, stryfedll let h(is|er) monkeys type:
Fixed. Don't know what the problem was but it took me 4 hours of
frustration.

Isn't that a legitimate problem solving algorithm in Windopes? Check
everything, reboot a couple of times, get angry with that stupid
no-help dog or paperclip, make pseudorandom changes in appearantly
irrelevant places, work up a high bloodpressure, scream at the pc, start
believing it's a conspiracy and consider getting even with the world by
emptying a few clips of 9mm ammo at the nearest school. Decide against it
after all, give up, fire up your browser and surf to your fave pron site.
10 to 1 it's working by then, for no reason at all.

--
Schraalhans Keukenmeester - schraalh...@the .spamtrapexampl e.nl
[Remove the lowercase part of Spamtrap to send me a message]

"strcmp('apples ','oranges') is -1"

May 30 '07 #6

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

Similar topics

19
13291
by: Nancy | last post by:
Hi, When I start my PC(winXP Pro), it always says: Unknown(): Unable toload dynamic library './php_msql.dll' - The specified module could not be found. Then my Apache servre starts, load php module and works well. I copied php_msql.dll to my system32 directory. Who knows what's wrong? Thanks a lot?
1
3291
by: Kevin | last post by:
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>...
5
6828
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
7
18267
by: ccp999 | last post by:
I keep getting this: "PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_mysql.dll' - The specified module could not be found." when I tried to load the php_mysql.dll module when starting my Apache 2.0 in windows XP. The file, php_mysql.dll is there. why? Do I have to load this file before I can use "mysql_connect()"?
8
5479
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 debug it in PHP designer, it works with no problems, I get the test email. If
1
6268
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 = "c:\php\ext\" 2. MySQL is running
1
6112
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 instance
2
11755
by: MS | last post by:
Why do I keep getting this error mesgage on my phpinfo() page trying to get PHP and MySQL to communicate? I am running this in IIS. Here's what I have - My php.ini resides in my C:\WINNT directory. In it, I have removed the ';' from the extension=php_mysql.dll. Also in the php.ini file I set extension_dir = c:\PHP\Ext
9
4593
by: Christopher Koeber | last post by:
Hello, I am attempting to perform a PHP installation on an Apache 2.2.6 web server instance that is loaded on a Windows 2003 server operating system (R2 SP2). I have a third party application that will reside within the Apache instance that requires PHP 5.2.6 loaded with MySql support. The installation of PHP succedded without incident (it was done manually) and I can run phpinfo() to get information about the installation. However,...
0
9389
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10149
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10003
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9943
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 most users, this new feature is actually very convenient. If you want to control the update process,...
1
7370
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5410
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3918
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3529
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2797
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.