Reputation: 4613
How do I install PECL APD on wamp server so that I can profile my PHP scripts?
Upvotes: 1
Views: 1302
Reputation:
In your INI file, add the following lines:
zend_extension = /absolute/path/to/apd.so
apd.dumpdir = /absolute/path/to/trace/directory
apd.statement_tracing = 0
And download it from this link.
Depending on your PHP build, the zend_extension directive can be one of the following:
zend_extension (non ZTS, non debug build)
zend_extension_ts ( ZTS, non debug build)
zend_extension_debug (non ZTS, debug build)
zend_extension_debug_ts ( ZTS, debug build)
And then restart your server.
Upvotes: 1