• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

php

  1. 3

    Issue Can't load PHP curl

    Hope someone can help. I can't use curl in PHP, Plesk Obsidian 18.0.70. Curl worked fine in php7.x. Following plesk upgrade, curl is not available in php8.4.8. Curl (lib) doesn't appear in Tools & Settings > PHP Settings > 8.48 FPM "Settings for 8.4.8 FPM application" Extensions list, and so...
  2. F

    Question Auto-create databases using PHP

    Hey, is there any way to auto-create postgresql databases using php? I'm developing a multi-tenancy-software and it's required to create databases for each tenant they need one. How do I configure that in Plesk? Is that even possible? I'm getting the php error "SQLSTATE[42501]: Insufficient...
  3. M

    Issue How to update PHP open_basedir and/or httpd.conf server wide?

    How to edit the core Server wide Apache httpd.conf file? There are bunch of common PHP classes that are used server wide across many domains and accounts. To this end the classes are stored outside the account/domain scope; typically in But, none of these are working, because according to...
  4. U

    Resolved Enable Xdebug for Subdomain Only?

    Hi everyone, I have a domain – let’s call it example.com – with a subdomain dev.example.com. I’m trying to figure out if it’s possible to enable Xdebug only for the subdomain. I’ve added the following configuration under the “Additional directives” section for dev.example.com: However...
  5. T

    Input Specify the `PHP_BUILD_PROVIDER` environment variable when compiling PHP

    Since PHP 8.0, PHP provides the PHP_BUILD_PROVIDER variable to indicate the “origin” of a PHP binary: https://github.com/php/php-src/commit/ad0d2e438fddc089917e71e5d8909d145db9da8a The contents of this variable shows up in the PHPInfo output and since PHP 8.4 it also shows up when running php...
  6. G

    Question Automatic redirecting to custom errorpages in PHP

    Hi, I am setting up a new server, its similar to my old server, except the OS (CentOS7 v Ubuntu24.04), they are both running Apache 2.4.58 and PHP 8.27. I'm using nginx on both servers and I have custom error pages. This works as expected on the new server in displaying my errorpage for a 404...
  7. S

    Question Server-side php components as well as plesk components

    Hello. We have our dedicated server type Web Host Edition with Debian and Plesk Obsidian always up to date. We also have several domains and web applications using PHP versions 8.1 and up. We do not use, in any of our projects, versions 7x and 8.0. And it is not in our plans to use these...
  8. H.W.B

    Issue Php mail always spam

    Hello, On my server there are websites that have contact forms to contact the owner. All those messages are not having the DKIM and ARC headers, so they end up in the spam box. This is send via the PHP mail function Is there a way that these messages also get these headers (as all the other...
  9. E

    Issue PHP Chankro DOS attack

    Hello, On Friday 22nd we suffered an attack on one of our client's domains that is hosted on a server running Plesk Obsidian. The incident appears to be related to an exploit using the Chankro tool (Bypass Disable Functions), which attacks the disable_functions directive in PHP. The attack...
  10. H

    Question LiteSpeed extension - Activate zip and soap module

    Hi everybody, I migrated my website from apache to Litspeedcache, I have a plugin on my Wordpress website who need the zip module to extract data’s from zip file. Where can I change the settings to make this modules active? I’m a newbie also please be patient Best regards
  11. M

    Issue Cannot change PHP version of website

    I have a website with PHP 7.3.33, and changed it to 8.3.13. The issue is that even the dashboard shows the new version, the change is not reflected on the website, that keeps using 7.3. Clicking on phpinfo() also shows 7.3. I've restarted PHP with no luck. NOTE: I don't have litespeed...
  12. P

    Question Forbid execution of PHP in WordPress directories

    In many tutorials it is recommended to disallow execution of PHP scripts in the directories /wp-content/uploads/ and /wp-includes/. Now in the /wp-content/uploads/ directory that is no problem but if I put a .htaccess file disallowing execution of PHP scripts in the /wp-includes/ then WordPress...
  13. X

    Question Stopping Dedicated PHP FPM via CLI for single domain

    Hi, I am trying to stop the dedicated PHP-FPM service for a single domain. I have searched the forum and knowledge base but can't seem to find anything related to stopping the service via the command line. To be clear I want to reproduce going into a domain > php settings > and clicking the...
  14. D

    Question Plesks and Nextcloud and PHP

    Hello, I have a problem with Plesks and Nextcloud and PHP I keep getting an email with the information Re: Cron <linux1user@linux1> (/opt/plesk/php/8.3/bin/php -f 'cloud/nextcloud/occ' -- 'db:add-missing-indices') > /dev/null Text: The current PHP memory limit is below the recommended value...
  15. The 8th

    Issue Server Error 502 Bad Gateway

    Screenshot Attached, every time install magneto im getting this error, i checked all KB here not found my issue listed anywhere. Advice me please to solve this issue. Server Error 502 Bad Gateway
  16. C

    Resolved Problems loading Composer autoload.php

    I have migrated my site from a shared server to a Plesk-managed VPS and am trying to get my php scripts using PHPMailer to work. I installed PHPMailer using Composer from a shell, following articles on how to use it with Plesk. My problem is getting the Composer-generated autoload to work: <?php...
  17. K

    Issue Domain still wants to open old file directory

    Hey Guys, I'm still new to the website stuff and I wanted to rebuild my old website I had bought about 10 years ago. As it had a discontinued cms running on php 5.6, I wanted to build my own website with Wordpress. I already made a Wordpress site in a sub domain and it worked flawlessly. But...
  18. J

    Question Install Excimer PHP extension

    Hi, Is it possible to install the PHP extension Excimer, As this extension is not shown under the plesk installer I need this extension to be able to do some PHP profiling using Sentry (They require this php extension to be installed/enabled)
  19. andreios

    Question Disabling PHP by OS Vendor causing "failed" state?

    We don't use it so we disabled PHP by OS, but seems this caused to generate an error message.
  20. I

    Issue Custom error pages not working from PHP

    I've set up Custom Error Pages through Plesk. Initially this was all working perfectly, however since then we've migrated to a new server, and now they're not working quite right. If I trigger an error page through .htaccess e.g. RewriteRule ^foo$ - [R=405,NC,L] This works perfectly and we...
Back
Top