...
Add the following lines to ~/.bashrc to run the commands as "composer" instead of the full command of "php -d disable_functions= ~/bin/composer.phar":
| Code Block | ||
|---|---|---|
| ||
alias php="php -d disable_functions=" alias composer="php ~/bin/composer.phar" |
| Note |
|---|
"-d disable_functions=" is very important parameter here, because composer requires some disabled functions (like escapeshellarg or proc_open). |
b) Install your first project:
...
| Code Block | ||
|---|---|---|
| ||
user@server [~]# mkdir project user@server [~]# cd project/ user@server [~/project]# user@server [~/project]# composer create-project laravel/laravel --prefer-dist |
| Warning |
|---|
| Important: for some reasons laravel installation requires 390Mb of RAM (and this is not mentioned on their site), so if you are planning to install Laravel, please consider our Professional Hosting Package, since it will satisfy all the requirements. |
Don't worry if you get the following error:
...