Arch Linux and PHP-fpm

January 18, 2013 6k views
#sudo rc.d start php-fpm produces the following error: :: Daemon script php-fpm does not exist or is not executable. What am I missing? The pacman -S php-fpm produces no errors. Posted January 18th, 2013 21:04
8 Answers
Most likely an issue with php-fpm not being install, retry the installation and see if there are any errors.

If there are you can paste them here and we can try to help you troubleshoot it.
Installation was successful. Here is the screen grab.
----------------------
[root@w1 etc]# pacman -S php-fpm
warning: php-fpm-5.4.11-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): php-fpm-5.4.11-1

Total Installed Size: 7.54 MiB
Net Upgrade Size: 0.00 MiB

Proceed with installation? [Y/n] Y
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
(1/1) upgrading php-fpm [######################] 100%
[root@w1 etc]# rc.d start php-fpm
:: Daemon script php-fpm does not exist or is not executable.
[root@w1 etc]#
---------------------

I'm at a complete loss. It's a brand new droplet with mysql and nginx installed.
Try this and see if it works for you instead:

/etc/rc.d/php-fpm start
I have the same issue on my machine. The issue is that Archlinux is moving away from initscripts to systemd and therefore the initscripts has been dropped. https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/php&id=1e758c72707253d4413beb6684919e0b1a4f2021

I haven't solved the issue on my machine yet, but someone suggested the following guide: https://wiki.archlinux.org/index.php/Systemd
Erm, https://wiki.archlinux.org/index.php/Systemd#Transitioning_from_initscripts_to_systemd seems even better. :-)
So it appears the Arch image has to be updated. Any idea when this could happen?
We are working to get the new Arch image added. Please look for it in the next week or two!

Hello,
i am new to archlinux and have the same issue with my Pogoplug V3 device. Yesterday i installed the latest Image : ArchLinuxARM-oxnas-latest.tar. I wanted to set up owncloud with Lighttpd and php-fpm, but ended up with the php-fpm start problem. Is there a alternative for php-fpm which is compatible with owncloud?
Have another answer? Share your knowledge.