Fatal error: Call to undefined function apache_getenv() in
只有在5.3中可以。
apache_getenv 在vhsot中用setEnv配置,可以用get_env,或者 $_SERVER取出
DocumentRoot "/Users/edison/PhpstormProjects/li/koh" ServerName ud3.com ErrorLog "/private/var/log/apache2/sites-error_log" CustomLog "/private/var/log/apache2/sites-access_log" common SetEnv db_host 192.168.1.156 SetEnv db_port 3306 SetEnv db_name li SetEnv db_user wb SetEnv db_passwd wbc SetEnv sina_appkey 1283 SetEnv sina_appsecret 0f41a SetEnv tecent_appkey 801 SetEnv tecent_appsecret fd3e Options Indexes FollowSymLinks MultiViews AllowOverride All Order deny,allow Allow from all