Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
IOS Hotels
and
IOS Rentals
online booking systems for Elxis CMS.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Installation
»
4.3 Instalation and configuration file
« previous
next »
Print
Pages: [
1
]
Author
Topic: 4.3 Instalation and configuration file (Read 10365 times)
ROUBOS
Hero Member
Posts: 699
4.3 Instalation and configuration file
«
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
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: 4.3 Instalation and configuration file
«
Reply #1 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...
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
ROUBOS
Hero Member
Posts: 699
Re: 4.3 Instalation and configuration file
«
Reply #2 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 ?
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: 4.3 Instalation and configuration file
«
Reply #3 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
In any case a file with permissions 666 and a folder with permissions 777 is writeable.
If you are in case 1, it helps enabling ftp access in Elxis configuration because Elxis will access the files via the same (ftp) user as the one it owns the files.
Three digits permissions
XYZ
, X: Permissions for the user owner of the file, Y: Permissions for the user group of the file, Z: Permissions for the public.
Read digit:
4
, Execute:
2
, Write:
1
So for
755
:
User:
7
= 4 + 1 +2 = Read/Write/Execute
Groups:
5
= 4 + 1 = Read/Execute
Public:
5
= 4 + 1 = Read/Execute
For more
click here
We never give permissions Execute to files except if they are cgi files or shell scripts. So for files use 644 (Read/Write - Read - Read) or 666 (Read/Write - Read/Write - Read/Write)
A
read only file
must have permissions: Read - Read - Read =
444
(attention: only root user can modify it)
«
Last Edit: February 24, 2016, 09:30:15 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Installation
»
4.3 Instalation and configuration file