You are here: Re: Cannot compile php and mysql together, looked around quite a while « PHP Programming Language « IT news, forums, messages
Re: Cannot compile php and mysql together, looked around quite a while

Posted by Jerry Stuckle on 12/18/05 17:50

gooderthanyou@gmail.com wrote:
> Alright i've looked a ton of topics and most of them are unresolved...
>
> configure: error: Cannot find MySQL header files under usr/local/mysql.
> Note that the MySQL client library is not bundled anymore!
>
> I gunzipped mysql, did tar -xvf to the resulting tar, moved the mysql
> folder to usr/local/... and I been able to log into mysql and all that
> good stuff so I guess its installed. just when I try to configure php
> with mysql it gives me that error when trying to fetch mysql!!
>
> inside my php-5.1.1 folder I typed this from tutorials
>
> ./configure --with-apxs2=/usr/local/apache2/bin/apxs
> --with-mysql=usr/local/mysql
>
> apache is fine just cannot do it "with" mysql...
>
> BTW i'm a noob, I might just go to a younger php since it includes
> mysql with it!
>
> Thanks in advance
>

Is mysql actually installed in /usr/local/mysql? And do you have the
development version or the runtime version? Where's your mysql.h file?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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