How To Increase WordPress Maximum Upload File Size in VestaCP

How To Increase WordPress Maximum Upload File Size in VestaCP By default VestaCP upload_max_filesize is 2MB. If you want to upload a large media files, you will get error: “The uploaded file exceeds the upload_max_filesize”. Generally upload max size can… Continue Reading

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

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… Continue Reading