Jump to content
The Uniform Server Community

Add PHP_INI_SCAN_DIR environment variable


Recommended Posts

The above is possible however its lacking in detail. How do you see this working?

What about PHP switching how will it interface (where to place folder containing the addition ini files)


An interim solution is to start UniController.exe with a batch files and set the environment variable accordingly. The following example is portable and would be specific to the selected PHP version:

1 Create a new folder for example user_php_inis in folder UniServerZ containing all additional ini files.

2 In folder UniServerZ create the following batch file ini_run.bat

@echo off
pushd %~dp0
set PHP_INI_SCAN_DIR=%cd%\user_php_inis
Start UniController.exe

Run the above batch file, this sets the environment variable to folder user_php_inis and then runs UniController.exe



Note: Additional environment variable support added starting from Uniform Server 11.4.0-ZeroXI


All the best


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.

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.


  • Create New...