phpinfo()
show php.ini
location as /usr/local/zend/etc where as the actual location is /etc/php5/apache2 . How do i fix 开发者_运维技巧this.
I am trying to debug drupal from eclipse ide .. so i have installed zend debugger plugin . Now i have to edit php.ini and add the following code
zend_extension=full_path_to_zend_debugger_extension^gt;
zend_debugger.allow_hosts=127.0.0.1
zend_debugger.expose_remotely=allowed_hosts
So before editing the php.ini, I am just using phpinfo()
to find the location of php.ini
. But it shows me some location where php.ini doesn't even exists.. please help
phpinfo()
shows the php.ini file that is loaded by the version of PHP loaded by apache. You may have php.ini files in other locations, but it's the one that reported by phpinfo() that is loaded (and used) by apache.
What are you trying to do? We can help you "fix" that problem.
精彩评论