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: installing 2 php on apache | 
 |   
| Author | 
  | 
 
oktrik
 
 
  Joined: 23 Sep 2021 Posts: 6 Location: NTT
  | 
 Posted: Fri 01 Jul '22 9:37    Post subject: installing 2 php on apache | 
     | 
 
  | 
 
hello
 
 
I have httpd-2.4.51-win64-VS16 installed my windows 10, I also have PHP 7.4 running along with apache..
 
 
the problem is I need to install cms where it only runs on PHP version 5.x
 
 
my apologies if i post thread in the wrong forum ..i followed tutorial on this article but I keep getting 
 
 
 	  | Quote: | 	 		  | https://codebriefly.com/how-to-handle-multiple-php-versions-with-apache-server-on-windows/#Update_httpdconf | 	  
 
 
 	  | Quote: | 	 		  | Invalid command 'FcgidInitialEnv', perhaps misspelled or defined by a module not | 	  
 
everytime I restarted my apache
 
 
my httpd.conf
 
 
Admin note: removed, see forum rules. See post below. 
 
 
what causing FcgidInitialEnv invalid command? | 
 
  | 
 
| Back to top | 
 | 
 
Steffen Moderator
 
  Joined: 15 Oct 2005 Posts: 3131 Location: Hilversum, NL, EU
  | 
 Posted: Fri 01 Jul '22 10:12    Post subject:  | 
     | 
 
  | 
 
| httpconf now at https://apaste.info/D8an and moved the post to the correct forum. | 
 
  | 
 
| Back to top | 
 | 
 
James Blond Moderator
  
  Joined: 19 Jan 2006 Posts: 7443 Location: EU, Germany, Next to Hamburg
  | 
 | 
 
| Back to top | 
 | 
 
 
 
 
 | 
 
 
 |  
 
 |  
  |   
 |