You are here: Re: Building PHP with mysql support on CentOS « PHP Programming Language « IT news, forums, messages
Re: Building PHP with mysql support on CentOS

Posted by John Smith on 03/13/06 16:57

Thanks for this, i have tried this with the same outcome, we seem to be
missing mysql.so

Thanks

Jon
"David Haynes" <david.haynes2@sympatico.ca> wrote in message
news:iIeRf.38664$Gz4.16414@fe13.usenetserver.com...
> John Smith wrote:
>> Can someone please help me build php with mysql support on CentOS. Have
>> installed MySql and that works okay. I have downloaded the latest version
>> of php and tried to build it but I keep getting errors about missing
>> function mysql_connect(). This appears to be caused by not having
>> extensions=mysql in the php.ini file. However when I build php it does
>> not make a mysql.so file, where does this come from? I have tried using
>> the configure --with-mysql but it still does not generate it. I have
>> managed to get it from another distribution but it does not work
>> correctly due to incorrect versions of shared libraries.
>> How do you build the mysql.so file?
>>
>> Thanks
>>
>> Jon
>
> Disclaimer: I use Fedora Core 4
>
> With Fedora, the --with-mysql (or --with-mysqli) needs to point to the
> mysql_config program (typically in the bin directory of mysql).
> So, my directive is:
> --with-mysqli=/opt/local/mysql/bin/mysql_config
>
> -david-
>

 

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

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