上的開始,我收到此錯誤:如何在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