Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 5259

Summary: php does not initialize itself on apache conf
Product: [Retired] Red Hat Raw Hide Reporter: carenas
Component: mod_php3Assignee: Preston Brown <pbrown>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-11-02 16:00:08 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 carenas 1999-09-20 21:37:12 UTC
php should uncomment Load of module on httpd.conf

%post
perl -pi -e 's|^#LoadModule php3_module|LoadModule
php3_module|g' /etc/httpd/conf/httpd.conf
perl -pi -e 's|^#AddModule mod_php3.c|AddModule
mod_php3.c|g' /etc/httpd/conf/httpd.conf

%postun
perl -pi -e 's|^LoadModule php3_module|#LoadModule
php3_module|g' /etc/httpd/conf/httpd.conf
perl -pi -e 's|^AddModule mod_php3.c|#AddModule
mod_php3.c|g' /etc/httpd/conf/httpd.conf

Comment 1 Preston Brown 1999-11-02 15:29:59 UTC
added for next release.

Comment 2 Preston Brown 1999-11-02 16:00:59 UTC
this has been fixed for the next (6.2) release.