You are here: Re: PHP5 and MySQL5 installation « All PHP « IT news, forums, messages
Re: PHP5 and MySQL5 installation

Posted by elyob on 01/12/06 21:32

"elyob" <newsprofile@gmail.com> wrote in message
news:43c65b2e@news1.homechoice.co.uk...
>
> "J.O. Aho" <user@example.net> wrote in message
> news:42n3l6F1jhct8U1@individual.net...
>> elyob wrote:
>>> "J.O. Aho" <user@example.net> wrote in message
>>> news:42n1rmF1k2rkaU1@individual.net...
>>>> elyob wrote:
>>>>> I've read everywhere and I think I've done everything mentioned. I've
>>>>> uncommented the extension line in php.ini, I've added C:\PHP to the
>>>>> path.
>>>>> I've even copied libmysql.dll to C:\PHP and C:\Windows\System32 and
>>>>> C:\Windows. I've also rebooted and restarted the server a number of
>>>>> times.
>>>>>
>>>>> None of this is working, and I'm getting peeved. The phpinfo is
>>>>> working,
>>>>> but
>>>>> doesn't show any MySQL information.
>>>>>
>>>>> Advice? (I'm thinking of trying MySQL4 instead)
>>>> You need the php_mysql.dll
>>>
>>> Sure, that's in c:\PHP\ext, I also copied in to C:\PHP to double check.
>>> Still no luck.
>>>
>>> The error message is "Call to undefined function mysql_connect()"
>>
>> is that the php_mysql.dll for PHP5 and Mysql5 or just something you found
>> randomly at the net?
>
> I am using the one that was in the \ext\ folder of php-5.1.1-Win32.zip
>
> (PHP 5.1.1 zip package [8,620Kb] - 28 Nov 2005)
>
> Dated 27/Nov/05 22:14 Size 49kb

Thanks, I figured it out. The php.ini was not in the correct place, and no
error was returned and a default php.ini was 'invented'. Therefore none of
my changes were correct as the php.ini was the wrong one. The phpinfo()
command helped me figure it out.

Thanks all.

 

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

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