Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,222,180 members, 8,051,248 topics. Date: Monday, 13 January 2025 at 04:57 AM |
Nairaland Forum / Science/Technology / Programming / How Do You Deploy Laravel Lumen 5.7 On The Server (975 Views)
Get Your Aloe Vera Plus For Your Good Health, Whatsapp No; 0.9.1.3.7.9.7.5.7.0.4 / Pls Oh! How Do I Upload My Designed Website From My Computer To The Server / The Server The Document Is Stored On May Not Be Responding. (2) (3) (4)
How Do You Deploy Laravel Lumen 5.7 On The Server by cbrass(m): 6:26pm On Feb 04, 2019 |
Hello guys, have you used Lumen 5.7? Please how did you set it up to work on a shared server. I am having trouble with it |
Re: How Do You Deploy Laravel Lumen 5.7 On The Server by makavele: 11:10pm On Feb 04, 2019 |
cbrass: Just like any other flavor/package of Laravel, you can deploy on shared hosting. Just make sure the hosting account has SSH access. What is the problem you are facing to be precise? |
Re: How Do You Deploy Laravel Lumen 5.7 On The Server by cbrass(m): 12:46am On Feb 05, 2019 |
makavele: it keeps saying "this site can not be reached" and in the error logs in the public folder i get PHP Parse error: syntax error, unexpected '=' in /home2/lilyserv/public_html/lumen/vendor/illuminate/config/Repository.php on line 68 i have tried RewriteEngine On RewriteRule ^(.*)$ public/$1 [L] but still wont work , i aslo tried but wont work RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L] the PHP version is 7.2 , the Lumen version is also 5.7, so i can't by the way can you put me through that SSH thing |
Re: How Do You Deploy Laravel Lumen 5.7 On The Server by makavele: 12:14pm On Feb 05, 2019 |
It says you have a syntax error; you might as well want to check the Repository.php file and paste the contents here in quotes. a better .htaccess file (to be put in root folder of project) <IfModule mod_rewrite.c> Finally, like you already know artisan cli commands are run via the terminal. Thus, you need ssh access to be able to replicate such commands in production. It would be a pain to always run production locally before shipping to "server" |
Re: How Do You Deploy Laravel Lumen 5.7 On The Server by cbrass(m): 7:49am On Feb 06, 2019 |
makavele: Thank you bro, i already sorted it out, it was an htaccess issue |
(1) (Reply)
We Will Be Glad To Manage Your Tech Issues & Web Design - Emwanta AIRHUNMWUNDE / New Year,new Ideas..let Us Develop Your Ideas ..with A Development Team Ready To /
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2025 Oluwaseun Osewa. All rights reserved. See How To Advertise. 18 |