[BlueOnyx:00323] Re: recompile PHP5

René Mølsted molsted at iweb.dk
Mon Jan 19 17:00:16 -05 2009


On 19/01/2009, at 22.39, Scott wrote:

> I need to recompile PHP5 on my test BlueOnyx box and have  
> encountered a problem.  When I run the confgiure script I get the  
> following:
>
> Sorry, I cannot run apxs.  Possible reasons follow:
>
> 1. Perl is not installed
> 2. apxs was not found. Try to pass the path using --with-apxs2=/path/ 
> to/apxs
> 3. Apache was not built using --enable-so (the apxs usage page is  
> displayed)
>
> The output of /usr/sbin/apxs follows:
> ./configure: line 6699: /usr/sbin/apxs: No such file or directory
> configure: error: Aborting
>
> I see that Apache2 is installed via RPM but php was likely compiled  
> however Apache doesn't seem to be compiled with "--enable-so".  BTW  
> I am just taking the configure script variables from the phpinfo();  
> output.
>
> Any ideas?
>
> Scott.
>
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at blueonyx.it
> http://www.blueonyx.it/mailman/listinfo/blueonyx



Scott,
I believe you have to install httpd-devel:
yum install httpd-devel

Be aware that you're likely to break the admin-gui, unless you install  
a non-standard path.


-- 
Rene Molsted







More information about the Blueonyx mailing list