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: php5 & php7 |
|
Author |
|
edwardsmarkf
Joined: 20 Feb 2013 Posts: 25 Location: cottonwood, az
|
Posted: Fri 06 May '16 17:18 Post subject: php5 & php7 |
|
|
hello -
from looking at two different apache environments, one php5 and the other php7, it appears its possible in apache to specify which user gets to use which php.
is this possible? from looking at :
FCGIWrapper /home/mydomain.com/fcgi-bin/php7.0.fcgi .php
FCGIWrapper /home/mydomain.com/fcgi-bin/php7.0.fcgi .php7.0
it appears to be possible.
thank you very much. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 06 May '16 18:53 Post subject: |
|
|
Yes you can
Code: | FcgidMaxProcesses 50
FcgidFixPathinfo 1
FcgidProcessLifeTime 0
FcgidTimeScore 3
FcgidZombieScanInterval 20
FcgidMaxRequestsPerProcess 0
FcgidMaxRequestLen 33554432
FcgidIOTimeout 120
AddHandler fcgid-script .php
FCGIWrapper /usr/bin/php5-cgi .php
AddHandler fcgid-script .php7
FCGIWrapper /usr/bin/php-cgi7.0 .php7
|
|
|
Back to top |
|
|
|
|
|
|