Bug 59195 - Problem in php.ini for php4.1.1
Summary: Problem in php.ini for php4.1.1
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: php
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Copeland
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-02-01 22:39 UTC by Nicolas CROISET
Modified: 2007-04-18 16:39 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-02-07 20:33:42 UTC
Embargoed:


Attachments (Terms of Use)

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
=--=


Note You need to log in before you can comment on or make changes to this bug.