plesk

Taking a snapshot/backup of WordPress from the command line on a Plesk server

I quite regularly need to take quick backups of a WordPress installation while working on a Plesk server. Here’s a script I created that will dump the DB as well as backup the WordPress directory where the site files are in. The concept is easy, execution was a little more complicated since Plesk can now store a secondary domain’s root within the filesystem path of it’s master subscriptions domain. How it works The script will query the psa database for the domain id of a supplied domain. Next it will get the www root of the domain using the domain […]

Taking a snapshot/backup of WordPress from the command line on a Plesk server Read More »

Plesk PHP FastCGI and Safe Mode

Updated 06/09/2011 Trying to run a PHP site in FastCGI mode and wondering why Safe Mode won’t turn off even though its unticked in the panel? Yeah, it had me tearing my hair out too. Turns out that when running a site in PHP FastCGI mode, the Safe Mode setting in Plesk will NOT affect wether Safe Mode is on or off. In this mode, the Safe Mode setting is derived from the global php.ini. Here’s what it says in the Plesk 10 doco: Note: When PHP is operating in CGI or FastCGI modes, PHP settings are taken from the global php.ini file,

Plesk PHP FastCGI and Safe Mode Read More »

MagicSpam and Debian 6.0

Debian 6.0 has transitioned over to dependency based boot sequencing. This now allows sysinit scripts to specify dependencies between one another. This is done via an LSB header added to the top of the script. Here’s what the header looks like in /etc/init.d/apache2: ### BEGIN INIT INFO # Provides: apache2 # Required-Start: $local_fs $remote_fs $network $syslog $named # Required-Stop: $local_fs $remote_fs $network $syslog $named # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # X-Interactive: true # Short-Description: Start/stop apache2 web server ### END INIT INFO MagicSpam places two sysinit scripts into /etc/init.d/, magicspam-milter and magicspam-rn, both of

MagicSpam and Debian 6.0 Read More »

Plesk Migration Manager – Only one IPv4 and IPv6 adressess allowed on subscription

If you’ve ever seen this error, you know how frustrating it is. It took me about 3 days to work this one out, but here’s the solution. For some reason, sometimes the httpd includes that Plesk spits out in /var/www/vhosts/<domain>/conf gets out of sync with Plesk, and you might end up with orphaned includes which refer to old IP addresses which are no longer on the system. These still get read by Apache on startup, and cause problems with the Plesk Migration Manager (PMM). To fix, simply remove the unused/old include from the formentioned conf directory, and PMM should migrate

Plesk Migration Manager – Only one IPv4 and IPv6 adressess allowed on subscription Read More »

RSS feed for Plesk Panel 10 Microupdates

Updated 09/11/2011 Seeing as Parallels don’t provide an RSS feed for this, I took it upon myself to create one. It’s been working well for a few months now so I thought i’d publish it for the benefit of everyone else who might find this useful. Here it is: http://www.feed43.com/1013588122444128.xml If you discover any problems with it please let me know and i’ll do my best to fix them. Enjoy! Update: Parallels has just introduced their own RSS feed for microupdates, which kinda renders my feed redundant. feed://www.parallels.com/products/plesk/rss I’ll leave my feed up for a little while longer but I see

RSS feed for Plesk Panel 10 Microupdates Read More »

Scroll to Top