I need to debug php code on a non-dedicated hosted server and donot have access to php.ini. Is there an ini file similar to .htaccess for php that can be configured? Any other suggestion how to debug on a non-dedicated remote hosted server?
You can do this with .htaccess (if the AllowOverride settings in your Apache vhost configuration allows that): http://www.electrictoolbox.com/set-php-config-options-apache-htaccess-file/
Will it work for values like below that are outside of php normal directives. So if I am on a shared hosted server, can I use php_value to se these things? E.g. Code: php_value zend_extension "/mylocaldir/no-debug-non-zts-20060613/xdebug.so" php_value xdebug.remote_enable 1 .... Here is my xdebug configuration I currently have on my dedicated server. Code: [Zend] zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20060613/xdebug.so" [xdebug] xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_host=127.0.0.1 xdebug.remote_port=9999 xdebug.idekey=xxxx xdebug.profiler_enable=0 xdebug.profiler_output_name=xdebug.cachegrind-out.%s.%p xdebug.var_display_max_depth=10