You are here: Re: PHP cannot see MySQL!!!!!!!! « PHP Language « IT news, forums, messages
Re: PHP cannot see MySQL!!!!!!!!

Posted by David on 10/22/07 12:43

"C." <colin.mckinnon@gmail.com> wrote in message
news:1193052238.463520.3460@z24g2000prh.googlegroups.com...
> 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.


C - you seem very knowledgeable and i would really appreciate your input on
this.

I tried phpmyadmin and this came back with: Cannot load mysql extensions.

I have already uncommented

extension=php_mysql.dll
extension=php_mysqli.dll

in my php.ini file

I have already also added c:\php to the path in windows to load the relevent
files first.

Any ideas why the extensions are still not loading or how to ascertain if
this is definately the problem.

thanks

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация