Nightfox
Nightfox

Reputation: 488

Run Symfony 1.4 using PHP built in server

I have a old symfony 1.4 project to upgrade in my current company. I have a complex situation. I am not able to install a local server ( Apache ) in my system. Not able to create another environment in client system also ( MNCs always sucks. Even need permission from client to change my Netbeans theme ).

So I thought about running the code in PHP built in server. Luckily I have PHP v5.6.25 installed in my system where code available. Also I know, only symfony v2.6 or above support 'server:run' method. I could run PHP built in server using the command PHP -S localhost:8000 in my system.

My question is, is there any way I can use the PHP built in server to run Symfony 1.4 project in my system.

Thanks in advance.

Upvotes: 1

Views: 150

Answers (1)

Gaël Delmer
Gaël Delmer

Reputation: 11

Try first to run your server in another files with just a Hello World. If this works, it should works in web/app directory. For your error with autoload watch your composer

Upvotes: 1

Related Questions