This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Secure adminer setup | |
| # Author Taras Kozlov | |
| # download adminer to separate directory | |
| mkdir -p /var/www/admin | |
| cd /var/www/admin | |
| wget http://www.adminer.org/latest.php -O adminer.php | |
| echo '<?php phpinfo(); >' > info.php | |
| sudo -i |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo cp /private/etc/php.ini.default /private/etc/php.ini; | |
| sudo php /usr/lib/php/install-pear-nozlib.phar; | |
| pear config-set php_ini /private/etc/php.ini; | |
| pecl config-set php_ini /private/etc/php.ini; | |
| sudo pear upgrade-all; | |
| sudo pear install PHP_CodeSniffer; | |
| ---- | |
| nano /private/etc/php.ini; | |
| include_path Zeile einkommentieren & umändern in: |