简体   繁体   English

在cent0s 6.7中安装php-soap不在php-info中显示

[英]installing php-soap in cent0s 6.7 not showing in php-info

I have installed soap php by this command 我已经通过此命令安装了肥皂php

yum install php-soap 百胜安装php-soap

below is the package information Package php-soap-5.3.3-46.el6_7.1.x86_64 already installed and latest version 以下是软件包信息软件包php-soap-5.3.3-46.el6_7.1.x86_64已经安装和最新版本

after that i updated updatedb and located soap.so at location /usr/lib64/php/modules/soap.so 之后,我更新了updatedb,并在位置/usr/lib64/php/modules/soap.so中找到了soap.so。

i have added extension in file /usr/local/lib/php.ini extension= "/usr/lib64/php/modules/soap.so" 我在文件/usr/local/lib/php.ini中添加了扩展名extension =“” /usr/lib64/php/modules/soap.so“

after that i restarted apache httpd 之后,我重新启动了Apache httpd

service httpd restart 服务httpd重新启动

i cant see soap in php-info.. i double checked everything... i dont know what went wrong.. 我无法在php-info中看到肥皂。.我仔细检查了所有内容...我不知道出了什么问题..

check this in command line: 在命令行中检查:

php -i|grep soap

if there is : 如果有 :

/etc/php.d/soap.ini,
soap
soap.wsdl_cache => 1 => 1
soap.wsdl_cache_dir => /tmp => /tmp
soap.wsdl_cache_enabled => 1 => 1
soap.wsdl_cache_limit => 5 => 5
soap.wsdl_cache_ttl => 86400 => 86400

then you can use soap in your code. 那么您可以在代码中使用肥皂。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM