All posts in VPS

How can I tell if mod_rewrite is enabled for my server?

We have our servers with mod_rewrite pre-configured (enabled). You can see this by running

If you are going to use rewrite rules in .htaccess, make sure the htaccess support is enabled for the domain. This can be done in the control panel, under the web hosting configuration section. A . . . Read more

FTP Users Login Error when using ProFTPd: USER username (Login failed): Incorrect password.

If when using ProFTPd you see this error: USER username (Login failed): Incorrect password And, the /var/log/secure log shows: proftpd: PAM unable to dlopen(/lib64/security/ /lib64/security/ cannot open shared object file: No such file or directory The solution is to replace the /etc/pam.d/proftpd file with the following:

CRON Unable to Save to configuration file

Our Cron tool is designed to save changes to the configuration file only when the first line of this file is: ### sgcontrol.enabled=1 This way we avoid overwriting things that the user may have added manually. If CRON is Unable to Save, we recommend that you remove the file completely . . . Read more

CRON jobs – VPS Quick Setup Guide

ServerGrove’s VPS Control Panel makes it easy to add a new cron job, simply follow these steps: 1) log into your VPS 2) Click on the server you need to manage, then click on Applications from the dropdown menu 3) Click on the CRON Manage button 4) If this is . . . Read more

yum upgrade fails

If you are trying to upgrade your VPS installation with yum upgrade, try these commands:

After that, run yum upgrade again. If this still does not solve your problem, feel free to submit a support ticket.

How do I install / upgrade PHP using YUM and RPM packages?

ServerGrove provides a Yum repository with the latest PHP versions packages in RPM. This makes dead simple to install and upgrade PHP. Follow these steps to setup the repository in your server and install / upgrade PHP: Setup ServerGrove repository If you have not installed the repository, download the RPM . . . Read more

How do I fix downgraded / broken PHP after installing RPM packages?

PHP should not be installed via yum/rpm in CentOS as the version distributed is very old. To fix it follow these steps:

Replace 5.2.11 with the version in your system. These steps will re-install the custom PHP installation in your VPS. If you have any doubts, feel free to . . . Read more