Moki
Moki

Reputation: 199

Trace and debug PHP code

Can somebody tell me how can php code be traced on a distant webserver? I tried with xdebug but I cannot find php.ini and other configuration files?

Thank you very much in advance!

Upvotes: 0

Views: 82

Answers (1)

Latheesan
Latheesan

Reputation: 24116

Have you enabled the remote debug functionality in XDebug?

http://xdebug.org/docs/remote

You need an IDE that integrates with xdebug remote debug, like Netbeans 7.

https://netbeans.org/kb/docs/php/debugging.html

Upvotes: 1

Related Questions