Link to home
Start Free TrialLog in
Avatar of Anupama_2005
Anupama_2005Flag for India

asked on

Apache2 configuration for php5 : apxs not found

Hello,

We are trying to install php5 on SuSe 10 OSS. Before this we need to configure Apache for php which is done using ./configure with apxs but in our case I can not located apxs in /usr/sbin directory where apache2ctl is installed.

I have installed 2 different versions of Apache but apxs is still not visible in server, though man pages for apxs are available.

where I run ./configure it says
/bin/sh bad interpreter Permission Denied.

Could you please provide some solution why apxs is not getting installed ?

Many Thanks
Regards
Avatar of imacgouf
imacgouf

Is it

# ./configure --with-apxs2=/usr/local/apache2/bin/apxs
Just for your reference, here is one on Setting Up PHP 5 Under Suse 9.1
http://www.artima.com/forums/flat.jsp?forum=271&thread=70581
Avatar of Anupama_2005

ASKER

Hello,

I have not yet started with php5 configuration, It gives error while configuring Apache itself

I downloaded httpd-2.0.58 and when I say  

sh ./configure --enable-so

......
......

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
/data2/apache/httpd-2.0.58/srclib/apr/configure: /data2/apache/httpd-2.0.58/srclib/apr/build/get-version.sh: /bin/sh: bad interpreter: Permission denied
/data2/apache/httpd-2.0.58/srclib/apr/configure: /data2/apache/httpd-2.0.58/srclib/apr/build/get-version.sh: /bin/sh: bad interpreter: Permission denied
APR Version:
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
configure failed for srclib/apr

What could be the reason for this ?
Regards
Amit

ASKER CERTIFIED SOLUTION
Avatar of GinEric
GinEric

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial