编译php-4.4.7支持oci8
2007-09-14 20:30
176 查看
这段时间为编译PHP支持ORACLE忙碌着,
上次装的是APACHE2.2.4但对ORACLE的问题一直没解决,没办法只好再编译APACHE1.3.37和php4.4.7
前面已经介绍过装oracle客户端了,这里主要针对APACHE1.3.37和php4.4.7的编译记录一下
Apache 1.3.37
tar -zxvf apache-1.3.37.tar.gz
cd apache_1.3.37/
./configure --prefix=/opt/app/apache-1.3.37 --enable-module=so --enable-module=rewrite --enable-shared=max
make
make install
Php 4.4.7
tar -zxvf php-4.4.7.tar.gz
cd php-4.4.7/
export LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.3/client/lib/
echo /usr/lib/oracle/10.2.0.3/client/ >> /etc/ld.so.conf
ldconfig
export ORACLE_HOME=/usr/lib/oracle/10.2.0.3/client/lib/
./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
上次装的是APACHE2.2.4但对ORACLE的问题一直没解决,没办法只好再编译APACHE1.3.37和php4.4.7
前面已经介绍过装oracle客户端了,这里主要针对APACHE1.3.37和php4.4.7的编译记录一下
Apache 1.3.37
tar -zxvf apache-1.3.37.tar.gz
cd apache_1.3.37/
./configure --prefix=/opt/app/apache-1.3.37 --enable-module=so --enable-module=rewrite --enable-shared=max
make
make install
Php 4.4.7
tar -zxvf php-4.4.7.tar.gz
cd php-4.4.7/
export LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.3/client/lib/
echo /usr/lib/oracle/10.2.0.3/client/ >> /etc/ld.so.conf
ldconfig
export ORACLE_HOME=/usr/lib/oracle/10.2.0.3/client/lib/
./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
相关文章推荐
- 编译PHP支持ORACLE(oci8)模块
- PHP 支持画图函数的编译方法
- 不重新编译为PHP增加LDAP模块的支持
- PHP 5.6.9 从源码编译支持多线版PHP 编译时添加参数 --enable-zts
- 源码编译的php不支持jpeg
- Linux下PHP开启Oracle支持(oci8)
- centos 7下源码编译安装php支持PostgreSQL
- CentOS 编译安装php5.5, 并配制支持apach,nignx核心代码
- PHP 7 编译安装开启 libevent 扩展支持
- 编译php不编译mysql让php支持mysql扩展
- ubuntu编译安装PHP5.6 ipArchive支持 configure: error: system libzip must be upgraded to version >= 0.11
- Debian/Ubuntu源码编译安装PHP--支持FastCGI
- linux下编译php支持jpeg的笔记
- linux下支持laravel和apache的php源码编译
- 手动编译Mysql5.6.10 手动编译php 支持fastcgi
- 重新编译php支持freetype
- 使php支持pdo_mysql、pdo_pgsql与追加编译mb_string
- 让php支持mysql,gd,apache,jpeg,freetype的编译配置指令
- Apache 配置------FastCGI方式使用PHP(包含:linux下编译安装fmod_fcgid,配置apache以支持FastCGI)
- 如何让命令行支持PHP语法编译