For Programmers: Free Programming Magazines  


Home > Archive > PHP on Windows > August 2007 > Re: [PHP-WIN] PHP, MYSQL and Apache









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-WIN] PHP, MYSQL and Apache
Keith Mervine

2007-08-07, 7:02 pm


This is from my apache error.log

[Tue Aug 07 09:53:47 2007] [notice] Parent: Received shutdown signal --
Shutting down the server.
[Tue Aug 07 09:53:47 2007] [notice] Child 2796: Exit event signaled. Child
process is ending.
[Tue Aug 07 09:53:48 2007] [notice] Child 2796: Released the start mutex
[Tue Aug 07 09:53:49 2007] [notice] Child 2796: Waiting for 250 worker
threads to exit.
[Tue Aug 07 09:53:49 2007] [notice] Child 2796: All worker threads have
exited.
[Tue Aug 07 09:53:49 2007] [notice] Child 2796: Child process is exiting
[Tue Aug 07 09:53:49 2007] [notice] Parent: Child process exited successfully.
[Tue Aug 07 09:53:50 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured
-- resuming normal operations
[Tue Aug 07 09:53:50 2007] [notice] Server built: Jan 9 2007 23:17:20
[Tue Aug 07 09:53:50 2007] [notice] Parent: Created child process 4720
PHP Warning: PHP Startup: Unable to load dynamic library
'C:\\Apache2\\PHP5\\ext\\php_mysql.dll' - The specified module could not be
found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'C:\\Apache2\\PHP5\\ext\\php_mysqli.dll' - The specified module could not
be found.\r\n in Unknown on line 0
[Tue Aug 07 09:53:50 2007] [notice] Child 4720: Child process is running
[Tue Aug 07 09:53:50 2007] [notice] Child 4720: Acquired the start mutex.
[Tue Aug 07 09:53:50 2007] [notice] Child 4720: Starting 250 worker threads.
[Tue Aug 07 09:53:50 2007] [notice] Child 4720: Starting thread to listen on
port 80.


The path doesnt look correct should there be double \ between each folder?




----- Original Message -----
From: Thomas Hearn <tomh@nsoftware.com>
To: KM <thalor@comcast.net>
Cc: bitslayer@comcast.net, php-windows@lists.php.net
Date: Tue, 07 Aug 2007 08:53:02 -0400
Subject: Re: [PHP-WIN] PHP, MYSQL and Apache

> This sounds very typical of a problem with WHERE in your path MySQL is set.
>
> Open up your PATH env variable, and look to see if your PHP ext
> directory (with the mysql ext) is listed in the path BEFORE your actual
> MySQL installation. If it isn't, then add it. The dlls that are used
> by PHP and MySQL have variation and are not actually the same DLL. The
> path not found error with MySQL is generally a result of a mismatch
> between dll versions of MySQL, often caused by the location in the
> path. Same goes for MSSQL.
>
> Hopefully that helps.
>
> Tom
>
> KM wrote:
> in
> enable
> on
>
>

Carlton Whitehead

2007-08-07, 7:02 pm

Keith,

Go in your php.ini and change that extension path to have / (forward slashes) instead of \ (backslashes), save it, then restart Apache.

Regards,
Carlton Whitehead

----- Original Message -----
From: "Keith Mervine" <thalor@comcast.net>
To: "Thomas Hearn" <tomh@nsoftware.com>
Cc: bitslayer@comcast.net, php-windows@lists.php.net
Sent: Tuesday, August 7, 2007 9:56:29 AM (GMT-0500) America/New_York
Subject: Re: [PHP-WIN] PHP, MYSQL and Apache


This is from my apache error.log

[Tue Aug 07 09:53:47 2007] [notice] Parent: Received shutdown signal --
Shutting down the server.
[Tue Aug 07 09:53:47 2007] [notice] Child 2796: Exit event signaled. Child
process is ending.
[Tue Aug 07 09:53:48 2007] [notice] Child 2796: Released the start mutex
[Tue Aug 07 09:53:49 2007] [notice] Child 2796: Waiting for 250 worker
threads to exit.
[Tue Aug 07 09:53:49 2007] [notice] Child 2796: All worker threads have
exited.
[Tue Aug 07 09:53:49 2007] [notice] Child 2796: Child process is exiting
[Tue Aug 07 09:53:49 2007] [notice] Parent: Child process exited successfully.
[Tue Aug 07 09:53:50 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured
-- resuming normal operations
[Tue Aug 07 09:53:50 2007] [notice] Server built: Jan 9 2007 23:17:20
[Tue Aug 07 09:53:50 2007] [notice] Parent: Created child process 4720
PHP Warning: PHP Startup: Unable to load dynamic library
'C:\\Apache2\\PHP5\\ext\\php_mysql.dll' - The specified module could not be
found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'C:\\Apache2\\PHP5\\ext\\php_mysqli.dll' - The specified module could not
be found.\r\n in Unknown on line 0
[Tue Aug 07 09:53:50 2007] [notice] Child 4720: Child process is running
[Tue Aug 07 09:53:50 2007] [notice] Child 4720: Acquired the start mutex.
[Tue Aug 07 09:53:50 2007] [notice] Child 4720: Starting 250 worker threads.
[Tue Aug 07 09:53:50 2007] [notice] Child 4720: Starting thread to listen on
port 80.


The path doesnt look correct should there be double \ between each folder?




----- Original Message -----
From: Thomas Hearn <tomh@nsoftware.com>
To: KM <thalor@comcast.net>
Cc: bitslayer@comcast.net, php-windows@lists.php.net
Date: Tue, 07 Aug 2007 08:53:02 -0400
Subject: Re: [PHP-WIN] PHP, MYSQL and Apache

> This sounds very typical of a problem with WHERE in your path MySQL is set.
>
> Open up your PATH env variable, and look to see if your PHP ext
> directory (with the mysql ext) is listed in the path BEFORE your actual
> MySQL installation. If it isn't, then add it. The dlls that are used
> by PHP and MySQL have variation and are not actually the same DLL. The
> path not found error with MySQL is generally a result of a mismatch
> between dll versions of MySQL, often caused by the location in the
> path. Same goes for MSSQL.
>
> Hopefully that helps.
>
> Tom
>
> KM wrote:
> in
> enable
> on
>
>


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com