编译php-4.4.7支持oci8
上次装的是APACHE2.2.4但对ORACLE的问题一直没解决,没办法只好再编译APACHE1.3.37和php4.4.7
前面已经介绍过装oracle客户端了,这里主要针对APACHE1.3.37和php4.4.7的编译记录一下
Apache
tar -zxvf apache-
cd apache_
./configure --prefix=/opt/app/apache-
make
make install
Ph
tar -zxvf php-
cd php-
export LD_LIBRARY_PATH=/usr/lib/oracle/
echo /usr/lib/oracle/
ldconfig
export ORACLE_HOME=/usr/lib/oracle/
./configure --prefix=/opt/app/php-4.4.7/ --with-apxs=/opt/app/apache-1.3.37/bin/apxs --with-config-file-path=/opt/app/php --with-zlib --enable-sockets --enable-gd-native-ttf --with-gd --with-ttf --with-gdbm --with-gettext --with-iconv --with-png --with-xml --with-zlib --enable-exif --enable-mbstring –with-ldap --with-curl --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-t1lib=/usr/local --enable-sigchild --with-ldap --with-oci8-instant-client
make
make install