R
R
Rokis2017-03-05 19:50:00
FastCGI
Rokis, 2017-03-05 19:50:00

How to fix a bug with the mod_fastcgi module?

Hello.
Installed Nginx + apache according to this instruction. The first time everything was fine. Then (for those reasons) I had to reinstall the entire server. Now it gives an error when everything has already been configured:

[Sun Mar 05 19:01:47.806538 2017] [mpm_prefork:notice] [pid 2138] AH00163: Apache/2.4.18 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 configured -- resuming normal operations
[Sun Mar 05 19:01 :47.806644 2017] [core:notice] [pid 2138] AH00094: Command line: '/usr/sbin/apache2'
[Sun Mar 05 19:01:47.807887 2017] [:notice] [pid 2141] FastCGI: process manager initialized (pid 2141)

Before this there was another error:
[Sun Mar 05 18:37:47.898003 2017] [fastcgi:error] [pid 28526] [client XX.XX.XX.XXX:50676] FastCGI: comm with server "/usr/lib/cgi-bin/php-fcgi " aborted: idle timeout (30 sec), referer: mysite.ru
[Sun Mar 05 18:37:47.898187 2017] [fastcgi:error] [pid 28526] [client XX.XXX.XXX.XXX:50676] FastCGI: incomplete headers (0 bytes) received from server "/usr/lib/cgi-bin/php-fcgi", referer: mysite.ru

I have tried a lot in the last 3 hours. Reinstalled php, apache, nginx, phpmyadmin... Tried a lot of different tips from the internet, but nothing helps. The page returns a 500 error after a while. /usr/lib/cgi-bin/php-fcgi is completely empty. I ask for help, maybe someone knows what to do to make this module work.
I have a VPS server with Ubuntu 16.04
The site is in /var/www/mysite.ru
I did everything according to the instructions, checked for errors, I can’t do anything with this module. Please tell me what can be done? If you need any additional information - ask. Maybe some additional modules are needed or something else ...

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Rokis, 2017-03-07
@Rokis

I solved the problem by reinstalling the server and additionally installed php-curl. The error is gone.

A
Axian Ltd., 2017-03-05
@AxianLTD

[Sun Mar 05 19:01:47.806538 2017] [mpm_prefork:notice] [pid 2138] AH00163: Apache/2.4.18 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 configured -- resuming normal operations
[Sun Mar 05 19:01 :47.806644 2017] [core:notice] [pid 2138] AH00094: Command line: '/usr/sbin/apache2'
[Sun Mar 05 19:01:47.807887 2017] [:notice] [pid 2141] FastCGI: process manager initialized (pid 2141)
These messages are not error messages, on the contrary, they indicate the normal operation of apache and fastcgi.

P
Puma Thailand, 2017-03-06
@opium

Turn on error output in the code and in PHP and see

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question