Also I use this PHP Settings (clik on wamp tray icon -> PHP -> PHP settings):
short open tag - tells PHP whether the short form ( ) of PHP's open tag should be allowed
(XDebug): Remote debug - to debug in netBeans
and you need to add following in your php.ini
; XDEBUG Extension zend_extension = "c:/wamp/bin/php/php5.3.5/zend_ext/php_xdebug-2.1.0-5.3-vc6.dll" [xdebug] xdebug.remote_enable = On xdebug.profiler_enable = off xdebug.profiler_enable_trigger = off xdebug.profiler_output_name = cachegrind.out.%t.%p xdebug.profiler_output_dir = "c:/wamp/tmp" zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
If you have got errors like "Undefined variable: model" you should change error_reporting in php.ini:
Open file php.ini and find
error_reporting = E_ALLreplace with
error_reporting = E_ALL & ~E_NOTICEor comment it
Do not forget restart your wamp server
Комментариев нет:
Отправить комментарий