Posted on Leave a comment

Install pH7CMS on ISPConfig

To get pH7CMS latest release you may want to use Github repository… Install Composer, Curl and other dependencies to get started…

sudo apt install curl git
curl -sS | sudo php -- --install-dir=/usr/local/bin --filename=composer

After installing curl and Composer like above, change into the client directory. Then download and extract pH7CMS…

We use composer to install all dependencies.

mv pH7-Social-Dating-CMS-master/* ./;
rm -r ./pH7-Social-Dating-CMS-master/
composer install;

Next we move the _protected folder to the clients private folder outside the web…

mv _protected/ /var/www/clients/client1/web1/private/

ISPConfig > Home > Sites > > Options > Custom php.ini settings:

file_uploads = On
allow_url_fopen = On
short_open_tag = On
memory_limit = 256M
upload_max_filesize = 100M
max_execution_time = 360
date.timezone = Europe/Berlin

ISPConfig > Home > Sites > > Options > Apache Directives:

<VirtualHost *:80>
     DocumentRoot /var/www/html/ph7builder

     <Directory /var/www/html/ph7builder/>
          Options FollowSymlinks
          AllowOverride All
          Require all granted

     ErrorLog ${APACHE_LOG_DIR}/error.log
     CustomLog ${APACHE_LOG_DIR}/access.log combined