I am trying to install php 4.3.4 on my Redhat 9 box. I am currently at php-4.2.2-17. I
downloaded the php 4.3.4.tar.gz file -
checked to make sure I had dynamic capability (which I do) --> httpd -l and the following was
output:
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
So I entered in the command :
./configure --with-mysql --with-apxs
it returns:
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS...
Sorry, I was not able to successfully run APXS. Possible reasons:
- Perl is not installed;
- Apache was not compiled with DSO support (--enable-module=so);
- 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
The output of apxs follows
./configure: line 3169: apxs: command not found
The most possible reason for the error is #3. I tried many different paths...but they all
return the same result. I tried searching my system for apsx....nothing found except for the
html document in the webroot (/var/www/html). I also looked in /usr/httpd/modules direcotry
where all the modules are....I didn't see the mod.so.c in there! Am I missing it? Does anyone
know the correct path to find this on a Redhat 9 box??
I looked at the following post - he had a similiar problem:
http://www.phpbuilder.com/board/showthread.php?threadid=1026