Last active
November 16, 2017 16:42
-
-
Save acedesigns/509a00cb6fbf92998a2329e4fc0e4240 to your computer and use it in GitHub Desktop.
Some PHP Modules one Should Always have On Their Server
This file contains 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
<?php | |
// sudo apt-get install php7.0-gd | |
// sudo apt-get install php-curl php-xml php-gettext php-cgi php-mysql libcurl3 libcurl3-dev php-mbstring php7.0-mbstring php-gettext -y | |
// apt-get install php7.0 php-curl libapache2-mod-php7.0 libcurl3 libcurl3-dev php7.0-mysql php7.0-xml php7.0-gd php7.0-zip php7.0-mcrypt php7.0-mbstring php7.0-cli php7.0-common | |
// https://askubuntu.com/a/640900/625311 | |
/* | |
<Directory /var/www/> | |
Options Indexes FollowSymLinks | |
AllowOverride All | |
Require all granted | |
</Directory> | |
*/ | |
// sudo a2enmod rewrite | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment