apache - Joomla 3.4.3 - configuration.php not writable -
using mariadb, apache, php 5.4.x, rhel 7
how allow configuration.php written to?
installed joomla several times, ending configuration.php file not writable. proceeded, copied config content , created new php file, placed joomla lives, opened permissions, changed apache:apache, still nothing. i've referenced several articles, notably one: installing joomla 3 error: configuration file or directory not writable
i have tried creating empty configuration.php file , placing in joomla root, opening permissions - didnt work.
my current state of installation configuration.php file in place, unable remove installation directory via web installer (assuming because shoehorned config file place , still not being writable).
i've tried several permissions setups attempting remove install directory without success. manually removing install directory via rm -r yields totally inaccessible site forcing me wipe joomla files, databases, , install again. in advance.
the first thing check user php runs @ on server, , compare ownership of site files.
create user.php file @ root of domain
<?php echo exec('whoami'); ?>
then open file broser. give name of user php runs on server. may apache may not.
compare user ownership of config.php , site installation whole.
if upload new joomla site via sftp , follow standard browser instal steps, permissions shouldn't problem. if uploading zip file , using terminal connection , ssh, make sure ssh connection same user php user on server.
good luck!
Comments
Post a Comment