faqts : Computers : Programming : Languages : PHP : Installation and Setup : Web Servers : Apache

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

50 of 62 people (81%) answered Yes
Recently 8 of 10 people (80%) answered Yes

Entry

When I install / configure PHP, the apxs command is not found, why?

Feb 24th, 2002 21:49
Philip Olson, murray thorpe, Onno Benschop,


First, let's define exactly what apxs is as it has nothing to do with
PHP, it's specific to Apache.  See the following documentation:
  http://httpd.apache.org/docs/dso.html
  http://httpd.apache.org/docs/programs/apxs.html
The most likely reason you lack apxs is that your Apache was installed
as an RPM.  When installing something from RPM there is usually a
matching -devel RPM.  For example:
  apache-devel-1.3.23-2.i386.rpm
  apache-1.3.23-2.i386.rpm
You are needing the Apache development package as it contains apxs. 
It's worth mentioning that if you install Apache from source, the devel
goodies will be installed too and aren't seperate.