我在ubuntu上搭Zend Optimizer的时候,把optimizer装到 /home/fwint/zend目录下,
然后用phpinfo()查看的时候 Configuration File Path的路径指到 /home/fwint/Zend/etc/php.ini
那我怎样才能把Configuration File Path 指回到 /etc/php5/apache2/php.ini 呢?
然后用phpinfo()查看的时候 Configuration File Path的路径指到 /home/fwint/Zend/etc/php.ini
那我怎样才能把Configuration File Path 指回到 /etc/php5/apache2/php.ini 呢?
PHPIniDir 修改这个的值,重启
1L说的是对的。
你应该改apache的配置PHPIniDir.
PHPIniDir "/etc/php5/apache2"
Invalid command 'PHPIniDir', perhaps misspelled or defined by a module not included in the server configuration重启apache时出现了这个信息
Linux下不支持PHPIniDir命令的?