PHP version changer tested on Windows working
the zpp has 3 PHP versions included 56 71 74
To add more Php download your flavor create new folder in C:\Sentora\panel\modules\Php_Ver\php.
name it Example: 80 in C:\Sentora\panel\modules\Php_Ver\php
Once upload you will need to edit C:\Sentora\panel\modules\Php_Ver\module.zpm
By adding to this if you delete a php you also remove this
<option value="74">Php 7.4.1</option> Example: <option value="80">Php 8.0.1</option>
Code:
Read And Follow Carefully
There is edits that need to be done !!!
- Now you canProceed to your apache\conf\httpd.conf . Open in your editor look for this line #LoadModule fcgid_module modules/mod_fcgid.so Remove # from it if you don't have this module go to https://httpd.apache.org/mod_fcgid/ download to your apache version.
- Add this to your httpd.conf this is just a guideline you can test your own settings in this module... look it up google is a friend
# Use FastCGI to process .fcg .fcgi & .fpl scripts
# Don't do this if mod_fastcgi is present, as it will try to do the same thing
<IfModule mod_fcgid.c>
MaxRequestLen 1000000000
IPCCommTimeout 9999
IPCConnectTimeout 100
FcgidBusyTimeout 600
IPCConnectTimeout 600
FcgidZombieScanInterval 30
FcgidIdleTimeout 40
FcgidProcessLifeTime 30
FcgidMaxProcesses 120
FcgidMaxProcessesPerClass 120
FcgidMinProcessesPerClass 60
FcgidConnectTimeout 600
FcgidIOTimeout 600
FcgidInitialEnv RAILS_ENV production
FcgidIdleScanInterval 10
</IfModule>
- Inside modules you will find php_ver in side that folder you will find folder php it has 3 folders named 56 74 71 this is were you will store your downloaded php versions. These versions come with it already in folder .
- Once you have installed these versions you have to make sure your ini is in it already included only needed if you add more.
- You can change directory or add more Php Folders Etc by editing module.zpm just look at lay out you should figure it out Example:option value="8">Php 8 change 8 to say 54 or 72 than create folder 54 0r 72 what ever you changed option to than were it says php 8 change that to match new version same goes for your ini files add or delete them
Thats it now go test it