Dear tech-pros,
first see this: https://github.com/Elgg/Elgg/issues/9479
When I create an alias the command "composer" works as expected, locally.
The script which is executed after the elgg-folder was created (.scripts/check_global_requirements.php) doesn't know the alias anymore. I stored the alias as well in the .bashrc (there is no .profile or .bash_profile). The error is "sh: composer: command not found"
Another idea: in the script (.scripts/check_global_requirements.php) the command is executed via "exec". As far as I know I do have to change the PHP mode from native PHP (apache) to CGI-PHP to run the command "exec". This I can do via "AddHandler php5-cgi .php" in a .htaccess-file, which has to be stored in the project-folder. Now the folder isn't empty anymore and an install isn't possible anymore (requires empty directory). [Adding the handler one folder above should work for this]
Any ideas on this? Thanks in advance!
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Juho Jaakkola@juho.jaakkola
Juho Jaakkola - 0 likes
You must log in to post replies.One option is to download the pre-built zip package. That way you won't have to use composer.
I'd however recommend you to switch to a server where you have more control on the command line. That will make the site maintenance much easier in the long run.