PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > alt.php > PHP cannot see Mysql?! Ideas?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
PHP cannot see Mysql?! Ideas?

Réponse
 
LinkBack Outils de la discussion
Vieux 21/10/2007, 01h45   #1
David
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut PHP cannot see Mysql?! Ideas?

I have php and mysql both working seperately but not together

<?php phpinfo(); ?> - Shows everything working fine but no mention of
Mysql in it.

Mysql is setup and working properly. Users and databases all connect fine

All my PHP scripts which have mysql connection info just show as a blank
page. No error messages.

Any ideas?!. Would appreciate any input, its driving my crazy.


  Réponse avec citation
Vieux 21/10/2007, 02h54   #2
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: PHP cannot see Mysql?! Ideas?

David wrote:
> I have php and mysql both working seperately but not together
>
> <?php phpinfo(); ?> - Shows everything working fine but no mention of
> Mysql in it.
>
> Mysql is setup and working properly. Users and databases all connect fine
>
> All my PHP scripts which have mysql connection info just show as a blank
> page. No error messages.
>
> Any ideas?!. Would appreciate any input, its driving my crazy.
>
>
>


This means the MySQL extension isn't being loaded.

Did you enable the mysql extension in your php.ini? Is it loading properly?

And is the mysql client .dll (windows) or .so (UNIX) available to be loaded.



--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

  Réponse avec citation
Vieux 21/10/2007, 10h48   #3
David
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: PHP cannot see Mysql?! Ideas?


"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
news:WdmdnereK_jyLIfanZ2dnUVZ_vXinZ2d@comcast.com. ..
> David wrote:
>> I have php and mysql both working seperately but not together
>>
>> <?php phpinfo(); ?> - Shows everything working fine but no mention of
>> Mysql in it.
>>
>> Mysql is setup and working properly. Users and databases all connect
>> fine
>>
>> All my PHP scripts which have mysql connection info just show as a blank
>> page. No error messages.
>>
>> Any ideas?!. Would appreciate any input, its driving my crazy.

>
> This means the MySQL extension isn't being loaded.
>
> Did you enable the mysql extension in your php.ini? Is it loading
> properly?
>
> And is the mysql client .dll (windows) or .so (UNIX) available to be
> loaded.



I uncommented both

extension=php_mysql.dll
extension=php_mysqli.dll

in php.ini.

I'm using Windows. Any ideas how to locate the problem?



  Réponse avec citation
Vieux 21/10/2007, 14h48   #4
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: PHP cannot see Mysql?! Ideas?

David wrote:
> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
> news:WdmdnereK_jyLIfanZ2dnUVZ_vXinZ2d@comcast.com. ..
>> David wrote:
>>> I have php and mysql both working seperately but not together
>>>
>>> <?php phpinfo(); ?> - Shows everything working fine but no mention of
>>> Mysql in it.
>>>
>>> Mysql is setup and working properly. Users and databases all connect
>>> fine
>>>
>>> All my PHP scripts which have mysql connection info just show as a blank
>>> page. No error messages.
>>>
>>> Any ideas?!. Would appreciate any input, its driving my crazy.

>> This means the MySQL extension isn't being loaded.
>>
>> Did you enable the mysql extension in your php.ini? Is it loading
>> properly?
>>
>> And is the mysql client .dll (windows) or .so (UNIX) available to be
>> loaded.

>
>
> I uncommented both
>
> extension=php_mysql.dll
> extension=php_mysqli.dll
>
> in php.ini.
>
> I'm using Windows. Any ideas how to locate the problem?
>
>
>
>


What about the rest of my question?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

  Réponse avec citation
Vieux 21/10/2007, 15h41   #5
David
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: PHP cannot see Mysql?! Ideas?


"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
news:-pmdndvXZq8_xYbanZ2dnUVZ_vPinZ2d@comcast.com...
> David wrote:
>> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
>> news:WdmdnereK_jyLIfanZ2dnUVZ_vXinZ2d@comcast.com. ..
>>> David wrote:
>>>> I have php and mysql both working seperately but not together
>>>>
>>>> <?php phpinfo(); ?> - Shows everything working fine but no mention of
>>>> Mysql in it.
>>>>
>>>> Mysql is setup and working properly. Users and databases all connect
>>>> fine
>>>>
>>>> All my PHP scripts which have mysql connection info just show as a
>>>> blank
>>>> page. No error messages.
>>>>
>>>> Any ideas?!. Would appreciate any input, its driving my crazy.
>>> This means the MySQL extension isn't being loaded.
>>>
>>> Did you enable the mysql extension in your php.ini? Is it loading
>>> properly?
>>>
>>> And is the mysql client .dll (windows) or .so (UNIX) available to be
>>> loaded.

>>
>>
>> I uncommented both
>>
>> extension=php_mysql.dll
>> extension=php_mysqli.dll
>>
>> in php.ini.
>>
>> I'm using Windows. Any ideas how to locate the problem?
>>
>>
>>
>>

>
> What about the rest of my question?
>


Note quite sure what youre asking. Mysql is loaded and working but php
cant see/use it


  Réponse avec citation
Vieux 21/10/2007, 18h52   #6
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: PHP cannot see Mysql?! Ideas?

