darknight1601 Posted October 10, 2014 Report Share Posted October 10, 2014 I will be nice to have PHP_INI_SCAN_DIR environment variable defined with uniserver this will allow us to keep our custom php settings separate also user will not be needed to change all ini files which he/she uses while devlopment Quote Link to comment Share on other sites More sharing options...
Ric Posted October 11, 2014 Report Share Posted October 11, 2014 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 popdRun 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 bestRic 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.