Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

PHP make problem

407119Oct 22 2003 — edited Oct 22 2003
My system is Linux and i've installed Oracle9i Database 9.2.0.1.0.
Apache server was included in installation.

Now i want to install PHP 4.3.3 (also tried on earlier versions) with oracle support.
I used the following configuration:
./configure with-oci8=$ORACLE_HOME with-apxs=$ORACLE_HOME/Apache/Apache/bin/apxs with-mysql=/usr enable-sigchild

The configuration didn't ran on any problems.
Problems accured with: make
In file included from /home/oracle/php-4.3.3/sapi/apache/sapi_apache.c:24:
/home/oracle/php-4.3.3/sapi/apache/php_apache_http.h:22:19: httpd.h: No such file or directory
/home/oracle/php-4.3.3/sapi/apache/php_apache_http.h:23:25: http_config.h: No such file or directory
/home/oracle/php-4.3.3/sapi/apache/php_apache_http.h:33:23: http_core.h: No such file or directory
/home/oracle/php-4.3.3/sapi/apache/php_apache_http.h:34:23: http_main.h: No such file or directory
/home/oracle/php-4.3.3/sapi/apache/php_apache_http.h:35:27: http_protocol.h: No such file or directory
/home/oracle/php-4.3.3/sapi/apache/php_apache_http.h:36:26: http_request.h: No such file or directory
/home/oracle/php-4.3.3/sapi/apache/php_apache_http.h:37:25: http_log.h: No such file or directory
/home/oracle/php-4.3.3/sapi/apache/php_apache_http.h:38:25: util_script.h: No such file or directory
/home/oracle/php-4.3.3/sapi/apache/sapi_apache.c:28: parse error before '*' token
/home/oracle/php-4.3.3/sapi/apache/sapi_apache.c: In function `apache_php_module_main':
/home/oracle/php-4.3.3/sapi/apache/sapi_apache.c:30: `OK' undeclared (first use in this function)
/home/oracle/php-4.3.3/sapi/apache/sapi_apache.c:30: (Each undeclared identifier is reported only once
/home/oracle/php-4.3.3/sapi/apache/sapi_apache.c:30: for each function it appears in.)
/home/oracle/php-4.3.3/sapi/apache/sapi_apache.c:40: `display_source_mode' undeclared (first use in this function)
/home/oracle/php-4.3.3/sapi/apache/sapi_apache.c:45: `NOT_FOUND' undeclared (first use in this function)
make: *** [sapi/apache/sapi_apache.lo] Error 1

So how can i properly install PHP with oracle support and with Oracle installed http server.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 19 2003
Added on Oct 22 2003
2 comments
686 views