Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

short_open_tag = Off in CLI even when set to On in .ini #1186

Closed
szyzak opened this issue Oct 13, 2017 · 3 comments
Closed

short_open_tag = Off in CLI even when set to On in .ini #1186

szyzak opened this issue Oct 13, 2017 · 3 comments
Labels

Comments

@szyzak
Copy link

szyzak commented Oct 13, 2017

Info:

  • Docker version ($ docker --version): Docker version 1.12.6, build 78d1802
  • Laradock commit ($ git rev-parse HEAD): 903c774
  • System info (Mac, PC, Linux): Linux
  • System info disto/version: Ubuntu 17.04

Issue:

php CLI short_open_tag is set to Off


Expected behavior:

php CLI short_open tag should be set to On if in php.ini file it was On

However nginx short_open_tag is On


Reproduce:

.env
PHP_VERSION=71

php71.ini
short_open_tag = On


Relevant Code:

docker-compose up -d nginx
docker-compose exec workspace bash
php -ini | grep short_open_tag

in app code

<?php
echo phpinfo();
die;
@szyzak szyzak changed the title short_open_tag = false in CLI even when set to true in .ini short_open_tag = Off in CLI even when set to On in .ini Oct 13, 2017
@StanislavDremin
Copy link

I created file ./ php-fpm/cgi.ini in which specified short_open_tag = on and in docker-compose.yml pointed to
workspace:
volumes:
-./ php-fpm/cli.ini:/etc/php/${PHP_VERSION}/cli / conf.d / 30-cli.ini

@stale
Copy link

stale bot commented Feb 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label Feb 2, 2020
@stale
Copy link

stale bot commented Feb 23, 2020

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants