Archive for the ‘Plesk’ Category

PHP on domain running via CGI/FastCGI and sessions problem

Friday, May 7th, 2010

In CGI or FastCGI modes PHP runs with permissions of the domains FTP user.

FTP user is not allowed to write in the sessions directory. This means that customer who run php in cgi can not use sessions.

(more…)

How to upgrade phpMyAdmin in Plesk 9.x

Friday, May 7th, 2010

Parallels has a patched version of phpMyAdmin-2.11.?9.5-all-languages and script to migrate settings from phpMyAdmin-2.8.2.4 installed with Plesk.

To install phpMyAdmin 2.11.?9.5 you need to:

1. Download the archive and unpack it.

~# wget http://download1.parallels.com/Plesk/Autoupdate/phpmyadmin.zip
~# unzip phpMyAdmin.zip

2. Extract patched phpMyAdmin:

~# cd phpMyAdmin
~# tar -xzf phpMyAdmin-2.11.9.5-all-languages.tar.gz

3. Migrate settings from installed phpMyAdmin to new one:

~# cd phpMyAdmin-2.11.9.5-all-languages && sh ../migrate_settings.sh

4. Backup files of installed phpMyAdmin (you can remove it later):

~# mv /usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin /usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin.old

5. Move files of new phpMyAdmin to Parallels Panel root directory:

~# cd ../
~# mv phpMyAdmin-2.11.9.5-all-languages /usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin

Article source here

How to use nginx with Plesk

Friday, May 7th, 2010

Wondering through the forum of parallels I stumbled uppon a very interesting article, its is a about a way to change Apache web server port to use a lightweight high-performance web server, such as nginx, as a front-end web server, and move Apache web server to back-end.

(more…)

HORDE [error] [imp] Failed to open sendmail

Saturday, November 28th, 2009

If you try to send an email from the the webmail and get the error :Failed to open sendmail [/usr/sbin/sendmail] for execution.

or you see the following lines in the horde log:
ERROR: Nov 27 16:29:37 HORDE [error] [imp] Failed to open sendmail [/usr/sbin/sendmail] for execution. [on line 1087 of "/usr/share/psa-horde/imp/compose.php"]

The solution is:
(more…)

Plesk 9.x – SSL Error , certificate is for localhost.localdomain

Sunday, May 17th, 2009

When you install a certificate in a Plesk 9.x version you and try to check if ti works in the browser you might get a strange problem , the appearing SSL in the browser would be issued for localhost.localdomain (the default certificate that comes with the OS for example CentOS). (more…)

Plesk (windows) backup gives the error: Failed to connect to database: User ‘admin’ has exceeded the ‘max_user_connections’ resource (current value: 10)

Saturday, July 12th, 2008

when you try to backup the databases of the websites from Plesk Backup util and you get failure and the message “Failed to connect to database: User ‘admin’ has exceeded the ‘max_user_connections’ resource (current value: 10)” you have to change the mysql options

(more…)