'fork/exec /usr/bin/php: operation not permitted' again & again!
h
ziggy (0)

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.

https://repl.it/@ziggy/General-testing-2

You are viewing a single comment. View All
Masy (21)

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

ziggy (0)

@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.

Masy (21)

@ziggy Probs just repl acting up, I'll mess with the PHP web servers in a lil after I'm out of geometry.

ziggy (0)

@Masy OK - thanks a lot.

Masy (21)

@ziggy Yeah i looked into it, its repl mine wont work either

ziggy (0)

@Masy Thanks - the one I mentioned earlier in the thread has now stopped working. I'll have to file a bug report.