473,405 Members | 2,310 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

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 3119
On May 28, 3:16 am, stryfedll <stryfe...@gmail.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*******@gmail.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.uk :: 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.spamtrapexample.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...@gmail.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.uk ::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...@the.spamtrapexample.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.spamtrapexample.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
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...
1
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...
5
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...
7
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...
8
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 -------------------------------------------------------------------------------- ...
1
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,...
1
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 ...
2
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...
9
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.