php-windows Digest 16 Jul 2007 15:39:56 -0000 Issue 3282

Topics (messages 28209 through 28213):

Re: Unable to load dynamic library "C:\PHP\ext\php_mysql.dll" and Unable to 
load dynamic library "C:\PHP\ext\php_mysqli.dll"
        28209 by: Stut
        28210 by: Bill Bolte
        28211 by: Stut
        28212 by: Stut
        28213 by: Oman, Gregg

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Please always include the list when replying.

Oman, Gregg wrote:
Stut,

Attached is the output of phpinfo. When I search the system for php.ini, the only place it appears is C:\Program Files\PHP.

Ok, looking at that your configuration is very confused. Why do you have PHP in two places?

If I were you I'd remove all traces of PHP from the machine, the start from square one by downloading the ZIP from the PHP website and follow the instructions in the manual for installing it in Apache2.

A while back someone posted a very good tutorial on getting PHP and Apache installed and working on Windows. I can't remember if it was this list of the PHP-General list, but I'd highly recommend you search the archives for it.

-Stut

--
http://stut.net/

-----Original Message-----
*From:* Oman, Gregg
*Sent:* Wednesday, July 11, 2007 4:13 PM
*To:* '[EMAIL PROTECTED]'
*Cc:* '[EMAIL PROTECTED]'
*Subject:* Unable to load dynamic library "C:\PHP\ext\php_mysql.dll" and Unable to load dynamic library "C:\PHP\ext\php_mysqli.dll"

Stut,

I found your e-mail address while looking through various PHP\MYSQL connect messages at PHP.net and hoped you could help me or direct me to someone who can. I have been struggling to get MySQL modules working with PHP 5 and have completed the following:

1.) Uncommented the php_mysql.dll & php_mysqli.dll extensions in the php.ini file.

2.) Set the extension_dir = C: \PHP\ext in the php.ini and set the php_mysql.dll (5-31-2007), php_mysqli.dll (5-31-2007), & libmysql.dll (10-22-2006) in this directory. Libmysql.dll also resides under the Windows directory and is a copied file.

3.) Set an environment variable for the PATH to C:\Program Files\PHP& C:\Program Files\PHP\ext. PHPRC variable to C:\Program Files\PHP\

4.) Ran Dependency Walker against the php.exe and found all required .dlls to be present.

5.)     Ran phpinfo and find no reference to MySQL within it.

6.) PHP Version 5.2.3, MySQL Version 5.1.11(Community), Apache Version 2.2.4

7.)     Display_errors & Display_startup_errors= ON in php.ini.

Any assistance you can offer would be greatly appreciated.

Gregg Oman

System Admin.

Dwyer Instruments Inc.

(219) 879-8868 x-331

[EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
http://wamp.corephp.co.uk/

Here's the guide...





-----Original Message-----
From: Stut [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 12, 2007 8:30 AM
To: Oman, Gregg
Cc: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: FW: Unable to load dynamic library
"C:\PHP\ext\php_mysql.dll" and Unable to load dynamic library
"C:\PHP\ext\php_mysqli.dll"

Please always include the list when replying.

Oman, Gregg wrote:
> Stut,
> 
>             Attached is the output of phpinfo. When I search the
system 
> for php.ini, the only place it appears is C:\Program Files\PHP.

Ok, looking at that your configuration is very confused. Why do you have

  PHP in two places?

If I were you I'd remove all traces of PHP from the machine, the start 
from square one by downloading the ZIP from the PHP website and follow 
the instructions in the manual for installing it in Apache2.

A while back someone posted a very good tutorial on getting PHP and 
Apache installed and working on Windows. I can't remember if it was this

list of the PHP-General list, but I'd highly recommend you search the 
archives for it.

-Stut

-- 
http://stut.net/

> -----Original Message-----
> *From:* Oman, Gregg
> *Sent:* Wednesday, July 11, 2007 4:13 PM
> *To:* '[EMAIL PROTECTED]'
> *Cc:* '[EMAIL PROTECTED]'
> *Subject:* Unable to load dynamic library "C:\PHP\ext\php_mysql.dll"
and 
> Unable to load dynamic library "C:\PHP\ext\php_mysqli.dll"
> 
>  
> 
> Stut,
> 
>            
> 
> I found your e-mail address while looking through various PHP\MYSQL 
> connect messages at PHP.net and hoped you could help me or direct me
to 
> someone    who can. I have been struggling to get MySQL modules
working 
> with PHP 5 and have completed the following:
> 
>  
> 
> 1.)     Uncommented the php_mysql.dll & php_mysqli.dll extensions in
the 
> php.ini file.
> 
> 2.)     Set the extension_dir = C: \PHP\ext in the php.ini and set the

