|
Posted by David on 10/22/07 13:22
"Bill" <billp@rhondasworld.com> wrote in message
news:pan.2007.10.22.13.17.47.715688@rhondasworld.com...
> On Mon, 22 Oct 2007 11:23:58 +0000, C. wrote:
>
>> On 21 Oct, 01:45, "David" <m...@privacy.net> 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.
>>>
>>>
>> Good start.
>>
>>> Mysql is setup and working properly. Users and databases all connect
>>> fine
>>>
>>>
>> That last sentence makes no sense.
>>
>>> All my PHP scripts which have mysql connection info just show as a blank
>>> page. No error messages.
>>>
>>>
>> Are we trying to solve poor programming or a bad system config here? Have
>> you tried to enable error reporting? checked your log files? Implemented
>> your own error handler?
>>
>>> Any ideas?!. Would appreciate any input, its driving my crazy.
>>
>> You should probably start by installing and configuring MySQLAdmin
>> (http://www.phpmyadmin.net/home_page/index.php) which has better error
>> handling built in - if you can't get that to work then try reposting with
>> specific error messages, and which versions of each software you are
>> using
>> on what platforms and examples of how your code tries to connect.
>>
>> Taking a wide stab in the dark, it maybe mysql's interpretation of
>> 'localhost' - read this before reposting:
>>
>> http://dev.mysql.com/doc/refman/5.0/en/can-not-connect-to-server.html
>>
>> C.
>
> This could be as simple as PHP not being compiled with MySQL support. I
> think it is compiled in by default now. But if you use for instance the
> yum installer that CentOS uses, mysql support has to be installed
> specifically from the yum command. You mentioned that <?php phpinfo(); ?>
> does not show MySQL support. I would start there.
>
> BillP
I downloaded the latest version (zip) and extracted it to c:/php.
Im totally stumped atm. I cant see any reason why php cant find/use mysql
[Back to original message]
|