Bug 59195

Summary: Problem in php.ini for php4.1.1
Product: [Retired] Red Hat Linux Reporter: Nicolas CROISET <ncroiset>
Component: phpAssignee: Phil Copeland <copeland>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.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-02-07 20:33:42 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 Nicolas CROISET 2002-02-01 22:39:16 UTC
Description of Problem:

In the new release of php-4.1.1-1, if you use it with php-mysql-4.1.1 for
example, mysql functions does not work.

In the /etc/php.ini there is something wrong :

The parameter extension_dir have now in this release this value ./
This value does not work, you might have /usr/lib/php4

Comment 1 Nicolas CROISET 2002-02-02 07:29:28 UTC
One more problem in php.ini
In the section dynamic extensions, these lines have not been added :

;extension=imap.so
;extension=ldap.so
;extension=pgsql.so
;extension=mysql.so
;extension=odbc.so
;extension=oci8.so
;extension=snmp.so
So when you add a module, the line is not uncommented.
In the SPEC file, you ask curl >=7.8, it's better to put curl >= 7.9 because
when you want to compile php-4.1.1-1.src.rpm, with the command rpm --rebuild,
you have a compilation error.


Comment 2 Phil Copeland 2002-02-07 09:53:09 UTC
Humm,...
ok looks like someone upstream decided to become windows centric and changed all
the default extension names to xyz.dll as opposed to the previous xyz.so names
which is why the post install perl lines aren't changing the php.ini file to
suit.

Havn't gotten around to looking at the extension_dir= bit as yet

Comment 3 Phil Copeland 2002-02-07 20:33:36 UTC
Oh, I looked at the php.ini file after last nights build and the extension_dir=
bit is being set
....
extension_dir   =       /usr/lib/php4                           ; directory in
which the loadable extensions (modules) reside
....

The extension problem appears to have been resolved too.

(rawhide: php-4.1.1-2
Note rawhide internally doesn't get pushed out till 03:00est I've been told)

Phil
=--=