Skip to content

Tag: composer-php

OSX composer increase memory limit

I am having memory issues with composer; trying to increase the available amount above 128MO. I have been following the guidelines from composer.org but nothing seems to work. If I locate php.ini on my machine I get: I sudo /private/etc/php.ini.default and change MEMORY_LIMIT = 512MO but when I do php -r &#82…

PHP Composer Can’t find autoloaded file

I am trying to autoload a file and my PSR-4 autoloading worked fine locally however now that I am deploying to a baremetal server. It is not working and PHP states that it can’t find the autoloaded file. This is the current error: Fatal error: Class ‘MetabaseModelsCron’ not found in /usr/www…

Keep XAMPP & Install WAMP

I am using Windows 7 and I have XAMPP installed. In Git Bash when I type php -v I get PHP 5.6.15. I need newer version of PHP because I am using Composer and I am unable to install packages that require PHP 7.1. I know that one way to solve this is to backup projects, uninstall the current XAMPP

Composer Install – requires ext-mbstring

I am trying to do a composer install …, but getting an error of requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. I am using Apache (Cpanel) and PHP 5.6. Below are the ways I am trying to fix the error. 1: yum search mbstring 2: yum install ea-php56-php-mbst…