[root@test modules]# strings libphp5.so |grep --color configure
'./configure' '--prefix=/usr/local/php5.4.45' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-mbstring' '--with-curl' '--with-openssl' '--with-zlib' '--enable-sockets' '--enable-ftp'
Unable to find the wrapper "%s" - did you forget to enable it when you configured PHP?
Unable to find the socket transport "%s" - did you forget to enable it when you configured PHP?
1 个回复
OS小编 - 开源技术社区小编,我就是这么爱学习!
赞同来自: 空心菜 、Geek小A
所以你想知道你apache使用的php的加载路径,进入到apache安装目录下面的modules下面有个libphp5.so,执行示例如下:
如上操作就能看出来了。