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 https://getcomposer.org/installer | 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.

wget https://github.com/pH7Software/pH7-Social-Dating-CMS/archive/master.zip;
unzip master.zip;
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 > your-site.com > 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 > your-site.com > Options > Apache Directives:

<VirtualHost *:80>
     ServerAdmin admin@example.com
     DocumentRoot /var/www/html/ph7builder
     ServerName example.com

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

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

</VirtualHost>
Leave a Reply