Bug 77450
| Summary: | PHP does not update Apache's configs | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <stanislav.voroniy> |
| Component: | php | Assignee: | Joe Orton <jorton> |
| Status: | CLOSED DUPLICATE | QA Contact: | David Lawrence <dkl> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | ||
| 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-11-07 09:44:41 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
Need Real Name
2002-11-07 08:38:33 UTC
The Apache configuration directives for PHP are placed in /etc/httpd/conf.d/php.conf, which is loaded by Apache by default. What config directives did you need to add to httpd.conf? There are a number of reasons why PHP scripts which worked with 7.x may not work with the 8.0 PHP packages; mostly these are documented in the migration guide at /usr/share/doc/httpd-2.0.40/migration.html, which I suggest you read. One issue not mentioned is that the "short_open_tag" config option is turned off by default in /etc/php.ini, so PHP scripts which use the "<? ... ?>" syntex will not work. This can be changed in /etc/php.ini. Thanks for fast reaction. Probably I was not right - php is active and a reason in this short_open_tag. I've used as test php stuff scripts from RH's standard "wordtrans" package. It just shows me the php sources :-) So probably it is a bug in "wordtrans" package, not in php. So this report should be renamed to "wordtrans php scripts bug". But IMHO it was extremly BAD idea to set short_open_tag to off by default. To my mind you should change it, otherwise you will have a lot of complains about php not working. So, even if packages that a part of 8.0 distribution affected by this setting, it is really better to change this default. Sorry for wrong report :-) I have not enough time to check all the things. My idea was that at least packages that are part of distribution should work :-). |