Reply to Re: Cannot compile php and mysql together, looked around quite a while

Your name:

Reply:


Posted by Andy Hassall on 12/18/05 18:03

On 18 Dec 2005 07:30:08 -0800, gooderthanyou@gmail.com wrote:

>configure: error: Cannot find MySQL header files under usr/local/mysql.
>Note that the MySQL client library is not bundled anymore!

That's a relative path.

>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!!

That was using the binary distribution of MySQL presumably?
Where did you move it to - "usr/local" is a relative path, but relative to
where? Did you in fact move it to the expected "/usr/local" directory?

>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

Relative path again, you most likely want --with-mysql=/usr/local/mysql

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

[Back to original 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

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