I tried to run my yii2 app on my web hosting (It has PHP5.4 and Linux Server) But when I tried to upload files then it showed me error that Fileinfo extension is not installed. I asked the server guys and they told me that they can not enable that extension because it is a shared hosting.
I tried the same app on some other hosting. I showed me this error:
PHP Startup: Unable to load dynamic library ‘/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ffmpeg.so’ - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ffmpeg.so: cannot open shared object file: No such file or directory
I want to know that what are the minimum server requirements(or required PHP extensions) for Yii2, so that I can find another host according to that.
Well, PHP 5.4 with the mbstring extension and PCRE-support is pretty much the only hard requirement for the server environment (see composer.json, [font=“Courier New”]require[/font]-stanza). You can let the requirements checker run to see if you’re missing anything.