![]() |
Home My Faqts Contributors About Help Link to FAQTS |
+ Search |
![]()
|
Jul 16th, 2000 03:46
Fabrice Legrand,
Here is my solution to compile Apache + PHP + OCI + Oracle on RedHat6.2 Linux Oracle 8 Client must be installed correctly before install Apache and PHP4 $ gunzip -c apache_1.3.x.tar.gz | tar xf - $ cd apache_1.3.x $ ./configure --with-layout=RedHat $ cd .. $ gunzip -c php-4.0.x.tar.gz | tar xf - $ cd php-4.0.x $ ./configure --with-oci8=/oracle/OraHome --with- oracle=/oracle/OraHome --with-mysql --with-apache=../apache_1.3.x -- enable-track-vars $ make $ make install $ cd ../apache_1.3.x $ ./configure --with-layout=RedHat --activate- module=src/modules/php4/libphp4.a $ make $ make install $ cd ../php-4.0.x $ cp php.ini-dist /usr/local/lib/php.ini You can edit /usr/local/lib/php.ini file to set PHP options. Edit your httpd.conf or srm.conf file and add: AddType application/x-httpd-php .php zorbat@citeweb.net