-
-
Notifications
You must be signed in to change notification settings - Fork 502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-Software | Lighttpd: fpm socket being created in wrong directory. #1350
Comments
Thanks for the report 👍 Local testing with RPi 3 and our default Stretch image:
Permissions seem correctly set during start of services:
@TerryE
Was this by editing the Notes:
|
I see your running Jessie with php5. I'll re-test under a new system. |
@Fourdee Dan, I started with your standard Raspian bootstrap image linked from your DietPi website download page. The Download->Raspberry Pi image still links to your Jessie image file. I've just had a look at the containing downloads/images folder view and I see that you now have a Stretch Image dated 10th Dec. I was trying to use the standard DietPi distro so I used Jessie, even though I'd have preferred to use Stretch and would have done if I had known it was available. Perhaps you could update the download link on the Download page to point to the Stretch image? Thanks. I am a reasonably experienced admin, so using DietPi isn't a huge saving for me personally, but I work in another community where members are continually fighting setting up SBCs, so something like this is a really boon for them and hence it merits support. I've tried to work with it and feedback issues / solutions / suggestions. I used to work on the PHP core as a contributor so I know my way around the source. Just on a quick scan, the root |
4.9.62-v7+ #2 SMP ... 2017 armv7l GNU/Linux
Additional Information:
Expected behaviour:
Local connect to
http://server/phpinfo.php
should bring up standard info page.Actual behaviour:
It barfs, as does any PHP script, with a bind failure to the
php5-fpm.sock
The
fpm
processes needs write access to this socket, but it is currently created in/run
and therefore the interpreter dies. Moving the socked to/var/run/lighttpd/php5-fpm.sock
(that is owned bywww-data
) in/etc/lighttpd/conf-available/15-fastcgi-php.conf
and/etc/php5/fpm/pool.d/www.conf
fixes this.The text was updated successfully, but these errors were encountered: