I have a problem setting up neos.
After following allong the installation guide (https://docs.neos.io/cms/installation-development-setup/docker-and-docker-compose-setup) I was able to start the containers and access neos with a browser. I started the initial setup where I was able to login an fill in the field for the DB connection. After pressing next, the following Error apears:
It sounds like a PHP version error. Do you have the same PHP version in both containers?
The guide makes very clear that these two things must be done correct
Be sure to have the **same PHP version** in your **composer** **container** as in your **PHP container** .
and
Stick with your composer method
Either consistently run Composer through docker, or on your local host; but do not mix these approaches during your project – lots of errors can occur when mixing this (see the FAQ below).
and the error seems like a issue with the PHP version
The different PHP versions were acutually causing the error. Composer was runnning with PHP 7.4.5 and the Neos Image with PHP 7.2. After fixing this problem (changing the PHP version in the Dockerfile), the setup was going further but crashed again.
I was able to set up the DB, the admin account and filling out the form to create a new site (Step 4 of 5). When I clicked on ‘Next’ there happend something but after a while the following errors were displayed on the screen:
**Fatal error** : Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in **/app/Packages/Libraries/composer/composer/src/Composer/Json/JsonFile.php** on line **288**
**Fatal error** : Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in **/app/Packages/Libraries/composer/composer/src/Composer/Console/Application.php** on line **87**
Once again, I have no idea, how to fix this problem.
[Edit and problem solved]
The exception was thrown, because I was hurrying thru the setup for the 20eth timeand chosing the Demo Site Package and entered some characters in the fields for a new Site Package as well. Simply doing one or the other was what solved the problem.