Sign inSign up

bquinn/apache-php7-laravel5

By bquinn

•Updated over 10 years ago

DEPRECATED - Laravel 5 on PHP 7, run by Apache

Image
0

10K+

bquinn/apache-php7-laravel5 repository overview

I'm abandoning this repo in favor of the autobuilt bquinn/laravel

⁠Laravel 5 Environment

Image to run Laravel 5 apps under Apache 2 and PHP 7.0

I don't actively use or maintain this image, so feel free to check out the source on the GitHub repo⁠

⁠How to run

You should have your website code in a subdirectory of your user dir, like ~/docker/my-site

docker run -itP -v ~/<project path>:/var/www/laravel bquinn/apache-php7-laravel5

⁠To set up a new project directory

To install a new laravel instance onto your file system folder, mount a volume and then run: composer create-project laravel/laravel /var/www/laravel --prefer-dist

⁠To test database connection in container

tsql -H <hostname> -U <username> -P <password> -D <database name>

Tag summary

Content type

Image

Digest

Size

324.7 MB

Last updated

over 10 years ago

docker pull bquinn/apache-php7-laravel5