[Fedora-packaging] Issue with PHP Naming guidelines

Christopher Stone chris.stone at gmail.com
Sat Jul 18 17:00:53 UTC 2009


On Sat, Jul 18, 2009 at 9:37 AM, Remi Collet<Fedora at famillecollet.com> wrote:
> Le 18/07/2009 18:19, Jason L Tibbitts III a écrit :
>>>>>>> "CS" == Christopher Stone <chris.stone at gmail.com> writes:
>>
>> CS> No, I'm arguing that a php module as being defined as something
>> CS> which puts a .so file under %{_libdir}/php.
>>
>> So pear packages aren't PHP modules?  They're all noarch (pretty much
>> by definition) and so don't have .so files.
>
> I think tibbs is right in his first post
>
> PHP Web app, (generally under /usr/share/appname) is out of php-*
> namespace and is called appname (phpMyAdmin, glpi, foo)
>
> A PHP extension, written in PHP, providing some classes, is installed
> under /usr/share/php (to benefit of default include_path) and is under
> the php-* namespace, so must be called php-foo (according to the actual
> PHP Guidelines)
>
> If I well understand, the question is
> Should we make an exception if name already start by php to avoid
> php-phpxxx.
>
> Personaly, I think php- prefix should be add to "all" extensions.

Okay, I found the review[1] and the exact same discussion took place
in Oct 2005 ;-)

I stand corrected.  Thanks. :)

[1] https://bugzilla.redhat.com/show_bug.cgi?id=170701




More information about the Fedora-packaging mailing list