php-windows Digest 26 Jul 2006 06:16:23 -0000 Issue 3011
Topics (messages 27069 through 27079):
Re: problems with PHP and IIS
27069 by: John Meyer
27070 by: John Meyer
27071 by: Daniel Kaliel
27072 by: John Meyer
27073 by: John Meyer
27074 by: John Meyer
27075 by: trystano.aol.com
27076 by: Daniel Kaliel
Another error:
27077 by: John Meyer
Re: problems with PHP and IIS SOLVED
27078 by: John Meyer
27079 by: Lester Caine
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 ---
Daniel Kaliel wrote:
> I think the problem is that you need to convert the password in MySQL to
> an Old password. With version 5 MySQL released greater security
> encrpytion for the root and other passwords. PHP still can not connect
> using the new MySQL encryption. So you need to change your MySQL
> password to the older version of encryption.
Let's put it this way: it does not even see the function mysql_connect().
--- End Message ---
--- Begin Message ---
Daniel Kaliel wrote:
> Does php work at all? If you had a page that only did
>
> <?php phpinfo(); ?>
>
> Does it display anything?
Yep, it works. Can probably provide a PDF of it.
--- End Message ---
--- Begin Message ---
And mysql has been enabled in php.ini? On the phpinfo() page does it
show mysql as being enabled?
-----Original Message-----
From: John Meyer [mailto:[EMAIL PROTECTED]
Sent: July 25, 2006 10:34 AM
To: Daniel Kaliel; [email protected]
Subject: Re: [PHP-WIN] problems with PHP and IIS
Daniel Kaliel wrote:
> Does php work at all? If you had a page that only did
>
> <?php phpinfo(); ?>
>
> Does it display anything?
Yep, it works. Can probably provide a PDF of it.
--- End Message ---
--- Begin Message ---
Daniel Kaliel wrote:
> Where is your php.ini located? I have had troubles when it was located
> within c:\php even though that was in my path.
C:\Windows
--- End Message ---
--- Begin Message ---
Daniel Kaliel wrote:
> In your phpinfo() page where does it say it finds the php.ini file?
> Just want to make sure that you are editting the right one.
>
> -----Original Message-----
> From: John Meyer [mailto:[EMAIL PROTECTED]
> Sent: July 25, 2006 10:43 AM
> To: Daniel Kaliel; [email protected]
> Subject: Re: [PHP-WIN] problems with PHP and IIS
>
> Daniel Kaliel wrote:
>> Where is your php.ini located? I have had troubles when it was
>> located within c:\php even though that was in my path.
>
> C:\Windows
>
Configuration File (php.ini) Path C:\WINDOWS\php.ini
>From phpinfo()
And I'm restarting the server every time I update it.
--- End Message ---
--- Begin Message ---
Daniel Kaliel wrote:
> Could be a permission issue. As a test, give the user Everyone full
> right to c:\php and see if that makes a difference. You can tighten it
> afterwards.
>
> -----Original Message-----
> From: John Meyer [mailto:[EMAIL PROTECTED]
> Sent: July 25, 2006 3:12 PM
> To: Daniel Kaliel
> Subject: Re: [PHP-WIN] problems with PHP and IIS
>
> Daniel Kaliel wrote:
>> And in your php.ini you have done the following:
>>
>> Uncommented (;extension=php_mysql.dll ) by getting rid of the ;
>>
>> Your extension directory is set to "c:\PHP\"
>>
>> So make sure the files php_mysql.dll and php_mysqli.dll both exist in
>> c:\php\ not in c:\php\ext
>>
>> -----Original Message-----
>> From: John Meyer [mailto:[EMAIL PROTECTED]
>> Sent: July 25, 2006 11:10 AM
>> To: Daniel Kaliel
>> Subject: Re: [PHP-WIN] problems with PHP and IIS
>>
>> Daniel Kaliel wrote:
>>> Can you send me a screenshot of your phpinfo()?
>>>
>>> -----Original Message-----
>>> From: John Meyer [mailto:[EMAIL PROTECTED]
>>> Sent: July 25, 2006 10:56 AM
>>> To: Daniel Kaliel; [email protected]
>>> Subject: Re: [PHP-WIN] problems with PHP and IIS
>>>
>>> Daniel Kaliel wrote:
>>>> In your phpinfo() page where does it say it finds the php.ini file?
>>>> Just want to make sure that you are editting the right one.
>>>>
>>>> -----Original Message-----
>>>> From: John Meyer [mailto:[EMAIL PROTECTED]
>>>> Sent: July 25, 2006 10:43 AM
>>>> To: Daniel Kaliel; [email protected]
>>>> Subject: Re: [PHP-WIN] problems with PHP and IIS
>>>>
>>>> Daniel Kaliel wrote:
>>>>> Where is your php.ini located? I have had troubles when it was
>>>>> located within c:\php even though that was in my path.
>>>> C:\Windows
>>>>
>>> Configuration File (php.ini) Path C:\WINDOWS\php.ini From phpinfo()
>>> And I'm restarting the server every time I update it.
>>>
>>>
>> Here's a PDF printout.
>>
>
> Fatal error: Call to undefined function mysql_connect() in C:\Documents
> and Settings\Compaq_Administrator\My Documents\110mb site\index.php on
> line 4 PHP Warning: PHP Startup: Unable to load dynamic library
> 'C:\PHP\php_mysql.dll' - The specified module could not be found. in
> Unknown on line 0
>
> and php_mysql.dll is there.
>
>
>
Still no go, and set the permissions as liberally as possible:
Fatal error: Call to undefined function mysql_connect() in C:\Documents
and Settings\Compaq_Administrator\My Documents\110mb site\index.php on
line 4
PHP Warning: PHP Startup: Unable to load dynamic library
'C:\PHP\php_mysql.dll' - The specified module could not be found. in
Unknown on line 0
--- End Message ---
--- Begin Message ---
You need to re-place the relevant mysql related .dll's don't you? I can't
remembr the name of iy/them off the top of my head, but if you search for a
tutorial on PHP MySQL you will be told.
Tryst
-----Original Message-----
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [email protected]
Sent: Tue, 25 Jul 2006 10.19PM
Subject: Re: [PHP-WIN] problems with PHP and IIS
Daniel Kaliel wrote:
> Could be a permission issue. As a test, give the user Everyone full
> right to c:\php and see if that makes a difference. You can tighten it
> afterwards.
>
> -----Original Message-----
> From: John Meyer [mailto:[EMAIL PROTECTED]
> Sent: July 25, 2006 3:12 PM
> To: Daniel Kaliel
> Subject: Re: [PHP-WIN] problems with PHP and IIS
>
> Daniel Kaliel wrote:
>> And in your php.ini you have done the following:
>>
>> Uncommented (;extension=php_mysql.dll ) by getting rid of the ;
>>
>> Your extension directory is set to "c:\PHP\"
>>
>> So make sure the files php_mysql.dll and php_mysqli.dll both exist in
>> c:\php\ not in c:\php\ext
>>
>> -----Original Message-----
>> From: John Meyer [mailto:[EMAIL PROTECTED]
>> Sent: July 25, 2006 11:10 AM
>> To: Daniel Kaliel
>> Subject: Re: [PHP-WIN] problems with PHP and IIS
>>
>> Daniel Kaliel wrote:
>>> Can you send me a screenshot of your phpinfo()?
>>>
>>> -----Original Message-----
>>> From: John Meyer [mailto:[EMAIL PROTECTED]
>>> Sent: July 25, 2006 10:56 AM
>>> To: Daniel Kaliel; [email protected]
>>> Subject: Re: [PHP-WIN] problems with PHP and IIS
>>>
>>> Daniel Kaliel wrote:
>>>> In your phpinfo() page where does it say it finds the php.ini file?
>>>> Just want to make sure that you are editting the right one.
>>>>
>>>> -----Original Message-----
>>>> From: John Meyer [mailto:[EMAIL PROTECTED]
>>>> Sent: July 25, 2006 10:43 AM
>>>> To: Daniel Kaliel; [email protected]
>>>> Subject: Re: [PHP-WIN] problems with PHP and IIS
>>>>
>>>> Daniel Kaliel wrote:
>>>>> Where is your php.ini located? I have had troubles when it was
>>>>> located within c:\php even though that was in my path.
>>>> C:\Windows
>>>>
>>> Configuration File (php.ini) Path C:\WINDOWS\php.ini From phpinfo()
>>> And I'm restarting the server every time I update it.
>>>
>>>
>> Here's a PDF printout.
>>
>
> Fatal error: Call to undefined function mysql_connect() in C:\Documents
> and Settings\Compaq_Administrator\My Documents\110mb site\index.php on
> line 4 PHP Warning: PHP Startup: Unable to load dynamic library
> 'C:\PHP\php_mysql.dll' - The specified module could not be found. in
> Unknown on line 0
>
> and php_mysql.dll is there.
>
>
>
Still no go, and set the permissions as liberally as possible:
Fatal error: Call to undefined function mysql_connect() in C:\Documents
and Settings\Compaq_Administrator\My Documents\110mb site\index.php on
line 4
PHP Warning: PHP Startup: Unable to load dynamic library
'C:\PHP\php_mysql.dll' - The specified module could not be found. in
Unknown on line 0
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
That's an idea. Download the zip package rather than the installer and
drag the php_mysql.dll from that package into the php folder and see if
that works. Maybe you have a bad dll. Although the message not found
is weird. Try placing it in the c:\PHP\ext folder as well.
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: July 25, 2006 3:55 PM
To: [EMAIL PROTECTED]; Daniel Kaliel; [email protected]
Subject: Re: [PHP-WIN] problems with PHP and IIS
You need to re-place the relevant mysql related .dll's don't you? I
can't remembr the name of iy/them off the top of my head, but if you
search for a tutorial on PHP MySQL you will be told.
Tryst
-----Original Message-----
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [email protected]
Sent: Tue, 25 Jul 2006 10.19PM
Subject: Re: [PHP-WIN] problems with PHP and IIS
Daniel Kaliel wrote:
> Could be a permission issue. As a test, give the user Everyone full
> right to c:\php and see if that makes a difference. You can tighten
it
> afterwards.
>
> -----Original Message-----
> From: John Meyer [mailto:[EMAIL PROTECTED]
<mailto:john.l.meyer%40gmail.com> ]
> Sent: July 25, 2006 3:12 PM
> To: Daniel Kaliel
> Subject: Re: [PHP-WIN] problems with PHP and IIS
>
> Daniel Kaliel wrote:
>> And in your php.ini you have done the following:
>>
>> Uncommented (;extension=php_mysql.dll ) by getting rid of the ;
>>
>> Your extension directory is set to "c:\PHP\"
>>
>> So make sure the files php_mysql.dll and php_mysqli.dll both exist in
>> c:\php\ not in c:\php\ext
>>
>> -----Original Message-----
>> From: John Meyer [mailto:[EMAIL PROTECTED]
<mailto:john.l.meyer%40gmail.com> ]
>> Sent: July 25, 2006 11:10 AM
>> To: Daniel Kaliel
>> Subject: Re: [PHP-WIN] problems with PHP and IIS
>>
>> Daniel Kaliel wrote:
>>> Can you send me a screenshot of your phpinfo()?
>>>
>>> -----Original Message-----
>>> From: John Meyer [mailto:[EMAIL PROTECTED]
<mailto:john.l.meyer%40gmail.com> ]
>>> Sent: July 25, 2006 10:56 AM
>>> To: Daniel Kaliel; [email protected]
<mailto:php-windows%40lists.php.net>
>>> Subject: Re: [PHP-WIN] problems with PHP and IIS
>>>
>>> Daniel Kaliel wrote:
>>>> In your phpinfo() page where does it say it finds the php.ini file?
>>>> Just want to make sure that you are editting the right one.
>>>>
>>>> -----Original Message-----
>>>> From: John Meyer [mailto:[EMAIL PROTECTED]
<mailto:john.l.meyer%40gmail.com> ]
>>>> Sent: July 25, 2006 10:43 AM
>>>> To: Daniel Kaliel; [email protected]
<mailto:php-windows%40lists.php.net>
>>>> Subject: Re: [PHP-WIN] problems with PHP and IIS
>>>>
>>>> Daniel Kaliel wrote:
>>>>> Where is your php.ini located? I have had troubles when it was
>>>>> located within c:\php even though that was in my path.
>>>> C:\Windows
>>>>
>>> Configuration File (php.ini) Path C:\WINDOWS\php.ini From phpinfo()
>>> And I'm restarting the server every time I update it.
>>>
>>>
>> Here's a PDF printout.
>>
>
> Fatal error: Call to undefined function mysql_connect() in
C:\Documents
> and Settings\Compaq_Administrator\My Documents\110mb site\index.php on
> line 4 PHP Warning: PHP Startup: Unable to load dynamic library
> 'C:\PHP\php_mysql.dll' - The specified module could not be found. in
> Unknown on line 0
>
> and php_mysql.dll is there.
>
>
>
Still no go, and set the permissions as liberally as possible:
Fatal error: Call to undefined function mysql_connect() in C:\Documents
and Settings\Compaq_Administrator\My Documents\110mb site\index.php on
line 4
PHP Warning: PHP Startup: Unable to load dynamic library
'C:\PHP\php_mysql.dll' - The specified module could not be found. in
Unknown on line 0
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
The directory name is invalid.
--- End Message ---
--- Begin Message ---
located libmysql.dll from the zip file, plugged it into the directory
set up by the automated installer, works (probably an error the people
organizing the project should be aware of).
--- End Message ---
--- Begin Message ---
John Meyer wrote:
located libmysql.dll from the zip file, plugged it into the directory
set up by the automated installer, works (probably an error the people
organizing the project should be aware of).
No - just means that you have not installed mysql to use with PHP5
unlike PHP4 it is not included as standard since many of us do not want
it installed ;)
--
Lester Caine - G8HFL
-----------------------------
L.S.Caine Electronic Services - http://home.lsces.co.uk
Model Engineers Digital Workshop -
http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Treasurer - Firebird Foundation Inc. - http://www.firebirdsql.org/index.php
--- End Message ---