4

Php.....mmmmmm.....why do I need a whole server to run a programming language?? 😐

And I know you can run php in the terminal, I know it has an interactive mode. 🙄

Comments
  • 1
    So... Rant asked and answered?
  • 1
    @atheist I guess so...... I'm more so annoying myself at this point.
  • 0
    php setup is very annoying. I'd rather face the thousand node modules
  • 0
    @darksideofyay but times are modern.....so why must it by this way....
  • 0
    @DreEleven cause time is expensive and storage space got cheaper
  • 3
    If its about fpm:
    Php holds in an cache/running process the libraries like imagick that where used by an php file. This enhances execution speed and performance.
  • 3
    If it just needs to be local use xampp. It takes about 30 seconds to set it all up.

    I still love php (laravel moreso).

    All you new age coders having a meltdown..
  • 1
    "why do I need a whole server to run a programming language" - because you can't run _anything_ on just a processor. php's got nothing to do with it ;)
  • 0
    Such a fucking pain the goddamn extensions that are somehow not libs you could install with composer or something i hate it
  • 0
    If you know, why do you ask?

    What language you think gets served without a server? Serverless setups that run a whole operating system inside a docker container that gets restarted in case the node.js server crashes?
  • 1
    Because running it like a CGI binary would involve reloading all code and modules on every request.
  • 0
    @tosensei you can if your program is compiled (well you still need an OS)
  • 0
    @ess3sq no. you need at least a mainboard. and memory. and a power supply. and permanent storage to save the program.
  • 0
    @tosensei right you are, though that's slightly outside of the ranter's frustrations
Add Comment