php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69237 Unable to build fpm-systemd
Submitted: 2015-03-13 09:36 UTC Modified: 2018-08-25 18:11 UTC
Votes:5
Avg. Score:4.0 ± 0.9
Reproduced:5 of 5 (100.0%)
Same Version:1 (20.0%)
Same OS:2 (40.0%)
From: aurelien dot bras at gmail dot com Assigned: petk (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.4.38 OS: Debian Jessie (8.0)
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: aurelien dot bras at gmail dot com
New email:
PHP Version: OS:

 

 [2015-03-13 09:36 UTC] aurelien dot bras at gmail dot com
Description:
------------
Hi,

I have the following message when running configure :

checking for sd_notify in -lsystemd-daemon... no
checking systemd/sd-daemon.h usability... yes
checking systemd/sd-daemon.h presence... yes
checking for systemd/sd-daemon.h... yes
configure: error: Your system does not support systemd.

It's work fine with php 5.5 and php 5.6, the problem is just for php 5.4

My configure options : --enable-fpm and --with-fpm-systemd

My librairies :

# dpkg -l | grep systemd
ii  dh-systemd                     1.22                      all          debhelper add-on to handle systemd unit files
ii  libsystemd-daemon-dev:amd64    215-12                    amd64        systemd utility library (transitional package)
ii  libsystemd-dev:amd64           215-12                    amd64        systemd utility library - development files
ii  libsystemd0:amd64              215-12                    amd64        systemd utility library
ii  systemd                        215-12                    amd64        system and service manager
ii  systemd-sysv                   215-12                    amd64        system and service manager - SysV links

Regards.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-29 19:21 UTC] phpfpm1 at gmail dot com
The following will fix your problem:
ln -s /lib/x86_64-linux-gnu/libsystemd-daemon.so.0 /lib/x86_64-linux-gnu/libsystemd-daemon.so
ldconfig
 [2017-03-03 05:00 UTC] thomasjiao at vip dot qq dot com
This appears on Ubuntu 16.04.
 [2018-08-25 18:11 UTC] petk@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: petk
 [2018-08-25 18:11 UTC] petk@php.net
Hello, I've tested the PHP 7.1 version and up on Debian 8.3+ and Ubuntu 14.04+ and it works ok.

PHP can be successfully installed with:
prerequisites packages:
- libsystemd-daemon-dev
- pkg-config

and this configuration case:
./configure --disable-all --enable-fpm --with-fpm-systemd

The implementation of pkg-config has been via
http://git.php.net/?p=php-src.git;a=commit;h=7b6031567251ad47132de23f47eb57951fd9b563

Since PHP 5.4 is not supported anymore with patches I suggest to close this issue. In case of additional issues, feel free to report or reopen this issue.

Thank you for reporting issues and helping us make PHP better.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 05:00:01 2026 UTC