Use of /usr/share/php in RPM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

/usr/share/php is provided by PHP and included in include_dir defaut value.

So this seems a good place to store "class" file.

But I think we need a Guidelines

1/ to not allow direct use of /usr/share/php

=> use a sub-folder

Ex :
- php-oauth use /usr/share/php/oauth => ok
- php-xmpphp use /usr/share/php/xmpphp => ok

See reviews :
- php-hkit
Review https://bugzilla.redhat.com/show_bug.cgi?id=505358
approved but use /usr/share/php

- php-PHPMailer
Review pending https://bugzilla.redhat.com/show_bug.cgi?id=505356

- php-captchaphp
Review pending https://bugzilla.redhat.com/show_bug.cgi?id=505354



2/ to not allow install for Web application

A web application must install under /usr/share/<appname>

php-laconica seems to be a web-app installed under /usr/share/php


Comments before I propose a draft ?

Regards

_______________________________________________
Fedora-php-devel-list mailing list
Fedora-php-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-php-devel-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora KDE]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux