I've recnetly installed Red Hat 9 and during installation I installed Apache also. However, now I want to install PHP4 but when I run the confiugre line:
I get the following error:
configure: error: Invalid Apache directory - unable to find httpd.h under /usr/sbin
I searched for httpd.h but it's not found. I'm half guessing here, but am I correct in saying that httpd.h would be created if you compiled apache rather than installing from RPM? If so then how can I get around this without re-installing apache from source code? I now I could install PHP from RPM but I'd like to learn how to do this this way. However I don't want to re-install apache from source unless I have to as I have some files in the doc root that I don't want to loose
Code:
./configure --with-apache=/usr/sbin --with-mysql=/usr/sbin
configure: error: Invalid Apache directory - unable to find httpd.h under /usr/sbin
I searched for httpd.h but it's not found. I'm half guessing here, but am I correct in saying that httpd.h would be created if you compiled apache rather than installing from RPM? If so then how can I get around this without re-installing apache from source code? I now I could install PHP from RPM but I'd like to learn how to do this this way. However I don't want to re-install apache from source unless I have to as I have some files in the doc root that I don't want to loose