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

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.

[root@rhel6 ~]# 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.

[root@rhel6 ~]# 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.

[root@rhel6 ~]# 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

Your email address will not be published. Required fields are marked *

SiteGround.com

A world leading hosting company that provides fully-managed innovative and secure solutions, suitable for hosting small to medium-sized websites

Built on the best available technologies combined with Google Cloud for strong redundancy and application availability. Backed by skilled experts to address web security threats, a devops team to create advanced custom security solutions, and 24/7 sysadmins to watch over the platform. This powerful, hands-on approach makes your sites faster, safer, and easier to manage. Starting from only $3.95/mo.

TRY FREE

* up to 30 days money back guarantee