Symfony2 Composer Install

前端 未结 4 2023
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-13 13:20

I am trying to install Symfony 2.1.3 (latest). I am running composer and installs everything okay. The only error that I get is:

Script Sens         


        
4条回答
  •  情书的邮戳
    2021-01-13 14:11

    I had the same problem and I resolve in this way.

    execute this on the console and you should see something like this

    $ locate php.ini
    /etc/php5/apache2/php.ini
    /etc/php5/cli/php.ini
    /etc/php5/fpm/php.ini
    

    the first line is probably your php.ini that appear when you do a phpinfo();

    the problem is that when you execute composer update this no check the same php.ini

    in my case the second line

    all my sites work fine but always I had problems not now after edit the second file and put the same time zone that you set in the first one

    run

    $ sudo service apache2 reload
    

    and now

    $ composer update
    

    I hope that this work for you like work for me

    regards Emiliano

提交回复
热议问题