On this page
Instant PHP and XDebug on Docker
A while back I wrote a little helper script I could stick in my Linux shell which will just spin up whatever directory I'm in as an Apache server running PHP and XDebug, with a self-signed TLS certificate.
It's very useful when the built-in PHP server (
php -S) just isn't enough, or I want to run a specific version of PHP.
It works like this:
Anyway, just thought I'd share 🙂 in case anyone else finds it useful. You can find the tool here:
All comments are pre-moderated and will not be published until approval.
Moderation policy: no abuse, no spam, no problem.
The difference between failure and success isn't whether you make mistakes, it's whether you learn from them.
Recalling the time I turned down a job offer because the company's interview technique sucked.
Recalling the time I was rejected on the basis of a tech test...for the strangest reason!
Why type hinting an array as a parameter or return type is an anti-pattern and should be avoided.
Leveraging the power of JSON and RDBMS for a combined SQL/NoSQL approach.