php install yaml extension
10,341
You need to edit php.ini file in order to unable the extension. Here is how you can do it.
Command to open and edit the file.
sudo nano /etc/php5/apache2/php.ini
Above command might ask you for the system password you're working on. I've used nano
as a text editor you can use any of your choice. (e.g. gedit
)
Now go to end of the opened file and paste the following code.
extension=yaml.so
Now save the opened file and close it.
That's all it needs to setup the library. Make sure you restart the apache server to make changes work.
You can restart apache server using following command.
sudo service apache2 restart
Author by
wxcvbn
Updated on June 04, 2022Comments
-
wxcvbn almost 2 years
I try to install yaml extension for PHP.
I follow this tutorial : https://github.com/LegendOfMCPE/LoM-CMS/wiki/How-to-Install-LibYAMLI have already do:
sudo apt-get install php-pear libyaml-dev pecl install yaml
But I don't understand the end:
/etc/php5/apache2/php.ini extension=yaml.so
Can you explain me the last commands?