我已经在Linux4.0.4x86_64 (ubuntu14)机器上安装了ISArfc-1.4.1。
PHP版本:PHP5.6.11
步骤已完成
完成这些操作后,phpinfo页面中的所有步骤都没有显示。
在中,还提到了phpinfo页面中解析的.ini文件中的部分,saprfc.ini路径。
/etc/php5/apache2/conf.d/20-saprfc.ini当我检查/var/log/apache2/error.log文件时,我得到了以下错误
caught SIGTERM, shutting down
PHP Warning: PHP Startup: saprfc: Unable to initialize module\nModule
compiled with module API=20131226\nPHP
compiled with module API=20121212\nThese options need to match\n in Unknown on line 0
PHP Warning: PHP Startup: saprfc: Unable to initialize module\nModule
compiled with module API=20131226\nPHP compiled with module
API=20121212\nThese options need to match\n in Unknown on line 0发布于 2015-08-13 13:58:15
最后,我找到了解决这个问题的办法。
已经安装了2个PHP,分别为5.5.9和5.6.11。
运行,它返回了me /usr/bin/,它返回了哪个php (查找使用了php )
执行以下命令,并在saprfc中执行:
/usr/bin/phpize
./configure --with-php-config=/usr/bin/php-config
make
make test
make install在extension=saprfc.so文件中添加扩展名( php.ini )
重新启动apache
sudo服务apache2重新启动
https://stackoverflow.com/questions/31758829
复制相似问题