[PHP] “ERROR: Unable to set php_value ‘soap.wsdl_cache_dir’”
解決403問題
從 nginx log 發現可能是 php-fpm 的問題
再看到 php-fpm log
[22-May-2017 08:43:38] WARNING: [pool www] child 2037 said into stderr: "ERROR: Unable to set php_value 'soap.wsdl_cache_dir'"~
找到 php-fpm.d/www.conf
; Set session path to a directory owned by process user~
224 php_value[session.save_handler] = files~
225 php_value[session.save_path] = /var/lib/php/session~
226 php_value[soap.wsdl_cache_dir] = /var/lib/php/wsdlcache~
yum install php56w-soap
留言
張貼留言