Bug 72700
Summary: | PHP scripts no longer run after updating PHP | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | john.l.villalovos |
Component: | php | Assignee: | Phil Copeland <copeland> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | David Lawrence <dkl> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 7.3 | CC: | fmonkey |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-08-26 18:58:32 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
john.l.villalovos
2002-08-26 18:58:26 UTC
I'm fairly certain they won't run because they use the <? ... ?> syntax as opposed the to the correct <?php ... ?> syntax edit /etc/php.ini look for ; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized. short_open_tag = On and change that to off and they should get you back to where you were before Strictly speaking your scripts should open/close with <?php ... ?> Phil =--= Woo hoo! That was it. Thanks for the help on that. While it may be correct in the technical sense, there are many, many PHP packages which use the "<?" syntax as opposed to "<?php". Since this setting has been back-ported to 7.3 and also affects all 8.0 systems, wouldn't it be a better idea to leave the option on, considering the plethera of PHP packages that are now effectively broken because of this setting? There has been quite a bit of confusion about this setting on the mailing lists, as well as many of customers complaining about PHP no longer working on their systems. Being pedantic doesn't seem to be a good reason to cause as much damage as this change does. Yes - the short_open_tag default has been changed back to "On" in the Phoebe beta release. |