Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
QCat8048y@DLMousey even if I prefer testing on the same environment as prod, php bundled server is the easiest way
-
You should use Docker, make a nginx and phpfpm container, inject the configurations from your host machine in the Dockerfile and you'll be rendering HTML or PHP in less than a quarter of an hour and most Docker images are setup and almost ready to go, so no system software to install or screw with and you have an immutable installation which can be replicated anywhere with ease, just a simple "docker-compose up nginx" and bingo, i just downloaded your repo and now have your app working in front of me in like 5 minutes
-
I cant recommend Docker enough, its really worth the time to learn because of the benefits it gives you, which are hard to understand at first, bit easy to realise when you see what is happening <3
-
Trust me dude, it will change your life, afterwards, you'll be wondering why you never found out about this before
Related Rants
Ok. I'm working on a small website, and MOTHER OF OF WEB DESIGN.
I try to set up WAMP, but it takes me 2 F-ING DAYS.
SO THEN THE FREAKIN HTML SCRIPT REFUSES TO WORK. AND THEN, ONCE I FINALLY GET MY HOPES UP, WAMP DECIDED TO JUST NOT WORK TODAY, SO I SPEND 3 HOURS FIXING THAT CRAP, AND THEN AFTER THAT PIECE OF HELL, I CAN'T FIND ANY EXAMPLE CODE OUTSIDE OF ADVANCED WEB DESIGN, SO I SIFT THROUGH THAT, JUST TO FIND HOW TO MAKE IT UNDERSTAND WHAT THE HELL A DATABASE IS. THAN I REALIZE THAT I HAVE TO INSTALL MIRE PROGRAMS. THAN, I REALIZE THIS GUY IM LISTENING TO IS USING A MAC OS X ALTERNATIVE. SO IM DESPERATELY TRYING TO GET THIS TO WORK. AND THEN, *POOF* ALL MY WORK IS UNREADABLE SPAGHETTI.
ALL FOR A DAMNED TEST.
TL;DR, Php is not good if your working offline.
undefined
php