Bug 65916 - php extensions cannot be found
Summary: php extensions cannot be found
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: php
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Copeland
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-06-04 04:25 UTC by Need Real Name
Modified: 2007-04-18 16:42 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-06-21 20:16:31 UTC
Embargoed:


Attachments (Terms of Use)

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


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