Search code examples
laravelapachenginxlaravel-valet

Apache2 on Valet


Is there any way I can use apache2 on Laravel Valet ? I need to write some code to the .htaccess file. The site on our server uses apache but I am running Valet which uses nginx, so I cannot test it before putting it to the world.


Solution

  • Nope.

    Installation

    Valet requires macOS and Homebrew. Before installation, you should make sure that no other programs such as Apache or Nginx are binding to your local machine's port 80.

    You could install apache and configure it to run on a different port, but you will lose the benefits of Valet.