1) Removed the php extension directories and recompiled apache/PHP
2) Rebooted the machine.
3) I removed the Ice-3.5.1 source folder and extracted a fresh copy
4) Setup the PHP_HOME and ICE_HOME in configs/export

5) Recompiled Ice PHP to get a new IcePHP.so, tossed it in the extensions folder and bam, shows up now with php -m | grep ice


php.ini

1954 [ice]
1955 ;========ICE===============
1956 ;extension_dir = /opt/Ice-3.7.0/php
1957 extension = IcePHP.so
1958 ;include_path = /opt/Ice-3.7.0/php
1959 ;========end ICE===============
"/etc/php5/apache2/php.ini" 1959 lines --100%--


把IcePHP.so拷贝到下面的目录

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/IcePHP.so' - /usr/lib/php5/20131226/IcePHP.so: cannot open shared object file: No such file or directory in Unknown on line 0


查看是否加载成功

/var/log/apache2/error.log



posted on 2016-01-03 12:01  未雨愁眸  阅读(274)  评论(0编辑  收藏  举报