Re: Packaging PHP applications
Citeren Eric Schirra <ecsos@opensuse.org>:
Am 2020-12-15 09:41, schrieb Ralf Lang:
Am 15.12.2020 um 09:39 schrieb Eric Schirra:
Am 2020-12-15 08:40, schrieb Arjen de Korte:
According to https://en.opensuse.org/openSUSE:Packaging_PHP
PHP applications should put PHP files under /usr/share/php/{<Vendor Name> or <Application Name>}.
Currently, the /usr/share/php directory is not in the filesystem package and also not provided by PHP{7,8}. Should this directory be provided by PHP{7,8} or should packages create this directory themselves as needed? Or should packages install in the /usr/share/php{7,8} instead? Why should a php-web-application go under this directory? This is totally illogical and not reproducible. For me a web application should be under /srv/www. It's not a "normal" application. It's application which runs under one server.
We had the argument for and against /srv/www for several years. I don't really feel any side of the argument is superior. We should settle for one or the other and work out the details on how to implement it and document that, not go back to the general question time and again.
I does not know about the old discussion. And i don't forbid my mouth. /usr/share has hunderd of packages/application in it. We would have no overview wath is a "normal package" and what is a web-package. This is for people which have to much time. But not for people which really must work.
Make up your mind. You accepted https://build.opensuse.org/request/show/766403 which points to boo#1092345 exactly detailing why applications should install to /usr/share instead of /srv/www.
participants (1)
-
Arjen de Korte