I have an error when I try to install eZ Publish by using the installation instructions.
cd /tmp/
git clone https://github.com/ezsystems/ezpublish-community.git
The repository is correcly cloned, I then go to the next step:
cd ezpublish-community/
composer install --prefer-dist
It installs the required packages then display this error message:
[...]
Writing lock file
Generating autoload files
Creating the "ezpublish/config/parameters.yml" file
Some parameters are missing. Please provide them.
secret (ThisTokenIsNotSoSecretChangeIt): [...]
locale_fallback (en):
ezpublish_legacy.default.view_default_layout ('eZDemoBundle::pagelayout.html.twig'):
PHP Fatal error: Class 'eZ\Bundle\EzPublishCoreBundle\Kernel' not found in /tmp/ezpublish-community/ezpublish/EzPublishKernel.php on line 37
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-install-cmd event terminated with an exception
The composer.json
file is the same as the current one on github.
I have this problem with Ubuntu 14.04 and Debian wheezy (7.5).
Update
Here is a solution but it should be noted that it will install the development version of eZ Publish (see the answer from jeromegamez below).
I was able to install eZ Publish by increasing the memory_limit
parameter of PHP:
This didn't work (I don't know why and I don't care):
php -d memory_limit="1G" ./composer.phar install --prefer-dist
So I changed the /etc/php5/cli/php.ini
file:
; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
;memory_limit = 128M
; New
memory_limit = 1G
And the installation worked perfectly.