I was using the PHP - CLI as a free user. I had no problems. I thought I would give back to the developers and sign-up for the Hacker plan. I am trying to use PHP - Webserver, and it's basically unusable due to the following error 'fork/exec /usr/bin/php: operation not permitted' I've Googled to try to find out what the problem is many times - I've yet to find a proper answer.
It's not my code - it's about as basic as it gets. Could somebody please enlighten me? I will provide a link to the code - it may work the first time. Is there something I have to configure on my end? I've disabled UBlock Origin.
I may have to revert back t the free plan - not being able to use PHP Webserver is a deal breaker for me.
Repl is basically to my understanding just a remote server connection, it may be blocked by a firewall or your isp due to the locations of the ip's. if you have access to your router it usually has a firewall, just allow all incoming and out coming connections for repl and its servers. if your at school and i assume if your using UBlock as most schools do its your schools isp blocking the ips
@Masy Thanks for the response. I'm a grandad, so not at school :-) I doubt it's the router as I have complete control over it.
The strange thing is, if I go to this page: https://repl.it/talk/announcements/PHP-Language-Improvements-and-Web-Server-Capabilities/15085
I click on the link - 'launch your own PHP Web Server Today' - it creates a new repl and it actually works! Seems I can't create a new php web server via the create 'new repl' option. At least I've got a working PHP Web Server... for now.
The error is a repl.it error that happens when either of the following 2 conditions are met: -
1. You run out of resources while trying to do something. For example: infinitely creating new files with some content in them.
2. Bad container.
Either way, forking the repl should fix it. Work on the newly forked repl and delete the old one and you're good to go!