Upgrade to PHP 5.6 in VestaCP CentOS

Default VestaCP instillation for CentOS 6.7 comes with PHP5.4 . 1. Install the REMI and EPEL RPM repositories wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm && rpm -Uvh epel-release-latest-6.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm && rpm -Uvh remi-release-6*.rpm 2. Edit /etc/yum.repos.d/remi.repo vi /etc/yum.repos.d/remi.repo Under the section that looks… Continue Reading

How to Fix error: realpath(): open_basedir restriction in effect

During Magento installation on VestaCP CentOS you may have problem: [error] PHP Warning:  realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/admin/web/mydomain.com/public_html:/home/admin/tmp) in /home/admin/web/mydomain.com/public_html/vendor/magento/framework/Filesystem/DirectoryList.php on line 99 For fixing that error add /tmp into /home/admin/conf/web/httpd.conf Apache… Continue Reading