Skip to content

Problems to setting environment variable  #28

@RaulManus

Description

@RaulManus

Hi, I have some doubts when i create the symlink and setting the environment variable.
First i create the symlink pointing to my context (mooc)

ln -s context/mooc links/mooc

Then exec

APP_CONTEXT=mooc symfony proxy:domain:attach mooc --dir=links/mooc
APP_CONTEXT=mooc symfony server:start --dir=links/mooc

But i get an error
[Web Server ] Aug 16 12:22:55 |WARN | HTTP unable to detect the front controller, disabling the PHP server error="Passthru script \"/index.php\" does not exist under /home/courses/ddd-in-php/links/mooc/: stat /home/courses/ddd-in- php/links/mooc/index.php: no such file or directory"
I think I'm making a mistake in creating the symlink. Someone can tell me where is the error?

Thanks!
imagen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions