4 ms·
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?
by birriel 4y ago
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?
- birriel 4y agoStandard error said there was a call to undefined function mb_strlen(), which apparently isn't available by default on php.
- vincentkriek 4y agoNot 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.
- birriel 4y agosudo apt install php7.4-mbstring # Fixed it. There's also package php-mbstring
- gavinray 4y agoThis 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"]