David wrote:
> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
> news:-pmdndvXZq8_xYbanZ2dnUVZ_vPinZ2d@comcast.com...
>> David wrote:
>>> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
>>> news:WdmdnereK_jyLIfanZ2dnUVZ_vXinZ2d@comcast.com. ..
>>>> David wrote:
>>>>> I have php and mysql both working seperately but not together
>>>>>
>>>>> <?php phpinfo(); ?> - Shows everything working fine but no mention of
>>>>> Mysql in it.
>>>>>
>>>>> Mysql is setup and working properly. Users and databases all connect
>>>>> fine
>>>>>
>>>>> All my PHP scripts which have mysql connection info just show as a
>>>>> blank
>>>>> page. No error messages.
>>>>>
>>>>> Any ideas?!. Would appreciate any input, its driving my crazy.
>>>> This means the MySQL extension isn't being loaded.
>>>>
>>>> Did you enable the mysql extension in your php.ini? Is it loading
>>>> properly?
>>>>
>>>> And is the mysql client .dll (windows) or .so (UNIX) available to be
>>>> loaded.
>>>
>>> I uncommented both
>>>
>>> extension=php_mysql.dll
>>> extension=php_mysqli.dll
>>>
>>> in php.ini.
>>>
>>> I'm using Windows. Any ideas how to locate the problem?
>>>
>>>
>>>
>>>

>> What about the rest of my question?
>>

>
> Note quite sure what youre asking. Mysql is loaded and working but php
> cant see/use it
>
>
>


Just what I asked. Is the mysql client dll in a place where PHP can get
to it - i.e. in the php extension directory, a directory in your path, etc.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

  Réponse avec citation
Vieux 22/10/2007, 10h59   #7
David
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: PHP cannot see Mysql?! Ideas?


"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
news:NNadndPIhYmfD4banZ2dnUVZ_qbinZ2d@comcast.com. ..
> David wrote:
>> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
>> news:-pmdndvXZq8_xYbanZ2dnUVZ_vPinZ2d@comcast.com...
>>> David wrote:
>>>> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
>>>> news:WdmdnereK_jyLIfanZ2dnUVZ_vXinZ2d@comcast.com. ..
>>>>> David wrote:
>>>>>> I have php and mysql both working seperately but not together
>>>>>>
>>>>>> <?php phpinfo(); ?> - Shows everything working fine but no mention
>>>>>> of
>>>>>> Mysql in it.
>>>>>>
>>>>>> Mysql is setup and working properly. Users and databases all connect
>>>>>> fine
>>>>>>
>>>>>> All my PHP scripts which have mysql connection info just show as a
>>>>>> blank
>>>>>> page. No error messages.
>>>>>>
>>>>>> Any ideas?!. Would appreciate any input, its driving my crazy.
>>>>> This means the MySQL extension isn't being loaded.
>>>>>
>>>>> Did you enable the mysql extension in your php.ini? Is it loading
>>>>> properly?
>>>>>
>>>>> And is the mysql client .dll (windows) or .so (UNIX) available to be
>>>>> loaded.
>>>>
>>>> I uncommented both
>>>>
>>>> extension=php_mysql.dll
>>>> extension=php_mysqli.dll
>>>>
>>>> in php.ini.
>>>>
>>>> I'm using Windows. Any ideas how to locate the problem?
>>>>
>>>>
>>>>
>>>>
>>> What about the rest of my question?
>>>

>>
>> Note quite sure what youre asking. Mysql is loaded and working but php
>> cant see/use it

>
> Just what I asked. Is the mysql client dll in a place where PHP can get
> to it - i.e. in the php extension directory, a directory in your path,
> etc.
>



Yes. php_mysql.dll etc are all in my /ext directory


  Réponse avec citation
Vieux 22/10/2007, 11h56   #8
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: PHP cannot see Mysql?! Ideas?

David wrote:
> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
> news:NNadndPIhYmfD4banZ2dnUVZ_qbinZ2d@comcast.com. ..
>> David wrote:
>>> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
>>> news:-pmdndvXZq8_xYbanZ2dnUVZ_vPinZ2d@comcast.com...
>>>> David wrote:
>>>>> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
>>>>> news:WdmdnereK_jyLIfanZ2dnUVZ_vXinZ2d@comcast.com. ..
>>>>>> David wrote:
>>>>>>> I have php and mysql both working seperately but not together
>>>>>>>
>>>>>>> <?php phpinfo(); ?> - Shows everything working fine but no mention
>>>>>>> of
>>>>>>> Mysql in it.
>>>>>>>
>>>>>>> Mysql is setup and working properly. Users and databases all connect
>>>>>>> fine
>>>>>>>
>>>>>>> All my PHP scripts which have mysql connection info just show as a
>>>>>>> blank
>>>>>>> page. No error messages.
>>>>>>>
>>>>>>> Any ideas?!. Would appreciate any input, its driving my crazy.
>>>>>> This means the MySQL extension isn't being loaded.
>>>>>>
>>>>>> Did you enable the mysql extension in your php.ini? Is it loading
>>>>>> properly?
>>>>>>
>>>>>> And is the mysql client .dll (windows) or .so (UNIX) available to be
>>>>>> loaded.
>>>>> I uncommented both
>>>>>
>>>>> extension=php_mysql.dll
>>>>> extension=php_mysqli.dll
>>>>>
>>>>> in php.ini.
>>>>>
>>>>> I'm using Windows. Any ideas how to locate the problem?
>>>>>
>>>>>
>>>>>
>>>>>
>>>> What about the rest of my question?
>>>>
>>> Note quite sure what youre asking. Mysql is loaded and working but php
>>> cant see/use it

>> Just what I asked. Is the mysql client dll in a place where PHP can get
>> to it - i.e. in the php extension directory, a directory in your path,
>> etc.
>>

>
>
> Yes. php_mysql.dll etc are all in my /ext directory
>
>
>


php_mysql.dll is not the MySQL client library. It is a PHP DLL.

The MySQL client libraries are shipped with MySQL and have names like
mysqlxxx.dll. You will find them in the MySQL directory hierarchy.

These must also be accessible to PHP.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 20h36.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,17139 seconds with 16 queries