Bug 15669
Summary: | Install documentation missing | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <efm-redhatbugzilla> |
Component: | php | Assignee: | Nalin Dahyabhai <nalin> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 6.2 | ||
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: | 2000-08-08 15:36:40 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
2000-08-07 18:17:35 UTC
The package's %post script should handle editing the php.ini file for you, unless it has been modified drastically from the default. The version in the development tree still does this. Well, I picked up the package from one of your mirrors this morning (not from the dev tree), and it did not change the php3.ini file. That's odd. Is your php3.ini file the same as the one distributed in the package? What does running "rpm -qp --scripts" against the package show? postinstall script (through /bin/sh): perl -pi -e 's|^;extension=pgsql.so|extension=pgsql.so|g' /etc/httpd/php3.ini postuninstall script (through /bin/sh): if [ $1 = 0 ]; then perl -pi -e 's|^extension=pgsql.so|;extension=pgsql.so|g' /etc/httpd/php3.ini fi #%post mysql #perl -pi -e 's|^;extension=mysql.so|extension=mysql.so|g' /etc/httpd/php3.ini #%postun mysql #if [ $1 = 0 ]; then # perl -pi -e 's|^extension=mysql.so|;extension=mysql.so|g' /etc/httpd/php3.ini#fi What is the output of "grep pgsql.so /etc/httpd/php3.ini"? grep pgsql.so /etc/httpd/php3.ini extension=pgsql.so diff /etc/httpd/php3.ini /etc/httpd/php3.ini.orig 146d145 < extension_dir = /usr/lib/apache # this was the line that I had to add to make it work # once I knew which file to look at Looking at the php3.ini included in the package shows that it includes: extension_dir = /usr/lib/apache/ ; directory in which the loadable extensions (modules) reside What php3.ini included in the package? [efm@gwen efm]$ rpm -qlp php-pgsql-3.0.15-2.i386.rpm /usr/lib/apache/pgsql.so Do you mean from some other package? Yes, php-3.0.15-2.i386.rpm. |