By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,986 Members | 2,030 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,986 IT Pros & Developers. It's quick & easy.

Cannot load php_mysql.dll extension

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.