Comments on How to Install Laravel 5.x with Nginx and PHP-FPM 7.1 on CentOS 7
In this tutorial, I will show you how to install the Laravel Web Framework with Nginx web server, PHP-FPM 7.1 and MariaDB on a CentOS 7 system. Laravel is an open source PHP framework that follows the MVC (Model-View-Controller) design pattern. It has been created by Taylor Otwell in 2011 as an attempt to provide an advanced alternative to the CodeIgniter (CI) framework.
13 Comment(s)
Comments
When I make vim conf.d/laravel.conf, I writed my servername (localhost.localdomain) but , when i testing, the page is always go to search page.. it this a naming problem??
I can't find anything under the folder /run/php-fpm/'. I don't have a file like 'php-fpm.sock'. Could you give me that file?
How do I go about setting up the Letsencrypt certificate, https connection in EC2 environment?
try your ip
I have followed all the steps but it gives me "403 Forbidden". Please any help
Thank you very much
I solved run SELinux configuration.
Thanks
The following error log appear. Please guide me.
directory index of "/var/www/laravel/public/" is forbidden,
2018/05/21 04:16:21 [crit] 2183#0: *1 connect() to unix:/run/php-fpm/php-fpm.sock failed (13: Permission denied) while connecting to upstream, client: 128.199.102.175, server: 128.199.136.163, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", host: "128.199.136.163"
Laravel Framework 5.7.11
Works fine, but... it was some problens with vim conf.d/laravel.conf solved by touch laravel.conf to create file
Vim creates a new file automatically when it does not exist, using the touch command first is not required.
I can't remember exact exception, but at that time vim do not want to write changes to file. Now, after all configurations, it's ok
not working; 403 Forbidden :(
Hello,
nginx return 404
Do you have any advice? Thank you
not working. 403 Forbidden.