php.ini path

本文介绍了在Windows环境下配置PHP的环境变量及路径的具体方法,包括如何设置PHPIniDir和PHPRC环境变量,以及PHP5.2.0之后搜索注册表位置的详细步骤。
  1. SAPI module specific location: PHPIniDir "D:/dev/php-5.2.6-Win32" (httpd.conf)
  2. The PHPRC environment variable: SetEnv PHPRC "D:/dev/php-5.1.2-Win32"(httpd.conf)
  3. As of PHP 5.2.0, the following registry locations are searched in order:
    HKEY_LOCAL_MACHINE/SOFTWARE/PHP/IniFilePath (Windows Registry location)
  4. Current working directory (except CLI)
  5. The web server's directory (for SAPI modules), or directory of PHP (otherwise in Windows)
  6. Windows directory (C:/windows or C:/winnt) (for Windows),or --with-config-file-path compile time option
  7. More information: Chapter 7. Runtime Configuration
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值