can't update php.ini file in Docker container

前端 未结 3 1993
一生所求
一生所求 2020-12-24 12:55

I\'m trying to set Magento2 on Docker with Nginx & PHP7.

I\'ve added a custom php.ini file as recommended by the PHP7 Docker image. I can see from phpinfo.php t

3条回答
  •  情话喂你
    2020-12-24 14:02

    i think you have to reload the nginx config. i dont know which OS your php container uses, but try inside of the container some of these:

    # /etc/init.d/nginx restart
    
    # service nginx restart
    
    # nginx -s reload
    

    my logical reason is, that you install php ( and start it at the same time ) and after all you copy the new config.

提交回复
热议问题