This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

For Testing PHP version changer tested on Windows working
#1
[Not Solved] For Testing PHP version changer tested on Windows working
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:
[b]Read And Follow Carefully[/b]


There is edits that need to be done !!!

  1. 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.


  2. 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>


  3. 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 .


  4.     Once you have installed these versions you have to make sure your  ini is in it already included only needed if you add more.


  5.     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


Attached Files
[Image: zpp.gif]
Php_Ver.zpp (65.00 MB, 1 views)


Attached Files Thumbnail(s)
       
Reply
Thanks given by:
#2
[Not Solved] RE: For Testing PHP version changer tested on Windows working
65.00 MB to big to upload to the site so use link
Reply
Thanks given by:


Possibly Related Threads...
Thread Author Replies Views Last Post
For Testing PHP version changer tested on ubuntu working ccr1969 1 177 03-29-2021, 03:41 AM
Last Post: ccr1969
PHP version changer ccr1969 25 2 002 03-08-2021, 03:22 AM
Last Post: ccr1969
PHP version changer Theo 60 77 307 01-31-2021, 01:45 PM
Last Post: ccr1969

Forum Jump:


Users browsing this thread: 1 Guest(s)