I've installed "PHP PECL EXTENSION/MODULE ON UBUNTU". At the end, I was asked to add some configuration lines in the a file called php_ini that can be found in this path:
/etc/php5/apache2/php.ini
However, after making my changes, I can't save the file because the file is read-only.
What the appropriate action to save my changes. I don't really why the file is read-only, I don't know if there is some thing I need to do. I'm new in Ubuntu/php
Thanks for helping.
Click on the link to edit the php. ini file. You can see the current version of the file in the editor. After you changed the file click on the Save button to save all changes you have made.
In Windows 8 search for the notepad, right click on it and select "run as administrator" then click File and then open your php. ini which is stands by the name of "php" only, then modify it and save it.
For accessing the system files you need root permission.So you would need to use sudo
command.it would be like sudo vim /etc/php5/apache2/php.ini
(if u are using vim editor) as user2075215
mentioned in comment.
Use command:
"sudo gedit /etc/php5/apache2/php.ini"
It will open text editor, change your settings and save with ctrl+s and close the editor.
All changes will be saved.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With