phacility / xhprof

XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based user interface.
http://pecl.php.net/package/xhprof
Apache License 2.0
2.6k stars 925 forks source link

Fix PECL repository so installation is complete #64

Open geerlingguy opened 9 years ago

geerlingguy commented 9 years ago

I've witnessed PHP.net bug #65922 a few times on multiple environments (basically, anywhere XHProf is installed on Ubuntu or CentOS with PHP 5.5.x); basically, the PECL repository seems to be missing all the static resources (e.g. all the non-.php files inside https://github.com/phacility/xhprof/tree/master/xhprof_html).

Therefore, when a user visits the xhprof_html directory, the webserver returns a bunch of 404s, none of the JS works, and everything on the page is unstyled.

geerlingguy commented 9 years ago

See related PR: https://github.com/phacility/xhprof/pull/66