0

We are planning to develop a Laravel 5.4 web application on apache on windows but we will deploy it on nginx server.

The question is, does it have any effect or bugs while deploying due to server environment changes ?

Or we must use nginx as a local server as well ?

2
  • 1
    Only if you're reliant on changes you make in .htaccess like rewrite rules or redirects since nginx doesn't have .htaccess. However, for the most part, Apache and Nginx just pass off* the request to PHP. Commented Sep 20, 2017 at 13:23
  • 1
    If you haven't already, I would highly suggest looking at Laravel Homestead. It will allow you to use a much more similar environment to what it sounds like your production environment will be. Commented Sep 20, 2017 at 14:08

1 Answer 1

1

If you develop on apache you need the htaccess in /public folder. In nginx this is not needed. The short and simple answer is no, you will not have any issues, but the most complex answer is depends on what kind of app you are develop.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.