title: How to install php yaml on CentOs?
body: <p>On the start I was getting this error:</p>
  
  <pre><code>Call to undefined function yaml_parse_file()
  </code></pre>
  
  <p>I have tried everything what I have found over google:</p>
  
  <pre><code>yum install libyaml
  yum install yaml
  yum install perl-yaml
  </code></pre>
  
  <p>and etc.</p>
  
  <p>Now I'm getting:</p>
  
  <pre><code>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
  </code></pre>
  
  <p>Already added </p>
  
  <pre><code>extension=yaml.so
  </code></pre>
  
  <p>in php.ini file</p>
  
  <p>Details:</p>
  
  <pre><code>CentOS release 6.7 (Final)
  PHP 5.4.45
  </code></pre>
  
  <p>SS after I ran upper install commands:
  <a href="https://i.stack.imgur.com/eieVQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eieVQ.png" alt="enter image description here"></a></p>
  
  <p>What is the proper way to install yaml support in php?</p>