Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i just recompiled php and again i have to think about 2 questions:
1. if i configure --with-mysql=path/2/mysql i should know the correct path but whatever i try - it's the wrong one (mysql installed as rpm). where are the header files? compiler always complains about that
2. in the php INSTALL i read that if i want to recompile php i have to delete config.cache. wtf is that? i cant find it.
all in all everything working fine, i guess, but i'd really like to know that.
thnx a lot!
jens
1) I don't remember if it needs path to binary or to main directory. It's /usr or /usr/bin
2) If it's first compilation from the source you have, it's not there. Config.cache is a file when configuration from last run of configure is kept. It's a good idea to remove it (and run all checks) when you've modified your configuration. It should be in php source main directory.
1) I don't remember if it needs path to binary or to main directory. It's /usr or /usr/bin . You may also need to install mysql-devel (headers).
2) If it's first compilation from the source you have, it's not there. Config.cache is a file when configuration from last run of configure is kept. It's a good idea to remove it (and run all checks) when you've modified your configuration. It should be in php source main directory.
Hi Mara, thanks for your reply + congrats you've become guru!
unfortunately you were wrong this time. it's neither /usr nor /usr/bin. i tried it and /usr/lib, too.
but i guess it's not too important.( tommorrow i'll go on holiday for a couple dayz.)
cheers, jens
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.