Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Add PHP_INI_SCAN_DIR environment variable

Featured Replies

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

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
popd

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

Ric

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.