红联Linux门户
Linux帮助

php5编译支持oci8问题

发布时间:2009-02-01 11:25:23来源:红联作者:以软击石
在linux下编译php5
./configure --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs --with-gd --with-zlib --with-png-dir --with-jpeg-dir=/usr/local/jpeg6/ --with-freetype-dir=/usr/local/freetype/ --enable-sockets --with-oci8=/home/oracle/OraHome1
运行后提示
If you encounter processes when using a local Oracle-DB |
| please recompile PHP and specify --enable-sigchild when configuring|
| (This problem has been reported under Linux using Oracle >= 8.1.5)
make+make install后,重启apache提示
httpd: Syntax error on line 223 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /home/oracle/OraHome1/lib/libclntsh.so.9.0: undefined symbol: __cmpdi2
是什么原因
文章评论

共有 1 条评论

  1. 以软击石 于 2009-02-01 13:49:16发表:

    没人帮我吗?
    在编译时加上--enable-sigchild就不会提示If you encounter processes when using a local Oracle-DB |
    | please recompile PHP and specify --enable-sigchild when configuring|
    | (This problem has been reported under Linux using Oracle >= 8.1.5)
    但make+make install后,重启apache还是会提示
    httpd: Syntax error on line 223 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /home/oracle/OraHome1/lib/libclntsh.so.9.0: undefined symbol: __cmpdi2