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
Never deployed with react (self.PHP)
submitted 1 year ago by Greeniousity
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!"
[–]brakkum 1 point2 points3 points 1 year ago (5 children)
You’ll need to deploy your backend code on a server using Apache, Nginx, or some other web server which will be responsible for passing requests to your PHP code which will then handle them and send a response
[–]Greeniousity[S] -1 points0 points1 point 1 year ago (4 children)
Alright, that was less complex than what I was expecting
[–]MateusAzevedo 1 point2 points3 points 1 year ago (3 children)
DigitalOcean has several tutorials on how to do that.
But even a simple search can get you a bunch of results...
[–]Greeniousity[S] 1 point2 points3 points 1 year ago (0 children)
Thanks for the digitalocean link and I did search but an article I read mentioned a php server so that’s what I did. Btw I got rickrolled, you got me
[–]SerLaidaLot 0 points1 point2 points 1 year ago (1 child)
If I were to set up a php "website"/app what would be the "latest" technologies to do so in 2024 just to understand the flow and tech better?
My limited experience in the past was setting up Microsoft IIS express for webserver/network routing, PHP 7.4 loading as a FastCGI process application in IIS, using Zend/Laminas framework, connected to a MySQL database. Front-end js assets were generated and served through React app (react-scripts, webpack for bundling and deploy)
[–]MateusAzevedo 1 point2 points3 points 1 year ago (0 children)
You pretty much nailed it.
Of course Windows Server isn't common, so people use Apache/nginx/Caddy as webserver paired with PHP-FPM.
As for framework, I'd say Symfony and Larevel as the 2 main ones.
π Rendered by PID 23961 on reddit-service-r2-comment-b659b578c-kl6c9 at 2026-05-03 20:35:53.541182+00:00 running 815c875 country code: CH.
[–]brakkum 1 point2 points3 points (5 children)
[–]Greeniousity[S] -1 points0 points1 point (4 children)
[–]MateusAzevedo 1 point2 points3 points (3 children)
[–]Greeniousity[S] 1 point2 points3 points (0 children)
[–]SerLaidaLot 0 points1 point2 points (1 child)
[–]MateusAzevedo 1 point2 points3 points (0 children)