Questions tagged [fpm]

Use this tag for questions specific to the FPM ("Effing Package Management") utility. If you have a general question about package management, please use the `package-management` tag instead.

9 questions
2
votes
0 answers

PHP-FPM + Apache2 security

My question is almost identical to Luis Machuca's from 2 years ago (Apache + php-fpm: Proper permissions for per-pool, per-user projects?), but with some additional conditions. I have also configured the server (mine is an Ubuntu 22.04 machine) so…
MrL
  • 21
  • 2
2
votes
1 answer

fpm: rpm: /usr/bin/rpmsign: No such file or directory

When I run fpm with --rpm-sign I get the following error, rpm: /usr/bin/rpmsign: No such file or directory I am using CentOS
Evan Carroll
  • 28,578
  • 45
  • 164
  • 290
1
vote
1 answer

Changing manifest values in RPM built with FPM

I'm using the delightfully–named Effing Package Manager (FPM) to build RPMs and DEBs for a project. After publishing the generated RPM with createrepo, I noted the following lines in the generated repo UUID-primary.xml.gz:
Ruben Schade
  • 501
  • 1
  • 5
  • 12
0
votes
0 answers

Start nginx without host container being available

For local development, I have a suite of 5 sites. Each site runs in its own php-fpm container. All sites are served by a single nginx container, which contains .conf files for all the sites. They share ports, and are identified by server_name. The…
0
votes
1 answer

fpm .deb package docker dependencies

I created a simple .deb package with fpm. The package is very basic and it simply runs a docker-compose file (see my other question here for package description). I tried to specify that the package needs docker and docker-compose with: fpm \ -s…
0
votes
0 answers

Can not access PHP-FPM site

Using OpenSUSE v15.2, Apache. Installed PHP-FPM with zypper. Followed instructions on this site: https://en.opensuse.org/SDB:Apache_FastCGI_and_PHP-FPM_configuration I restarted Apache and PHP-FPM. However the site is not loading in the browser. I…
klor
  • 404
  • 3
  • 7
  • 20
0
votes
1 answer

Why a PHP module is not loaded into PHP?

Showing my case how to debug the problem, that a PHP module is not loaded into PHP. I use OpenSUSE v42.2 Linux OS, with Apache webserver, PHP v7.1, Mysql. Because it does not provide PHP v7.1 I need, I built PHP v7.1 from source. Using PHP-FPM. I…
klor
  • 404
  • 3
  • 7
  • 20
0
votes
1 answer

How to define the user and group for directories inside and RPM using FPM?

RPMs have been built using FPM. When the --rpm-user and --rpm-group parameters are used the %defattr(-,user,group,-) attribute is part of the %files, but not part of the %directory section. How to define the user and group for directories inside…
JavaRocky
  • 101
  • 1
  • 3
-1
votes
1 answer

Going from a binary RPM to an OBS signed rpm?

I have a RPM that I'm currently building with FPM, fpm --verbose \ -s dir \ -t rpm \ --directories /opt/myprod --name myprod --rpm-summary "My Prod" --version $(git describe --abbrev=0 --tags) --rpm-sign --rpm-digest sha512…
Evan Carroll
  • 28,578
  • 45
  • 164
  • 290