• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

script

  1. P

    Resolved SetEnv website configuration unable to get value in cgi

    Hello, we use script language in cgi-bin mode. The scripts receive all Apache variables such as HTTP_REFERER, SERVER_NAME, ... but not environment variables such as LC_CTYPE. Does anybody knows the reason please ? Even if we define "SetEnv myvar "myvalue"" in section "Apache/Nginx" /...
  2. JaXnPriVate

    Question Serving external PHP Files without Session

    Is there any chance to service PHP Files, without Plesk Sessions inside or outside a Module via Install Scripts?
  3. H

    Question Plesk SMTP authentication Error through Python script

    I have one VPS with a Plesk server configuration. On the same VPS Plesk-Mail server is running. I am able to send mail through webmail. But whenever using a script and using the below values to send mail through SMTP, it gives an authentication error. How to solve this problem? Note: Same...
  4. AbramS

    Input Cloudflare Whitelist Scripts for Fail2ban and NGINX

    While migrating my Plesk server due to an OS upgrade last year, I pulled together the scripts that I wrote/modified and added some better documentation. I figured I would share these here, as there are probably some among you that can benefit from them. Hope it's helpful. Note: I've added links...
  5. A

    Resolved Run bash script as root from extension

    Hello, What is the recommended way (security wise) to launch a bash script as root from a Plesk extension from customer UI? Thanks
  6. J

    Question A scheduled task works over the web but not in Plesk

    Hi guys, A developer created a cron in plesk, to update all the categories, catalog and images of my client's online store in prestashop. After executing it, it shows the following: I have been bugging with open_basedir but nothing was fixed for me. The developer tells me exactly "the...
  7. T

    Question Scheduled task permanent for Website

    Hi Guys, I have a question about a script (The script was included in a HTML file) that I have to run permanently on the Plesk server. I have to set up an HTML file, i.e. a website that stays open permanently. It is roughly as if the Plesk server has the website open all the time, even if I am...
  8. teha

    Question How do insert line breaks from a PHP script into the Plesk cron job logs?

    Hello, I am running the recent version of Plesk (Plesk is updating automatically). I have a PHP script on my server which is run by a Plesk cron job every 6 hours and I set that I would like to receive the (error) log from the cron job by e-mail. When the cron job is running, the PHP script...
  9. stevang

    Question pre and post scripts for distupgrade (deb7 to deb8)

    Dist-Upgrade Support regarding the pre and post scripts under /usr/local/psa/bin/ or /opt/psa/bin/: in have the following files only. a deb7-deb8_post file is missing. distupgrade.helper.deb6-deb7_post.x64.sh distupgrade.helper.deb7-deb8_pre.x64.sh distupgrade.helper.deb7-deb8.x64.sh were...
  10. HHawk

    Question Changing PHP CLI version (with symlinks), is that good or bad?

    Hi all, I have a question, probably a bit silly, but still I want to make sure. We are using the following script from Github to change our PHP CLI version. It's a simple script which creates symlinks for the desired PHP version. By default PHP 5.4 is installed as CLI. We also install several...
  11. virtubox

    Input Bash script to compile Nginx from source with additional modules on Plesk Onyx

    Bash script to compile the latest Nginx stable/mainline release with additional modules -------------------------------------------------------------------------------------------------------------- Github Page : Plesk Nginx Github Repository : VirtuBox/plesk-nginx...
  12. M

    Input Use Wordfence to fill the firewall

    Some users have been using Wordfence to protect their sites. It detects nasty people trying to hack into other people's network. I thought of harvesting these IP's and wrote a script that collects these and use them in iptables. Each hour it scans all the WordPress sites on my server and adds...
Back
Top