Cannot compile PHP4 on RHEL5, 'mysql headers not found'
NOTE: Thread is SOLVED, see last post.
Trying to migrate our current older RH box to a new install, but we require Apache2 and PHP4 for whatever reason with the way the sites etc are set up. MySQL and other software is OK'd to be newest release. I was able to install from source the Apache2.0 without issues. However, I cannot compile successfully the PHP 4.4.9. Anyone able to assist me? I've been all over the web looking for prebuild binaries but not having much luck. My mysql-devel packages are installed. I've tried changing the --with-mysql=/usr/include/mysql part (to point elsewhere) but its not been successful either. Code:
[root@machine php-4.4.9]# yum install mysql-devel mysql |
Change "–with-mysql=/usr/include/mysql" to just "–with-mysql=/usr" and see if that helps.
Regards |
It works now, thanks a lot!!
I swear that I had tried that, but I got no complaints this round, so thank you very much, bathory!!
For future viewers, it was indeed needed to change the configure to read like this (below); I also had to make clean before it would rerun make: Code:
cd /usr/src/misc/php-4.4.9 |
All times are GMT -5. The time now is 06:56 PM. |