Can't install composer - the json extension is missing
just install the module:
sudo apt-get install php5-json
EDIT - Reason:
See Heanzo Beanzo Comment:
It has been removed in recent packages due to a license conflict see
bug on php.net.
Composer update: The requested PHP extension ext-http missing
in my case i'm using ubuntu, hope this solve the problem.
sudo apt install php-http
Why is my PHP extension used by Symfony invalid after ubuntu update?
Use
"ext-json": "*",
If it's not your library and you cannot change the code, use
composer install -n --ignore-platform-reqs
I cannot install Laravel with Composer (ext-zip extension is missing)
- Make sure to restart the webserver after the change
php -m
to list the compiled modules- it happened to me once (on plesk) that composer was using a different php version than to use
php
itself - You could try
php composer.phar(the location of that)
and check the results
If Installing laravel is what matters here
here are some possible solutions
composer create-project laravel/laravel [dir]
- or
git clone https://github.com/laravel/laravel.git
thencd
to that directory, usually laravel, socd laravel
thencomposer install
Related Topics
How to Access the PHP.Ini File in Godaddy Shared Hosting Linux
Why Use $_Server['Php_Self'] Instead of ""
Dependency Hell - How Does One Pass Dependencies to Deeply Nested Objects
How to Limit File Upload Type File Size in PHP
Geo-Search (Distance) in PHP/MySQL (Performance)
How to Get the Total Number of Rows of a Group by Query
How to Embed Images in HTML Email
How to Read Large Worksheets from Large Excel Files (27Mb+) with PHPexcel
How to Get Ssl Certificate Info with Curl in PHP
When Will _Destruct Not Be Called in PHP
$_Server["Remote_Addr"] Gives Server Ip Rather Than Visitor Ip
How to Run PHP Files on My Computer
PHP - Convert Multidimensional Array to 2D Array with Dot Notation Keys