Len Jacobson Posted March 11, 2016 Report Share Posted March 11, 2016 I am trying to upgrade my previous version of Uniform Server to UniServer Zero 12.2.0 on my Windows 10 laptop. At present, I have the following two problems: According to 'phpinfo()', the PHP configuration file (php.ini) is located in the C:\Windows directory. But it's not there. Am I expected to create that file and place it in that directory? If so, do I use use the 'php_test.ini' file (or the 'php_development.ini' file or the 'php_production.ini' file) and modify it as I want and save it then as 'php.ini' in the C:\Windows directory? Or do I simply modify one of those three files as needed, leave it in its current directory, and then use the UniController to select the chosen .ini file? UniServer Zero 12.2.0 comes with PHP 7.0 as the default version. I see in the documentation that I can install earlier versions of PHP (e.g., 5.6) and that I should download the desired version(s). And I see the file name of the various earlier versions of PHP (e.g., ZeroXII_php_5_6_x.exe). But nowhere do I see a link to download the needed file(s).I would appreciate help with these two issues. Thank you very much. Len Jacobson Quote Link to comment Share on other sites More sharing options...
Ric Posted March 11, 2016 Report Share Posted March 11, 2016 1) "Or do I simply modify one of those three files as needed, leave it in its current directory, and then use the UniController to select the chosen .ini file? " This is correct. Although “Configuration File (php.ini) Path" shows C:\WINDOWS this path is ignored even if it contains a php.ini file. The configuration file loaded is that selected by UniController, on start-up PHP is forced to load only this file. The php info “Loaded Configuration File” is the one that php is currently using. 2) “And I see the file name of the various earlier versions of PHP (e.g., ZeroXII_php_5_6_x.exe). But nowhere do I see a link to download the needed file(s). ” Not sure I fully understand the problem! The needed files are contained in self-extracting archives for example ZeroXII_php_5_6_19_g.exe Download this file from the modules folder https://sourceforge.net/projects/miniserver/files/Uniform%20Server%20ZeroXII/ZeroXIImodules/ Copy the downloaded file to folder UniServerZ. Stop servers and close UniController if running, double click downloaded file in folder UniServerZ. This extracts all required files for php 5.6.19. Start UniController and select php version php56 this switches to php 5.6.19 You are now ready to run the servers. All the best Ric Quote Link to comment Share on other sites More sharing options...
Len Jacobson Posted March 11, 2016 Author Report Share Posted March 11, 2016 Ric, You have answered my two questions perfectly and I thank you!! Regarding the download of ZeroXII_php_5_6_19_g.exe, I didn't know where to find it. You gave me the link to its location and that is what I needed. Again, thank you very much. Quote Link to comment Share on other sites More sharing options...
simicartan Posted July 26, 2018 Report Share Posted July 26, 2018 1) "Or do I simply modify one of those three files as needed, leave it in its current directory, and then use the UniController to select the chosen .ini file? " This is correct. Although “Configuration File (php.ini) Path" shows C:\WINDOWS this path is ignored even if it contains a php.ini file. The configuration file loaded is that selected by UniController, on start-up PHP is forced to load only this file.The php info “Loaded Configuration File” is the one that php is currently using. 2) “And I see the file name of the various earlier versions of PHP (e.g., ZeroXII_php_5_6_x.exe). But nowhere do I see a link to download the needed file(s). ” Not sure I fully understand the problem!The needed files are contained in self-extracting archives for example ZeroXII_php_5_6_19_g.exe Download this file from the modules folder https://sourceforge.net/projects/miniserver/files/Uniform%20Server%20ZeroXII/ZeroXIImodules/Copy the downloaded file to folder UniServerZ.Stop servers and close UniController if running, double click downloaded file in folder UniServerZ.This extracts all required files for php 5.6.19.Start UniController and select php version php56 this switches to php 5.6.19You are now ready to run the servers. All the bestRic thank you so much for the solution!it fixed my issue perfectly Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.