• 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.ini

  1. G

    Resolved disable_function= being overridden since enabled Performance Booster

    I've recently switched on all available performance boosters in Plesk, namely: Speed up web server static file Speed up web server compression Optimize PHP (enabled Jit) My disable_functions setting in my php.ini is now being overwritten. What I have in the php.ini (exec, shell_exec) is...
  2. M

    Issue 503 error when overriding php.ini xdebug.mode in a specific domain

    Hi, I have been trying to setup XDebug on my plesk server for development purposes. I enabled the xdebug module in the specific PHP version in the plesk settings, and in the specific domain subscription in plesk I have set in "additional PHP settings" "xdebug.mode=develop,debug". Everything...
  3. V

    Question [panel.ini] Change php.ini Settings

    Hello, I have a new web server (vServer) with the following Plesk version. Plesk Obsidian Web Admin Edition 18.0.51 Update No. 1 I have a problem with the PHP settings, especially post_max_size and upload_max_filesize. I didn't think that it is so complicated to change such important settings...
  4. zoldos

    Question issues raising PHP.ini max_file_uploads past 50!

    I placed this in my server's primary php.ini file (*not* the auto generated one): max_file_uploads = 100 and restarted PHP (I'm using 7.4.33 on Ubunto 20.04 LTS). But the limit remains at 50. Almost like it is hard coded. Is this normal? I recall seeing a related setting when I was messing...
  5. Cordal

    Resolved php.ini files

    I have a server with debian 10 and plesk 18.0.41 with different versions of php, where the php.ini files of each version and the general php file are located, since in /etc/php/ there is only php 7.3, which is the that the system brings by default. Thanks in advance
  6. P

    Issue Plesk Obsidian 18.0.29 Update #3 php settings help needed

    Hi, I have changed the max_execution_time to 300 but when importing a theme in WordPress I get the following error: "Maximum execution time of 29 seconds exceeded in /var/www/vhosts/mysite.com/subdomain.mysite.com/wp-includes/class-wp-image-editor.php on line 489" I have even changed the...
  7. Z

    Question Installing browscap

    Hey there, How can I install browscap at my php.ini? I decomment already the path to the .ini but the error is staying. What's the exact path of the browscap.ini or do i have to upload the ini? Is there something else wich i have to note for installing browscap?
  8. S

    Issue PHP Woes, plesk not honoring error_reporting

    So, we have an issue where we are spewing warnings after a upgrade. Sites are fine, but warnings are hitting disk io and we'd like to turn them off while we fix the problems. We tried setting both the plan to error_reporting (E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED & ~E_WARNING) and when...
  9. Tubthumping

    Input Overview over php.ini values for all domains

    We have different values for max_execution_time for different domains - we need a way to get an overview over, which domains has what values without browsing through each domain (we have around 100 domains, so it takes som time). A function, where php.ini-files could be exported as a CSV-file...
  10. Z

    Resolved Problem with using Opcache

    There is a problem with using Opcache. At first glance it seems that OPcache is loaded normally. When I look at php info() or php - v, they show normal values. I run opcache checkers. OCP – Opcache Control Panel OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP)#ocp #php...
  11. D

    Question Is it possible to use placeholders like {WEBSPACEROOT} in php.ini php

    I have xdebug installed and I want it to give a path where the customer has access too. As it seems I only have one global folder to configure that, and it is in /opt/plesk/php/7.1/etc/ I tried adding /opt/plesk/php/7.1/etc/php.d/50-xdebug.ini xdebug.profiler_output_dir ="{WEBSPACEROOT}" But...
  12. Dukemaster

    Question Update #7 - PHP 7.2.5 - php.ini

    Hi, today I made the Onyx 7.8.11 #7 update. PHP was updated to 7.2.5 and the installation stopped asking for a decision: Configuration file '/opt/plesk/php/7.2/etc/php.ini' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What...
  13. H

    Question How to enable a the php_soap extension from .user.ini

    Our application is being hosted on plesk 12.0.18 for Microsoft Windows(Odin). We need to enable 'php_soap' extension for our application to work. I've tried doing that but .user.ini didn't to enable php_soap extension when I added the line. extension=php_soap.dll or extension=php_soap.so I...
  14. J

    Question In Plesk Onyx is it possible to edit php.ini and Mysql through the admin interface?

    In Plesk Onyx is it possible to edit php.ini and Mysql through the admin interface?
  15. Q

    Issue Plesk and PHP sessions time out after 1 hour

    We are creating a webapp that heavily uses sessions for users. We know that we needed to change some things to get this working and set the maxlifetime in the php.ini to one day instead of 1440 seconds. PHP 7.1 So our first thought was to add the maxlifetime to the Additional directives for the...
  16. L

    Question Optimal PHP settings for shared hosting

    Greetings everyone, trying to find the right answer to this question since we started using Plesk Onyx for shared hosting. We have 4 plans and I am curious what kind of numbers we should use for next settings: - max_execution_time - max_input_time - post_max_size - upload_max_filesize - Any...
  17. V

    /usr/local/psa/bin/php_settings -u reloads PHP-FPM for every subscription

    The command /usr/local/psa/bin/php_settings -u can be used to update PHP Settings for all subscriptions. However, this command seems to reload PHP-FPM for every subscription, which will cause downtime on servers with a larger number of subscriptions. Can this command be modified so that...
  18. A

    Issue max_execution_time does not change in one domain

    Hi! I have a VPS running CentOs 7 and Plesk 12.5 It has 5 different domains on it. I want to change the max_execution_time. It change OK on 4 domains but not on the 5, the one that mostly need it. I have changed php.ini to 300 sec and I have added max_execution_time = 300 to the domain php...
  19. A

    Resolved Loaded php.ini is not same on panel and ssh

    Hello, I've this issue with all my vhosts that in plesk panel the loaded php is not the same when i'm checking it in ssh: in the panel as per phpinfo the php.ini is loaded from: /opt/plesk/php/7.0/etc/php.ini in the ssh as per (php -i | grep "Loaded Configuration File") the php.ini is loaded...
  20. M

    open_basedir change not reflecting in php

    Hi, I installed Laravel on server, and i need to run php through command line and php command works fine , but when i execute artisan which has is_file() function and it's trying to locate php.exe it gives me open_basedir error, i tried to set it to none in Plesk , but nothing's helping and i...
Back
Top