• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Message: Set sys_temp_dir in your php.ini after installed composer

phpcomposer-php


PHP Snippet 1:

php -d open_base_dir="." -d sys_temp_dir="." /usr/local/bin/composer -v

PHP Snippet 2:

php -d open_base_dir="." -d sys_temp_dir="." /usr/local/bin/composer install
php -d open_base_dir="." -d sys_temp_dir="." /usr/local/bin/composer update

PHP Snippet 3:

php -d open_base_dir="." -d sys_temp_dir="."  vendor/bin/phpcbf --standard=Magento2 magento2/app/code/example/StockReserve --report-file="StockReserveAutoFixed.txt"

Related Snippets

CodeIgniter force_download is not working

How to submit the custom form data in database in WordPress without plugin using ajax?

Extract string between first whitespace and last whitespace in php

PHPSpreadsheet - How Do I Use Auto Migration Tool

Laravel SQL query midnight time not showing

NGINX: connect() to unix:/var/run/php7.2-fpm.sock failed (2: No such file or directory)

Docker image build with PHP zip extension shows "bundled libzip is deprecated" warning

PhpSpreadSheet: How to save Workbook sheets in individual CSV files

XAMPP keeps showing Dashboard/Welcome Page instead of the Configuration Page

Get latest Tweets - What API

Laravel print last executed SQL query with Query log

Require a class from another class - php

Add customer email and phone in "Order" column to admin orders list on Woocommerce

Can't find vendor/autoload.php for Ratchet

Woocommerce product attributes with hierarchy like categories

About Contact Privacy policy Terms and conditions