RE: concrete5
06-19-2015, 11:50 PM
(This post was last modified: 06-19-2015, 11:53 PM by apinto.)
(06-19-2015, 11:10 PM)TheVP Wrote:(06-17-2015, 09:06 AM)apinto Wrote: Concrete5 should work without any issues in Sentora.
The latest version actually doesn't because it attempts to use /var/sentora/sessions/ to store its sessions.
You should go to Admin > Module Admin > Apache Config. Scroll to the "Override a Virtual Host Setting" section and select the domain where you run concrete5.
In the "Custom Entry" field, enter:
php_admin_value open_basedir "/var/sentora/hostdata/ACCOUNT_NAME/public_html/DOMAIN_NAME:/var/sentora/temp:/var/sentora/sessions/"
Alternatively, you can make concrete5 store its sessions in the database but you should wait for another version so they can make it easier to do so.
Adding the session dir to a VHost is not a good idea.
Just change the sessions directory on Concrete5 install folder via php.ini
http://php.net/manual/en/function.session-save-path.php
You can edit
concrete/startup/session.php
PHP Code:
ini_set('session.save_path', DIR_SESSIONS);
DIR_SESSIONS is defined on concrete/startup/file_permission_config.php
PHP Code:
# Sessions/TMP directories
if (!defined('DIR_SESSIONS')) {
define('DIR_SESSIONS', Loader::helper('file')->getTemporaryDirectory());
}
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora
Graphic and Web Design. Development.
www.vanguardly.com
[Module] Mail Quota Count | Vagrant Box with Sentora
Graphic and Web Design. Development.
www.vanguardly.com