上的开始,我收到此错误:如何在CentOs上安装php yaml?
Call to undefined function yaml_parse_file()
我已经试过各种我已经找到了谷歌:
yum install libyaml
yum install yaml
yum install perl-yaml
等
现在我越来越:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/extensions/no-debug-non-zts-20100525/yaml.so' - /usr/lib64/extensions/no-debug-non-zts-20100525/yaml.so: cannot open shared object file: No such file or directory in Unknown on line 0
Exception: Extension yaml does not exist
已经加入
extension=yaml.so
在php.ini文件
详情:
CentOS release 6.7 (Final)
PHP 5.4.45
什么是PHP安装YAML支持的正确方法?从EPEL软件库
有没有php-yaml包?什么版本的CentOS? –
yum命令后是否见过成功消息? – Klaus
@JonathonReinhart - CentOS版本6.7(最终版) – CroiOS