4
Atari
3y

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.

Comments
  • 3
    Vagrant,
    Docker,
    XAMPP,
    Vmware,
    Virtualbox,
    Browsersync + connect-php,
    Php - S localhost:8080 -t path/to/entry/point

    Pick your poison, PHP is absolutely fine in a local environment if you use the right tool.
    Any of those will do the job nicely
  • 1
    @DLMousey docker 💙
  • 0
    @DLMousey even if I prefer testing on the same environment as prod, php bundled server is the easiest way
  • 0
    If you want something easy, you could give Laragon a try.
  • 0
    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
  • 1
    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
  • 0
    Thanks for all your recommendations, I'll definitely check out docker and xampp.
  • 0
    Trust me dude, it will change your life, afterwards, you'll be wondering why you never found out about this before
  • 0
    For local environment, I'm using easyphp's devserver. Super easy setup.
  • 0
    You had me at HTML script
Add Comment