logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: php as dll or fcgi?
Author
sailor



Joined: 17 Apr 2015
Posts: 77
Location: US

PostPosted: Tue 21 Apr '20 22:42    Post subject: php as dll or fcgi? Reply with quote

It seems like fcgi the preferred method as opposed to the php dll?

Is it that much faster or handle more hits over the dll?
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Wed 22 Apr '20 1:15    Post subject: Reply with quote

As far as I know it's preferred because some php scripts can crash php, the dll is running inside the Apache process so Apache goes down with it.

fcgid creates a separate process for php, php crashes yet Apache stays up and running.

with fcgid you can run any version/build of php that the computer supports so you don't have to worry about things like openssl version in Apache vs what version php is compiled against.

An added bonus is you can have more than one version of php. You can't do that if you LoadModule the dll.
Back to top
sailor



Joined: 17 Apr 2015
Posts: 77
Location: US

PostPosted: Tue 28 Apr '20 15:11    Post subject: Reply with quote

Thanks for the explanation!
Back to top


Reply to topic   Topic: php as dll or fcgi? View previous topic :: View next topic
Post new topic   Forum Index -> Apache