简体   繁体   中英

installing php-soap in cent0s 6.7 not showing in php-info

I have installed soap php by this command

yum install php-soap

below is the package information Package php-soap-5.3.3-46.el6_7.1.x86_64 already installed and latest version

after that i updated updatedb and located soap.so at location /usr/lib64/php/modules/soap.so

i have added extension in file /usr/local/lib/php.ini extension= "/usr/lib64/php/modules/soap.so"

after that i restarted apache httpd

service httpd restart

i cant see soap in php-info.. i double checked everything... i dont know what went wrong..

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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