php-fpm

  1. W

    PHP FPM not optimal for shared hosting

    Hi there A few versions back FPM was introduced and we blindly activated the feature, as usually whm/cpanel works fine out of the box. This feature however reacts unexpected in a shared hosting setup. It seems FPM is meant to run one site (one user). So if we use Cpanel (out of the box) for...
  2. WebHostPro

    Setting a cronjob to reset PHP-FPM

    Our shared servers seem to gradually build up CPU use until we reset PHP-FPM. It then comes down right away. I was thinking of running a weekly or maybe even a daily cronjob to reset it. Do you think this could have any negative precautions? And what would be the best cron job to do this say...
  3. S

    PHP-FPM user

    Hi, recently updated a big website to use PHP 7.4 (from 5.6 previously - yes it was a lot of work!) and enabled PHP-FPM. Previously, my site was running as the 'nobody' user with very restricted permissions but now I'm noticing PHP is running as a different user (account holder) who has...
  4. Y

    Failed to perform action “restart” for ea-php73-php-fpm

    Hi guys, Yesterday, all the websites that I have on one of our servers have fallen. I have made the revisions and the error is found in ea-php73-php-fpm. I have searched in forums that may be, but I still have not found a solution, if someone has happened before I would appreciate your help...
  5. E

    Constant php-fpm Virtual Memory Size Over Limit

    So I keep getting alerts from CFS from the same 4 sites that the memory size is over limit. What Can I do to track this down? Time: Sun Mar 8 20:55:28 2020 -0700 Account: account Resource: Virtual Memory Size Exceeded: 584 > 512 (MB) Executable...
  6. W

    PHP-FPM not work and I have installed

    Hello. I have a problem and I don't know how explain well. Yesterday, I was made any change in my server from since few months, the servide httpd was down and I can't wake up. Finally, after search and read, rebuild rpm in easy apache and fix the issue. After this, I view a high load server in...
  7. Z

    High load on server caused by PHP-FPM

    I have VPS with 4 cores , but the load average reach 300 ! In Process Manager i see a lot of php-fpm: pool mywebsite_com The problem is: I don't know which file cause problems or am I under attack. The question is: How can I know what is the problem?
  8. T

    child exit/start entries in PHP-FPM logs

    Hello, i have some errors like WARNING: [pool mysite] child 2579 exited with code 70 after 1.303269 seconds from start what is code 70 ?
  9. K

    SOLVED [CPANEL-28306] webmail and/or phpmyAdmin stuck at loading screen

    I have an issue similar to this but I couldn't reply to that old topic anymore. CSF/LFD reports something like this: lfd on xxx: Excessive resource usage: xxx Time: Sat Jul 6 16:02:00 2019 Account: xxx Resource: Process Time Exceeded: 84921 > 1800 (seconds) Executable...
  10. A

    SOLVED Apache crashing when using PHP-FPM

    Greetings! I've setup a new server recently and moved a fairly busy forum to it (4.5 million posts, typically 500-1000 users online in any 30 minute period). I'm running Invision 4.4.4, which is reasonably resource intensive. Database (MySQL 5.7) running on one dedicated server, Apache...
  11. A

    php-fpm Suspicious process running under user

    I've seen other threads mention this notice and how to disable it. My question is, how do I know this is something I can disregard and that it isn't a security problem? We weren't getting this error until last night and now we're getting it almost every minute. Time: Mon Jul 1 10:19:16 2019...
  12. W

    PHP-FPM Log File Default Timezone

    Hi, I'm trying to change the default timezone in PHP log. I'm actually in php 7.3 with FPM and the log file are in UTC. I set the php default timezone to America\Newyork without any change.
  13. 3

    Cannot increase max_post_size or upload limits through WordPress

    Hi, I need to upload a backup file through a WordPress plugin which requires 500 MB upload limits or max_post_size. I tried everything from my knowledge but nothing changed! My cPanel file upload limit is set to 1.5G but the WordPress shows 128M. 1. I tried max_post_size from cPanel >...
  14. R

    Set PHP FPM Version per Directory

    Hello, How can I set different PHP FPM version in directory for .php files? It works for .html files if I add to .htaccess: AddType application/x-httpd-ea-php56 .php .html But .php files are still served as php 7, that is domain wide setting. The directory isn't separate subdomain on its own.
  15. U

    SOLVED PHP-FPM pm dynamic / static / ondemand option

    I had to create this thread since the forum didnt let me post in a one year old thread which deals with the exact same issue. So, here goes: I want to change the pm setting and set it to static. However i am not able to determine the proper way to do it. Above post refers to the below page...
  16. D

    Change php-fpm setting from ondemand to dynamic

    I would like to change some php-fpm master process config cpanel version: v78.0.23 I created new file system.yaml in /var/cpanel/ApachePHPFPM and placed following entries --- pm: dynamic pm_start_servers = 4 pm_min_spare_servers = 4 pm_max_spare_servers = 8 and recompiled using...
  17. C

    SOLVED How-To Modify PHP-FPM Configuration Directives in EasyApache 4

    [Moderation Notice: This thread was forked from PHP-FPM Restart Necessary for Site Speed] I am having an issue with my solution to #1. It seemed to work, but then I noticed I got a formatting error: php-fpm.yaml” file and did not apply any custom values.For more information about the correct...
  18. C

    PHP-FPM Restart Necessary for Site Speed

    I have 2 main issues that seem to be dogging me with regard to the site speed on a large php forum. 1) I've done everything I can think of to speed the site up, however, there is still an issue where I need to restart PHP-FPM for it to load quickly. I've tried multiple settings for this...
  19. T

    php scripts cannot see or access binary files

    I had a video cms script on a website that uses ffmpeg and some other binaries to encode video into a web friendly format. It stopped working so I went to look at the web backend and it give me a warning that it cannot locate the ffmpeg binary even the path /usr/bin/ffmpeg is correct. I...
  20. dzamanakos

    SOLVED [CPANEL-23998] Wrong PHP version detected after version change when using PHP-FPM and LiteSpeed

    Hi, i've posted that thread to litespeed forums, but believe that cpanel forum may be better to post, as adviced from a reply to my thread. The following would apply not only to litespeed, but if i wanted for example to revert from php-fpm to suphp too. i've used a test licence for litespeed...