Apache 2.4 Laravel Server Configuration

Published on

<VirtualHost *:80> ServerAdmin webmaster@PROJECT_NAME.com DocumentRoot /var/www/PROJECT_NAME/public/ ServerName PROJECT_DOMAIN <Directory /> Options FollowSymLinks AllowOverride All </Directory> <Directory /var/www/PROJECT_NAME/public/> Options Indexes FollowSymLinks MultiViews AllowOverride All Require all granted Allow from all </Directory> #ErrorDocument 404 / ErrorLog ${APACHE_LOG_DIR}/PROJECT_NAME_error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/PROJECT_NAME_access.log combined </VirtualHost> <IfModule … Continue reading Apache 2.4 Laravel Server Configuration

Creating a Laravel 5 Project on Ubuntu 14.04 with Apache 2.4

Published on

Clone the project. composer create-project laravel/laravel PROJECT_NAME –prefer-dist or laravel new PROJECT_NAME For instructions on how to install composer see Installing Composer on Ubuntu. If you get a message that mcrypt is not installed you will need to install it. sudo apt-get install php5-mcrypt To boot up a quick server page you can use PHP’s … Continue reading Creating a Laravel 5 Project on Ubuntu 14.04 with Apache 2.4

Installing Composer on Ubuntu

Published on

cd /tmp curl -s http://getcomposer.org/installer | php sudo mv composer.phar /usr/local/bin/ alias composer=’/usr/local/bin/composer.phar’ Reference: https://getcomposer.org/download/