LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Problem in Apache (https://www.linuxquestions.org/questions/linux-server-73/problem-in-apache-870479/)

ramecare 03-23-2011 09:07 AM

Problem in Apache
 
Hi,
I have configured apache by using the package yum intall httpd* and while installing php-5.2.13 there is a configuration problem,the command which i used to configure php is
./configure --with-apxs2=/etc/httpd/bin/apxs --with-config-file-path=/etc/httpd/conf/php.conf --with-zlib --with-mysqli=/usr/bin/mysql_config
After tat it shows the error:
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking whether to enable Apache charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS...

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 /etc/httpd/bin/apxs follows:
./configure: line 6461: /etc/httpd/bin/apxs: No such file or directory
configure: error: Aborting

I have installed perl rpm also but it shows not installed,Can any one help me on this

Thank u

bathory 03-23-2011 09:45 AM

Quote:

The output of /etc/httpd/bin/apxs follows:
./configure: line 6461: /etc/httpd/bin/apxs: No such file or directory
configure: error: Aborting
You don't have apxs. If you're running Centos you need to install the httpd-dev package to get apxs
May I ask why you're trying to install php from source and not through your package manager (yum).


All times are GMT -5. The time now is 06:34 AM.