Aerendir
Aerendir

Reputation: 6399

How to run a Symfony app without using the built-in server?

In the documentation is clearly explained how to run the built-in server to run a Symfony App.

Ok, all works well and i'm very happy, but:

How can i run a Symfony App without using the server but simply something like http://localhost/path/to/symfonyApp/web/app.php?

Here the documentation: http://symfony.com/doc/current/cookbook/web_server/built_in.html

Upvotes: 0

Views: 4555

Answers (3)

Bango
Bango

Reputation: 991

It's not too hard, if you're running a local server (Apache/wamp) and have PHP configured to it already. If you're on a windows machine you'll want to run it with a nice linux-esque terminal like Cygwin. You'll also want to have Composer to automate a lot of your Symfony tasks.

Then just download Symfony and put it in your web facing folder (htdocs, www, whatever you call it) and configure it according to what you need.

Upvotes: 0

Brejk
Brejk

Reputation: 454

This is also explained in docs: Configuring a Web Server

Upvotes: 1

Abel
Abel

Reputation: 548

Maybe something like this could help: Install Symfony 2 with wamp

Upvotes: 2

Related Questions