Jump to content
The Uniform Server Community

Upgrading to UniServer Zero 12.2.0 -- Problems


 Share

Recommended Posts

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:

 

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 2 years later...

 

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

 

thank you so much for the solution!

it fixed my issue perfectly

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...