How to Fix Writable Issue or Error During Joomla CMS Pre-Installation Check on Linux

Share this Article :

Joomla is a the dynamic portal engine and content management system. Some of the Joomla’s newbie don’t really familiar with the joomla installation process and some of them stuck on “Pre-Installation Check” when trying to install Joomla site on your linux server. Most of them will get the following warning during the installation wizard :

configuration.php Writeable  -----------------> Set to 'No'
You can still continue the installation as the configuration settings will be displayed at the end. 
You will have to manually upload the code. Click in the text area to highlight all of the code and 
then paste into a new text file. Name this file 'configuration.php' and upload it to your site root folder.  

Joomla

Solution :
This is just a warning. The only file that needs to be writable during joomla installation is configuration.php. It should be set to 777 during the installation only. Before you start to change permission, you should copy the file configuration.php-dist from installation’s folder to joomla root folder. Make sure you rename configuration.php-dist to configuration.php.

[[email protected] ~]# cp /var/www/html/joomlatest/installation/configuration.php-dist /var/www/html/joomlatest/configuration.php

Check the existing permission setting for configuration.php. It should 644.

[[email protected] ~]# ls -l /var/www/html/joomlatest/configuration.php
-rw-r--r-- 1 root root 3184 Mar 24 21:42 /var/www/html/joomlatest/configuration.php

Initially, configuration.php is set to 644 or “rw-r–r–‘. Permission is set to 777 during installation process only. After successfully installed your joomla site, please change back the configuration.php to 644.

[[email protected] ~]# chmod 777 /var/www/html/joomlatest/configuration.php

Avoid using 777 to any directories or folders on the server for Joomla site because that means anyone can do anything to your folders!

Leave a Reply