• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

php

  1. G

    Question How can I get debug symbols for PHP to use gdb on core dumps?

    [root@host httpdocs]# gdb /opt/plesk/php/8.0/bin/php core.16561 GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-120.el7 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and...
  2. L

    Question lexical error on routes.php

    I am a beginner in this, please bear with me. I want to run a driving school system on local host xampp, but i am getting this error when i am trying to load the page: Fatal error: Cannot use lexical variable $router as a parameter name in C:\xampp\htdocs\driving\src\routes.php on line 22 Code...
  3. S

    Issue PHP Composer issue trying to install GoCardless library

    Hello, I'm trying to install the GoCardless library into a site in my Plesk server. The instructions say to try this from the command line having cd'd to the root directory of the site in question: composer require gocardless/gocardless-pro However that gets me this: /usr/bin/env: php: No...
  4. J

    Resolved Php mail() doesnt work

    Hello In my plesk I cannot use php mail() function. Whe I use php mail() function the message is not sent and there is not any message in maillog. It happens in all my domains, in any php version. How can it be fixed?
  5. T

    Issue 10389#0: \996867 upstream sent too big header while reading response header from upstream

    i got a website which is built using CMS Made Simple and one section of the admin panel(CMSMS) i.e. Content>Pages section is throwing bad gateway error, the rest section the admin panel is working fine. And earlier before the 500 error, whenever i tried to create a page through Content>Pages it...
  6. D

    Question Error installing custom php 5.6.38

    Hi, I've been following the guide titled "How to Add a Custom PHP Version in Plesk for Linux." Everything was going smoothly until I reached the step to register the PHP handler. I encountered an error that I can't seem to resolve: Unable to register the PHP handler: php-fpm-5.6.38: service...
  7. J

    Resolved upstream sent invalid "Content-Length" header

    Hello, Last night it appears my Plesk installation has updated, and at the same time rendered a PHP script on one of my sites useless. Before images would load through the image proxy, however this is not the case anymore and I am presented with a bad gateway message along with "upstream sent...
  8. T

    Resolved Imagemagick WEBP Support

    I am currently running Plesk Obsidian 18.0.44 on Debian Debian 9.13 My installed PHP-Versions are: 8.1.7, 8.0.20 and 7.4.30, all these version are missing .webp from the ImageMagick supported formats Are the PHP Versions included in newer Plesk Obsidian compiled with Imagemagick .webp...
  9. learning_curve

    Resolved Roundcube 1.6.0 run on Obsidian 18.0.55 still defaults to PHP 8.0.* not PHP 8.1.* - Why?

    By default, when running Plesk-Roundcube 1.6.0 on Obsidian 18.0.55 it still defaults to PHP 8.0.* despite, Plesk itself (& everything else) being upgraded to run on later PHP releases. IF a removal of PHP 8.0.* is attempted (in our case, because we don't need that older & very soon to be no...
  10. M

    Question Domain has no access to CA Certification files (PHP)

    Hi, i have a vserver setup on strato with 4 domains. For one domain i have a working ssl certificate, and my website access over https is working. When i try to send an email via phpmailer and a little script from that domain, i got the following error: PHP: SSL loaded 2023-09-05 10:12:53...
  11. E

    Issue Problem with special chars after migration

    HI, I did a migration (through Plesk tool) from an Ubuntu machine to a Debian machine. In the new environment I have a problem with special characters (è é ò, ...). At the database level the charsets of the tables are the same between the two servers and the data saved within the database are...
  12. LionKing

    Issue PHP Warning: Unknown: open_basedir restriction in effect

    Hi. We configured that the php_errors.log file in php that should be logged in the "logs" folder. This among things for security reasons as it then reside above the www root. But PHP doesn't seem happy with our choice quote: So how do we configure PHP and Plesk to be "happy" with that we have...
  13. H.W.B

    Question Update PHP by Vendor with INTL extension

    Hello, I have a question. On my server i have PHP 8.1.2 By Vendor. This version is used when using ssh commandline options. In this version there is NOT the INTL extension. All the other PHP version do have INLT already. Is ther a way to install the INTL only for the 8.1.2 by vendor?? Henk
  14. P

    Resolved symfony cli and php version issue on debian

    Hi, I installed the symfony cli on the Debian server and I have a domain with the php version set to 8.1.21 (fastCGI served by Apache) but when I log into the shell on the server and try to run the symfony console command I get this exception: Composer detected issues in your platform: Your...
  15. B

    Resolved 503 error after changing php_handler_id for site

    Hi all, I have some PHP software that updates via a bash script. As part of that script I want to update the PHP handler for a given domain, I'm attempting to do that like so: plesk bin site -u "mydomain.com" -php_handler_id plesk-php82-fpm That command runs ok and I can see in the PHP...
  16. C

    Question Access files in other domain with php

    Hello, I removed the php directive to enable the visibility of all folder in the server with php. But when I try to access another domain like /var/www/vhosts/AnotherDomain/httpdocs/XX, it says that the folder does not exists.. and ofc it exists :-) there is a configuration I missed in plesk...
  17. Ralph

    Resolved Change PHP memory limit for the command line (CLI) - how?

    Hi, I've added optional PHP 8.1 and 8.2 for a client in a chrooted bash shell. I would like to change the php memory limit for the command line (CLI) for this PHP versions. Can anybody gives me an advise how to do this? Kindly regards, Ralph
  18. M

    Resolved How to update default open_basedir for all websites?

    Dear Plesk community, TLDR: How can we update PHP's default open_basedir for multiple domains at once? For all domains on our 10+ Plesk servers, we're trying to configure PHP's auto_prepend_file to intercept fatal errors and send them to cloud logging. However, most of the domains also have...
  19. A

    Question Install php 7.2 on plesk

    Good morning, I cannot insert php version 7.2 and above into the Install or Update Plesk platform
  20. S

    Issue PHP-FPM - Sleeping

    Seem to have a few problems where it appears that despite all websites being set to their own Dedicated PHP-FPM application served by Apache, when one of the sites locks, it seems to lock all the other websites and we get Error: upstream timed out (110: Connection timed out) while SSL...
Back
Top