[Fedora-packaging] PHP Extensions (other than pear) default install dir

Christopher Stone chris.stone at gmail.com
Tue Jan 30 16:41:44 UTC 2007


Currently extensions such as php-Smarty install their php Class files
in /usr/share

This should change to /usr/share/php, and the default php include_path
should include /usr/share/php

This will allow endusers to simply have in their php files:

include 'foo/foo.php'

instead of:

include '/usr/share/foo/foo.php'

And basically things will "just work" as expected.  Seems other
distros do this as well.

I have filed bugs against php and php-Smarty:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=225434
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=225436

Can we add this to the packaging guidelines for php classes other than pear?

Regards,
Chris




More information about the Fedora-packaging mailing list