Posted by Jerry Stuckle on 10/22/07 10:56
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
==================
[Back to original message]
|