J
J
JustStas2013-11-14 13:16:03
PHP
JustStas, 2013-11-14 13:16:03

Is there an analogue of fastcgi_finish_request in apache2 (mod_php)?

Good afternoon. For php-fpm there is a fastcgi_finish_request function. Is there a similar function for php running in apache2 (mod_php)? Thank you.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
E
egor_nullptr, 2013-11-14
@egor_nullptr

No

B
Boris Syomov, 2013-11-15
@kotomyava

You probably need to change something in the architecture of the application if you need such a feature.
For example, shift the processing of heavy long-term operations to a script executed by cron, and in the interface only create tasks for it, and write them to the database, for example.

I
Igor Timoshenkov, 2015-04-17
@t1gor

Well, I don't agree with you at all. There is a situation when you need to stop some output to the client after doing something, for example following $response->send();By reference - an example of use in Symfony .
Although I have not yet found an analogue for apache either.

S
Sanes, 2019-06-29
@Sanes

Put Apache in PHP-FPM mode

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question