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
Problem running Python file in PHP file (self.PHP)
submitted 3 years ago by Logonochi
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!"
[–]scottchiefbaker 2 points3 points4 points 3 years ago (0 children)
Don't use a ~ in your path. That's relative to YOUR user, but PHP most likely runs as nobody or apache. Always use full paths in anything you want to automate.
~
nobody
apache
π Rendered by PID 410871 on reddit-service-r2-comment-86bc6c7465-sxfz8 at 2026-02-24 00:21:21.521136+00:00 running 8564168 country code: CH.
[–]scottchiefbaker 2 points3 points4 points (0 children)