Configure PHP with Oracle HTTP Server 11g
776196Jul 25 2011 — edited Jul 26 2011Hi,
I am trying to Configure PHP with Oracle HTTP Server 11g for setting up PHP application.
Followed the steps which are mentioned at http://www.oracle.com/technetwork/topics/php/php-ohs-092324.html#number22.
While executing at step 2.3 Configure & install step using following command
$./configure with-apxs2=$ORACLE_HOME/ohs/bin/apxs prefix=$ORACLE_HOME with-config-file-path=$CONFIG_FILE_PATH with-oci8=$ORACLE_HOME --disable-rpath
I am getting error message as mentioned below.
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 /u01/oracle/ohs/Oracle_WT1/ohs/bin/apxs follows:
apxs:Error: /u01/oracle/ohs/Oracle_WT1/ohs/bin/httpd not found or not executable
configure: error: Aborting.
Searched at forums and some other sites but not much information.
If any one has any idea why i am getting this error. Any steps i missed out or something related to configuration issue....?
Thanks,
Ravinder