Bug 65916

Summary: php extensions cannot be found
Product: [Retired] Red Hat Raw Hide Reporter: Need Real Name <jeffw>
Component: phpAssignee: Phil Copeland <copeland>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: herrold
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: 2002-06-21 20:16:31 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 2002-06-04 04:25:25 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0+) Gecko/20020427

Description of problem:
php.ini not configured correctly. Extensions (imap, mysql..) cannot be found.

Version-Release number of selected component (if applicable):


How reproducible:
Didn't try

Steps to Reproduce:
1. Install php-4.2.1-1.i386.rpm
2. Install php-imap-4.2.1-1.i386.rpm, php-mysql-4.2.1-1.i386.rpm, etc.
3. Check php function extension_loaded('FOO'); for existance of FOO

	

Actual Results:  FOO did not exist

Expected Results:  FOO should exist

Additional info:

Found durring upgrade of apache & php from a more or less 7.2 system to rawhide
versions.
php.ini's "extension_dir" directive set incorrectly. Should read:
extension_dir = /usr/lib/php4/

Also, mysql.so extension not loaded at all. php.ini claims that mysql (and odbc)
is now compiled in but is lying.
extension=mysql.so should be added.

Comment 1 Phil Copeland 2002-06-21 20:33:30 UTC
Fixed in 4.2.1-2 which was created
-rw-r--r--   33 root     root     12660247 Jun 10 18:40 SRPMS/php-4.2.1-2.src.rpm

2 weeks ago. So I'd expect it in rawhide by now.

Phil
=--=