2017 © Pedro Peláez
 

project romenys

image

romenys/romenys

  • Tuesday, January 31, 2017
  • by khalid-s
  • Repository
  • 2 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

PHP Light Starter

Configure your host

From a terminal, edit your hosts file:, (*1)

sudo vim /etc/hosts

and add the following:, (*2)

127.0.0.1   php-light.dev

Create a new apache configuration file:, (*3)

sudo touch /etc/apache2/sites-available/php_light.conf

Edit the newly created file to point to your project:, (*4)

sudo vim /etc/apache2/sites-available/php_light.conf

add the following content:, (*5)

<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:, (*6)

sudo a2ensite php_light.conf

Restart apache, (*7)

sudo service apache2 restart

The Versions