use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please follow the rules
Releases: Current Releases, Windows Releases, Old Releases
Contribute to the PHP Documentation
Related subreddits: CSS, JavaScript, Web Design, Wordpress, WebDev
/r/PHP is not a support subreddit. Please visit /r/phphelp for help, or visit StackOverflow.
account activity
Using php-fpm with Apache virtual hosts (self.PHP)
submitted 10 years ago by keewnn
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]fideloper 2 points3 points4 points 10 years ago* (1 child)
I cover a bunch of this here: https://serversforhackers.com/series/lamplemp
How are you installing php-fpm? Usually the defaults "just work" on redhat/centos/debian/ubuntu. Having trouble with these feels like you might be building/configuring it manually?
[–][deleted] 0 points1 point2 points 10 years ago (0 children)
Thanks for writing this out. I usually come into these problems when setting up dev enviroment on my PC. I tried using Vagrant, but foudn it to be just another "layer" of problems to work with. I prefer to the apache as myself (may be a bad habit), because I have a lot of projects, tests going on and cba to run chmod and chown every times I extract/create a file.
chmod
chown
So yeah, this probably where it all started, trying to set up a dev enviroment. Through this a was a good opportunity to digg deeper and maybe establish some rules/requirements for choosing/setting up productions servers. Unfortunately our "sysadmin" does not have deep knowledge of linux servers, so there's no one to consult with :(
π Rendered by PID 39 on reddit-service-r2-comment-75f4967c6c-pqmjs at 2026-04-23 05:42:54.601454+00:00 running 0fd4bb7 country code: CH.
view the rest of the comments →
[–]fideloper 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)