Laravel Composer Update Issues at Ubuntu

Apache error “Could not reliably determine the server’s fully qualified domain name”

Open a terminal
Open the /etc/apache2/httpd.conf file:
sudo editor /etc/apache2/httpd.conf
By default, it would be blank. Simply add the following line:
ServerName localhost
Save the file and exit
Restart the server
sudo service apache2 restart
=====================================
mbstring is missing while composer updating

– laravel/framework v5.2.9 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.

for general php versions
sudo apt-get install php-mbstring

for php 5.*
sudo apt-get install libapache2-mod-php5

for php 7.*
sudo apt-get install php-mbstring php7.0-mbstring php-gettext libapache2-mod-php7.0

Then, restart apache2:
sudo service apache2 restart ( Ubuntu 14.04 )
sudo systemctl restart apache2 ( Ubuntu 16.04 )

Still missing?

sudo phpenmod mcrypt
sudo phpenmod mbstring

Then, restart apache2
sudo service apache2 restart ( Ubuntu 14.04 )
sudo systemctl restart apache2 ( Ubuntu 16.04 )

===================================

If you got problem, while composer updating
“doctrine-dbal missing”

composer require Doctrine/dbal
or
apt-get install php-doctrine-dbal
=====================================

If you got problem
” phpunit/phpunit 4.8.9 requires ext-dom * -> the requested PHP extension dom is missing from your system.”

for general php versions
sudo apt-get install php-xml

if your php version is 5.*
sudo apt-get install php5.6-xml

if your php version is 7.*
sudo apt-get install php7.0-xml

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s