Elxis CMS Forum

Support => Installation => Topic started by: ROUBOS on February 23, 2016, 17:55:55

Title: 4.3 Instalation and configuration file
Post by: ROUBOS on February 23, 2016, 17:55:55
Hi,
I installed 4.3 in a subfolder of a current 2009 installation domain.gr/new
I did put the repository folder on root level. By that I mean a level up of httpdocs/ and the installation did go through.
Now the configuraiton file was never created. It was named configuration_sample.php or something like that. I renamed it. But now I cannot make any changes within admin or install plugins.
Does this mean that I have permission issues?
What permissions should I set to configuration.php and repository folder or its content such as cache and temp folders?

thanks
Title: Re: 4.3 Instalation and configuration file
Post by: datahell on February 23, 2016, 19:04:55
File "configuration_sample.php" is a sample configuration file that preexist Elxis installation. Elxis installer during install creates the actual "configuration.php" file and deletes the sample one. If the file was not created it is because php has no write permissions on the Elxis folder.

You have 2 choices:
1. Open configuration_sample.php, set all options to the problem values and rename it to configuration.php.
2. Make the root folder write-able (permissions 777) and re-install Elxis. You can afterwards change permissions back to 755.

To install a module folder "modules" must be writeable. To install a plugin folder "content/plugins/" must be writeable. To install a component folder "components" must be writeable, etc...
Title: Re: 4.3 Instalation and configuration file
Post by: ROUBOS on February 24, 2016, 00:03:25
Hi,
by write-able you mean 755 right?
what about the repository folder?
I place it above httpdocs and what permissions does it need to have? 755? the temp/ and cache/ ??? 777 ?
Title: Re: 4.3 Instalation and configuration file
Post by: datahell on February 24, 2016, 09:16:57
We have many times discussed about file/folder permissions in this forum. The proper permissions depend on your server setup and specifically on which is the apache user.

1. If the apache (web server) runs as a user different than the one it owns the files (classic mod_php) then writeable files must have permissions 666 and writeable folders 777.

2. If the apache (web server) runs as the same user with the one it owns the files (suphp, suexec) then writeable files must have permissions 644 and writeable folders 755.

Most server setups today are in case 2.

Tips