在PHP开发和运行环境中,通常需要配置一些环境变量以确保PHP能够正常运行并与系统和其他软件正确交互。以下是一些常见的PHP环境变量:
PATH
环境变量中,以便在命令行中可以直接运行php
命令。bash
export PATH=/usr/local/php/bin:$PATH
.ini
文件。bash
export PHP_INI_SCAN_DIR=/etc/php.d
bash
export TMPDIR=/tmp
PHPRC
,PHP会使用该路径下的php.ini
文件。bash
export PHPRC=/etc/php.ini
bash
export LD_LIBRARY_PATH=/usr/local/lib
bash
export PHP_FCGI_CHILDREN=4
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000
bash
export PHP_FCGI_MAX_REQUESTS=1000