php-light / php-light
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 4
Open Issues: 1
Type:project
Requires
- iknsa/helper-bundle: @dev
- romenys/components: @dev
- romenys/framework: @dev
- romenys/helpers: @dev
- romenys/http: @dev
- romenys/logger: @dev
- romenys/router: @dev
- symfony/var-dumper: ^3.1
- twig/twig: ^1.28
This package is not auto-updated.
Last update: 2024-05-12 01:09:51 UTC
README
Configure your host
From a terminal, edit your hosts file:
sudo vim /etc/hosts
and add the following:
127.0.0.1 php-light.dev
Create a new apache configuration file:
sudo touch /etc/apache2/sites-available/php_light.conf
Edit the newly created file to point to your project:
sudo vim /etc/apache2/sites-available/php_light.conf
add the following content:
<VirtualHost *:80>
ServerName php-light.dev
DocumentRoot /var/www/php-light
# optionally disable the RewriteEngine for the asset directories
# which will allow apache to simply reply with a 404 when files are
# not found instead of passing the request into the full symfony stack
ErrorLog /var/log/apache2/php_light_error.log
CustomLog /var/log/apache2/php_light_access.log combined
</VirtualHost>
Enable the newly create apache2 conf:
sudo a2ensite php_light.conf
Restart apache
sudo service apache2 restart