1. Remove php version thats not php-fpm
cd /etc/php/
ll
sudo apt-get purge php7.*
https://askubuntu.com/questions/716661/how-do-i-remove-php-7-completely
2. cd into laravel folder && run composer update :
With PHP-FPM installed, you will encounter extension unfound error. With good old mod php, extension can be enabled in php.ini file with extension=XXX uncommented :
https://linuxconfig.org/how-to-enable-and-disable-php-curl-module-with-apache-on-ubuntu-linux
With PHP-FPM extension must be manually installed:
MYSQL :
apt-get install php7.<yourversion>-mysql
https://stackoverflow.com/questions/39204990/php-startup-unable-to-load-dynamic-library-usr-lib-php-20151012-php-mysqli-dll
CURL
apt-get install php7.<yourversion>-curl
https://stackoverflow.com/questions/38800606/how-to-install-php-curl-in-ubuntu-16-04
MB string
sudo apt-get install php7.<yourversion>-mbstringDOM extension :sudo apt-get installphp7.<yourversion>-xml
https://laracasts.com/discuss/channels/servers/how-do-i-install-the-dom-extension-for-php7
3. run composer install
No comments:
Post a Comment