> php_mysql.dll (5-31-2007), php_mysqli.dll (5-31-2007), & libmysql.dll 
> (10-22-2006) in this directory. Libmysql.dll also resides under the 
> Windows directory and is a copied file.
> 
> 3.)     Set an environment variable for the PATH to C:\Program 
> Files\PHP& C:\Program Files\PHP\ext. PHPRC variable to C:\Program
Files\PHP\
> 
> 4.)     Ran Dependency Walker against the php.exe and found all
required 
> .dlls to be present.
> 
> 5.)     Ran phpinfo and find no reference to MySQL within it.
> 
> 6.)     PHP Version 5.2.3, MySQL Version 5.1.11(Community), Apache 
> Version 2.2.4
> 
> 7.)     Display_errors & Display_startup_errors= ON in php.ini.
> 
>  
> 
>  
> 
> Any assistance you can offer would be greatly appreciated.
> 
>  
> 
>

> 
>

> Gregg Oman
> 
>

> System Admin.
> 
>

> Dwyer Instruments Inc.
> 
>

> (219) 879-8868 x-331
> 
>

> [EMAIL PROTECTED]

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

--- End Message ---
--- Begin Message --- THE LIST, PLEASE INCLUDE THE LIST UNLESS YOU'RE WANTING TO HIRE ME AS A CONTRACTOR!!!!

Hope you see that this time. Hit reply to all not reply - it's really not that hard.

Oman, Gregg wrote:
Stut wrote: >
Ok, looking at that your configuration is very confused. Why do you have

  PHP in two places?

If I were you I'd remove all traces of PHP from the machine, the start from square one by downloading the ZIP from the PHP website and follow the instructions in the manual for installing it in Apache2.

A while back someone posted a very good tutorial on getting PHP and Apache installed and working on Windows. I can't remember if it was this

list of the PHP-General list, but I'd highly recommend you search the archives for it.

-Stut

> What in the phpinfo tells me it's in (2) places so I know where to
> make sure to eliminate it?
>
>                                                    Gregg

You have references to both C:\PHP and C:\Program Files\PHP. Some bits appear to come from one and other bits come from the other. This is almost certainly not helping.

-Stut

--
http://stut.net/

--- End Message ---
--- Begin Message ---
Bill Bolte wrote:
http://wamp.corephp.co.uk/

Here's the guide...

That's the one, thanks Bill.

-Stut

--
http://stut.net/

-----Original Message-----
From: Stut [mailto:[EMAIL PROTECTED] Sent: Thursday, July 12, 2007 8:30 AM
To: Oman, Gregg
Cc: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: FW: Unable to load dynamic library
"C:\PHP\ext\php_mysql.dll" and Unable to load dynamic library
"C:\PHP\ext\php_mysqli.dll"

Please always include the list when replying.

Oman, Gregg wrote:
Stut,

            Attached is the output of phpinfo. When I search the
system
for php.ini, the only place it appears is C:\Program Files\PHP.

Ok, looking at that your configuration is very confused. Why do you have

  PHP in two places?

If I were you I'd remove all traces of PHP from the machine, the start from square one by downloading the ZIP from the PHP website and follow the instructions in the manual for installing it in Apache2.

A while back someone posted a very good tutorial on getting PHP and Apache installed and working on Windows. I can't remember if it was this

list of the PHP-General list, but I'd highly recommend you search the archives for it.

-Stut

--- End Message ---
--- Begin Message ---
Stuts,
        Everything is working. It looks like you were correct; I
reloaded PHP into C:\PHP all the errors went away. Thanks for your input
and help, much appreciated.

                                                        Gregg Oman

-----Original Message-----
From: Stut [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 12, 2007 9:06 AM
To: Oman, Gregg
Cc: [EMAIL PROTECTED]
Subject: Re: FW: Unable to load dynamic library
"C:\PHP\ext\php_mysql.dll"andUnable to load dynamic library
"C:\PHP\ext\php_mysqli.dll"

THE LIST, PLEASE INCLUDE THE LIST UNLESS YOU'RE WANTING TO HIRE ME AS A 
CONTRACTOR!!!!

Hope you see that this time. Hit reply to all not reply - it's really 
not that hard.

Oman, Gregg wrote:
> Stut wrote: >
>  
> Ok, looking at that your configuration is very confused. Why do you
have
> 
>   PHP in two places?
> 
> If I were you I'd remove all traces of PHP from the machine, the start

> from square one by downloading the ZIP from the PHP website and follow

> the instructions in the manual for installing it in Apache2.
> 
> A while back someone posted a very good tutorial on getting PHP and 
> Apache installed and working on Windows. I can't remember if it was
this
> 
> list of the PHP-General list, but I'd highly recommend you search the 
> archives for it.
> 
> -Stut
> 
 > What in the phpinfo tells me it's in (2) places so I know where to
 > make sure to eliminate it?
 >
 >                                                      Gregg

You have references to both C:\PHP and C:\Program Files\PHP. Some bits 
appear to come from one and other bits come from the other. This is 
almost certainly not helping.

-Stut

-- 
http://stut.net/

--- End Message ---

Reply via email to