Red Hat Bugzilla – Bug 90657
Stub .INI Files Do Not Point To Module Path
Last modified: 2007-04-18 12:53:40 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
Description of problem:
This references the php.spec file. Navigate to this comment line:
# Generate files lists and stub .ini files for each subpackage
4 lines below this is the script line
However the modules are actually in /usr/lib/php4 and the extension line above
does not point to that. The result is that none of the modules in the differing
.ini files (pgsql, mysql, etc) will actually load. Error messages appear in
Version-Release number of selected component (if applicable):
Expected Results: For example, /etc/sysconfig/php.d/mysql.ini should contain
this extension line:
Have you changed the extension_dir? /etc/php.ini has:
extension_dir = /usr/lib/php4
so unless you've changed this I don't see why it shouldn't work.
Ooops! I see my extension_dir in php.ini is ./ which explains things. I
apologize for not checking this more carefully.
When you generate the stub .ini files in the php.spec script, consider adding a
comment line to each file:
; Also see setting of extension_dir in /etc/sysconfig/php.ini
Feel free to close this.
OK, thanks. Changing the files would mean creating a bunch of .rpmsave's on
upgrades so we'll probably not do that.