Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: php as dll or fcgi? |
|
Author |
|
sailor
Joined: 17 Apr 2015 Posts: 82 Location: US
|
Posted: Tue 21 Apr '20 22:42 Post subject: php as dll or fcgi? |
|
|
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
|
Posted: Wed 22 Apr '20 1:15 Post subject: |
|
|
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: 82 Location: US
|
Posted: Tue 28 Apr '20 15:11 Post subject: |
|
|
Thanks for the explanation! |
|
Back to top |
|
|
|
|
|
|