How to install Webasyst on CentOS

Webasyst is an open source PHP framework used by web developers to create multi-user web applications in the back-end and front-end. It is a framework that combines web publishing, blogging and e-commerce tools with e-commerce collaboration tools.

This installation guide assumes that Apache, MySQL and PHP are already installed and configured on your server. At the time of this writing, the latest stable version of the Webasyst framework is and requires:

  • PHP 5.2 or later with cURL, dom, GD graphics library, iconv, json, mbstring and zlib extensions enabled. Also allow_url_fopen must be enabled in php.ini
  • Apache, Nginx or Lighttpd web server
  • MySQL 4.1 or later on your Linux VPS.

Let’s start by installing Webasyst.

Download the latest version of Webasyst available at ‘’ to a directory on the server and extract it using the following commands:

cd /opt/
wget -O webasyst.tar.gz

Unpack the archive and move the Webasyst framework files to the root directory of your site:

mkdir -p /opt/webasyst
tar -xvzf webasyst.tar.gz -C /opt/webasyst
mv /opt/webasyst /var/www/html/

The web server user (Apache) needs to be able to write to specific files and directories, so you can easily achieve this by running the following command:

chown apache:apache -R /var/www/html/webasyst

Find your PHP configuration file using the following command:

#php -i | grep php.ini
Configuration File (php.ini) Path => /etc
Loaded Configuration File => /etc/php.ini

Modify the ‘php.ini’ file and include URL_aware_fopen, which allows URL objects to be treated like files by adding the following line:

allow_url_fopen = On

Create a new Apache virtual host directive. For example, edit the Apache config file (‘/etc/httpd/conf/httpd.conf’ by default) and uncomment the following line:

#NameVirtualHost *: 80

Then add the following lines at the end:

<VirtualHost server_IP:80>
ServerAdmin [email protected]
DocumentRoot /var/www/html/webasyst/
<Directory /var/www/html/webasyst/>
    Options FollowSymLinks
    AllowOverride All
    ErrorLog logs/
    CustomLog logs/ common

Restart the Apache web server for the changes to take effect:

service httpd restart

Create a new MySQL database to use Webasyst and assign a user to it with full access rights:

mysql> CREATE DATABASE webasystdb;
mysql> GRANT ALL PRIVILEGES ON webasystdb.* TO 'webasystuser'@'localhost' IDENTIFIED BY 'your-password' WITH GRANT OPTION;
mysql> quit

Open a web browser, go to http: //xxx.xx, start the installation process and follow the simple instructions: enter your MySQL database connection credentials that Webasyst will use to store system and application data, and then create a new user account … Log into the Webasyst backend and customize it according to your needs, add users, widgets, plugins, etc. All. Installation of Webasyst is complete.

CentOS-logo.jpg.webp?x69943″ alt=”How to install Webasyst on CentOS” width=”600″ height=”275″ srcset=”” sizes=”(max-width: 600px) 100vw, 600px”>

PS. If you liked this post, please share it with your friends on social networks using the buttons on the left side of the post, or just leave a comment below. Thank you.