Bug 124985
Summary: | enable safe mode overriding safe_mode option | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Andrew Nagy <andrew.nagy> | ||||
Component: | php | Assignee: | Joe Orton <jorton> | ||||
Status: | CLOSED NOTABUG | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 2 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2004-06-02 15:15:55 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: | |||||||
Attachments: |
|
Description
Andrew Nagy
2004-06-01 19:40:08 UTC
I can't reproduce this; the configure default is supposed to be overridden by the /etc/php.ini setting. Can you attach your /etc/php.ini and a script which fails? php-4.3.6-5 Created attachment 100762 [details]
PHP INI file
I didn't make any changes to the php.ini, I am using the default. the error was on: require_once('PEAR.php'); I managed to fix it by changing the owner of everything in the /usr/share/pear directory to be owned by my group instead of by the root group. Since the php.ini has safe_mode = Off, why would I see any safe mode errors at all? Oh ... I did change the php.ini to show all errors. Still can't reproduce with php-4.3.6-5. php.ini should be setting safe_mode to Off by default, and is for me. What does: # echo '<? phpinfo() ?>' | php -q | grep safe_mode give for you, also: # rpm -q php I can't duplicate it anymore. It seems it must have been a permissions issue. The thing that I couldn't figure out is why I was getting Safe Mode warnings when safe_mode option was off. Very strange. |