fastcgi

  1. B

    hosting GO fastcgi webapp

    Dear All I have a user request to host a Go webapp. Most documentation about serving Go as cgi-bin. I tried it and it run as expected Is there any doc about hosting Go by way of FastCGI and/or Passenger? Sincerely -bino-
  2. tbutler

    Apache or NGINX FastCGI Support for Perl

    I was surprised to see that cPanel's installation of mod_fcgid doesn't have Perl configured out of the box, given usually cPanel's Perl base. I was able to enable it simply enough, though, by adding `AddHandler fcgid-script .fpl` to the `<IfModule fcgid_module>` declaration in...
  3. M

    FastCGI setup for PHP 7.4

    I'm trying to squeeze out just a bit more performance and I know that FastCGI is a bit faster. So how do I go about setting up FastCGI for PHP 7.4? I'm running a forum software (PHP script). Most of the articles I find on the internet and here do not cover the newest PHP 7.4 and typically the...
  4. G

    Installing FastCGI, or working with other PHP handlers

    I have a few sites that use MySQL instead of MySQLi, so I have to keep them on PHP 5.6 until they're all updated. But I would like to install HTTP/2 for them. I understand that HTTP/2 isn't compatible with DSO, which is the default for my PHP 5.6. I first turned on PHP-FPM, which I thought...
  5. M

    The timeout specified has expired error && FastCGI header

    i got many error log today ,i searced but i can't fix those when errors appeared i can't reach my site, only a while reach my site after reset php-fpm error_log The same errors are repeated in 20 lines [Tue Nov 05 11:40:12.953907 2019] [proxy_fcgi:error] [pid 30505] (70007)The timeout...
  6. N

    Failed to read FastCGI header

    I am getting this error for some time: The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. I am using PHP Handler: lsapi with PHP-FPM and PHP 7.3 Error log: [Mon May 27 21:04:41.252604 2019] [pagespeed:error] [pid...
  7. outofcontrol

    Reverted to EasyApache3 and now cannot get FastCGI enabled anymore

    We have already opened a ticket (paid for faster support) but it appears things are pretty slow tonight (8399849). Figure someone here might be able to help: We thought it would be a good idea to upgrade to EasyApache4. Once we had done so, we then realized that FastCGI doesn't work anymore...
  8. F

    Errors after enabling FastCGI

    I recently switched to FastCGI and now I regularly get errors either 'Excessive Resource Usage' or 'Suspicious Process Running'. Uptime: 129 seconds Executable: /usr/selector/php Command Line (often faked in exploits): /usr/bin/php Network connections by the process (if any): tcp...
  9. R

    EA4 & FastCGI as Global Handle?

    We are using FCGI+Memcache+Nginx stack and it works great. Now, on a new server with EA4 we want to use FastCGI as global PHP handle like it was in EA3. With EA4 is that possible or we are now limited to using SuPHP which means no OpCode caching will be possible? I know FastCGI is possible with...
  10. N

    fastcgi ignores display_errors = Off

    Hello All, I am running WHM 11.52 with EA3 using fastcgi and PHP 5.6. When I use WHM > PHP Configuration Editor > Advanced to set display_errors = Off, nothing happens. The setting is ignored. PHP warnings still appear on the web pages. Even restarting Apache and killing off all php...
  11. C

    FastCGI problem

    Dear all, I face a problem with the configuration of my WHM server when trying to install Seafile. It requires to use FastCGI. To do so, I have included a line of FastCGIExternalServer /var/www/seahub.fcgi -host 127.0.0.1:8000 to my custom configuration in...
  12. M

    new to event mpm and fastcgi - few errors popping up

    Just switched over to a new server and loaded event mpm and fastcgi - after doing a lot of reading this seemed the way to go. I was a previous suphp user. Now that I have things running I am noticing a few apache errors that are brand new to me and wondering if someone could point me in the...
  13. T

    FastCGI server problem

    Hi I have recently end up whit a problem whit the FastCGI. This is the error i can see in the apache log. [Tue Aug 11 17:41:16.411481 2015] [fcgid:warn] [pid 4617] (104)Connection reset by peer: [client 185.62.239.196:57050] mod_fcgid: error reading data from FastCGI server, referer...
  14. Zeeshan Mudassir

    FastCgi Cron problem

    I have a customer who runs a wordpress cronjob. This cronjob is continuously running everytime. when i use FastCGI on the server , the cron doesnt run and terminates . But when i use SUPHP the cron works perfect.. as we all know that Suphp eats alot of CPU . so what should i do to fix this...
  15. J

    cpsrvd fastcgi

    Hi Guys, I've been doing some hacking with the webmail lately. It seems that cpsrvd executes php as a CGI and most 3rdparty scripts as CGI. It might be Starman based? I'm not certain it's hard to find good info and poking around only gets me so far. I was wondering if anyone knows a way...
  16. sahostking

    suphp to fastcgi error

    Hi, I see one of our engineers tried changing a server from suPHP with many domains on to fastcgi. I found in the logs the following: [warn] [client 11.22.33.44] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [error] [client 11.22.33.44] Premature end of...
  17. sahostking

    suPHP to FastCGI

    Lets say I were to move from suPHP to FastCGI. Good idea? Server has 8GB Memory and 4 cores. I could increase these if needed. Any issues I would encounter for a whole server with roughly 200 websites on? Server uses Cloudlinux. Any recommendations? or experiences regarding this for a...
  18. I

    FastCGI or DSO?

    Hi, Could someone please advise me as to which in their opinion would be better. I have a AMD Phenom II X6-1055T with 16GB of RAM if that makes a difference. I am also running xcache. I am currently running DSO, but our support has suggested changing MPM from prefork to worker as we...
  19. T

    Can FastCGI show the full path to a process (script)

    Normally, when the server goes high loaded we execute something similiar to: top -c or ps aux etc... A PHP script that causes high load in suPHP mode will show something similiar to this: user /usr/bin/php /home/user/public_html/spam.php when we execute some of the above...
  20. I

    Question about mod_fcgid FastCgi

    Hi, I have many question about mod_fcgid related to Cpanel configurations but the principal one is How can I have different fcgid values per user/account/site? I need to have different values per user for these fast cgi parameters mod_fcgid - Apache HTTP Server mod_fcgid - Apache HTTP...