Symfony: Difference between revisions
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
symfony server:start --no-tls | symfony server:start --no-tls | ||
</source> | </source> | ||
==PHP Installation== | |||
{| | |||
| | |||
'''Normal Installation''' | |||
sudo apt install php8.1 php8.1-common libapache2-mod-php8.1 php8.1-cli | |||
sudo systemctl restart apache2 | |||
| | |||
'''FastCGI Process Manager''' | |||
sudo apt install php8.1-fpm php8.1-common libapache2-mod-fcgid php8.1-cli | |||
sudo a2enmod proxy_fcgi setenvif && sudo a2enconf php8.0-fpm | |||
|} | |||
== Reference == | == Reference == |
Revision as of 09:56, 26 April 2022
Installation
Symfony 4.4
rm -rf /usr/local/bin/symfony
curl -sS https://get.symfony.com/cli/installer | bash
export PATH="$HOME/.symfony/bin:$PATH"
symfony new --full AcademiaBash --version=4.4.*
symfony new --full AcademiaBash --version=lts
cd AcademiaBash
symfony server:start
symfony server:start --no-tls
PHP Installation
Normal Installation sudo apt install php8.1 php8.1-common libapache2-mod-php8.1 php8.1-cli sudo systemctl restart apache2 |
FastCGI Process Manager sudo apt install php8.1-fpm php8.1-common libapache2-mod-fcgid php8.1-cli sudo a2enmod proxy_fcgi setenvif && sudo a2enconf php8.0-fpm |