Hacker News new | past | comments | ask | show | jobs | submit login

I'm getting a 255 return code when I try to run it. php v.7.4.3. Permissions are all ok. Anybody else have this problem?



This is why you take a few seconds to be considerate to your users and potential contributors and put a 5 line Dockerfile in the repo

You can either run the code or develop on the code with no more "works on my machine" that way

Something like this should have done it:

   FROM php:8
   # install that mbstring library
   CMD ["however", "you", "start", "php", "apps"]


Standard error said there was a call to undefined function mb_strlen(), which apparently isn't available by default on php.


Not trying to hate on PHP, but deployment is one of the features that is so great with Go. It's about on the same level of abstraction as PHP and it's just a breeze to deploy stuff.


sudo apt install php7.4-mbstring # Fixed it. There's also package php-mbstring




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: