sobota, 24 listopada 2012

Time for Symfony2

Since i really lost track with changes in CakePHP i've decided to use Symfony2 for my new project.

As i'm using shared hosting (bluehost) I had difficulties getting things configured.
First of all:
By default i had php.ini value register_argc_argv set to Off which resulted in errors when trying to run php app/console


Second error: Use of undefined constant STDIN line 40.
What i found was that calling php in linux console was calling cgi-fcgi instead of cli client so check your php -v and find path to cli version of php.

Brak komentarzy:

Prześlij komentarz