ssossossosso
Documentation Home »Installation Guide »Prepare Installation Environment »PHP Runtime Environment Configuration
current version

PHP Runtime Environment Configuration

When multiple PHP instances (and/or versions) are installed on the host that is intended for web server installation, please, configure the runtime environment to use one of these instances for CLI commands execution:

Apache

Use the SetEnv directive that comes with the mod_env module to update the ORO_PHP_PATH environment variable with the path to the necessary php instance:

SetEnv ORO_PHP_PATH c:\OpenServer\modules\php\PHP-7.0\

Nginx

Use the fastcgi_param directive to achieve the same on nginx:

fastcgi_param ORO_PHP_PATH /usr/local/bin/php
Browse maintained versions:
current1.102.02.32.6
ssossossosso