#!/bin/bash cat <<EOF> "$(grep DocumentRoot /etc/apache2/sites-available/default | cut -d " " -f2)/phpinfo.php" <?php phpinfo(); ?> EOF
# create automaticly a session session.auto_start = ON # disable global variables register_globals = OFF # increase upload limit upload_max_filesize = 50M