| Server IP : 213.186.33.4 / Your IP : 216.73.216.193 Web Server : Apache System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : awebpaca ( 35430) PHP Version : 8.5.0 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/awebpaca/piwik/misc/composer/ |
Upload File : |
#!/bin/bash
if ! type phpize &> /dev/null; then
echo "phpize missing, skipping build"
echo "If you installed PHP via Aptitude, you can install phpize w/ 'sudo apt-get install php7-dev'"
exit
fi
if ! type make &> /dev/null; then
echo "make missing, skipping build"
exit
fi
if ! [ -d "vendor/facebook/xhprof/extension" ]; then
echo "xhprof missing, skipping build"
exit
fi
mkdir -p tmp/xhprof-logs
cd vendor/facebook/xhprof/extension
echo "Building xhprof..."
if ! phpize &> ../../../../tmp/xhprof-logs/phpize.log; then
echo "Fatal error: phpize failed! View tmp/xhprof-logs/phpize.log for more info."
exit 1
fi
# Execute aclocal and autoconf only if Gentoo is used.
if [[ -x /usr/bin/emerge ]]; then
if ! aclocal &> ../../../../tmp/xhprof-logs/aclocal.log; then
echo "Fatal error: aclocal failed! View tmp/xhprof-logs/aclocal.log for more info."
exit 1
fi
if ! autoconf &> ../../../../tmp/xhprof-logs/autoconf.log; then
echo "Fatal error: autoconf failed! View tmp/xhprof-logs/autoconf.log for more info."
exit 1
fi
fi
if ! ./configure &> ../../../../tmp/xhprof-logs/configure.log; then
echo "Fatal error: configure script failed! View tmp/xhprof-logs/configure.log for more info."
exit 2
fi
if ! make &> ../../../../tmp/xhprof-logs/make.log; then
echo "Fatal error: could not build extension (make failed)! View tmp/xhprof-logs/make.log for more info."
exit 3
fi
echo "Done."