Unable to install on Uniform Server - file info extension issue
I try to install the latest concrete5 (18.104.22.168) on a Uniform Server (which is a XAMPP alternative). I'm running it at Windows XP on a virtualbox. (it worked with a test setup with other CMSs, so this is not the problem)
The first install page, 'Testing required items' says the 'File Info Extension' is disabled. How do I enable this? My Uniform Server runs PHP v5.4.30, so this should already be enabled? I also added a php5.ini file as described here:http://www.concrete5.org/community/forums/installation/no-installat... , otherwise the checking hangs.
Thanks in advance,
Is this extension mandatory or can you install C57 someway despite missing this extension?
EDIT: My sites are hosted at namecheap.com I asked them and they said you can only enable file info with a VPS system, doesn't work with shared hosting.
So 5.7 isn't meant to work on shared hosting?
The dependency gets added by flysystemhttps://github.com/thephpleague/flysystem... The question is whether they change their library to work without finfo.. As far as I can see, this should be possible but one would have to rewrite a bit of code, or add some fallback code..
something has to change I guess.. Since I'm not using bluehost, I'm not going to update the code, selfish I know (-:
Had to manually install it in whm and all is well!
Would very much like to get this CMS working to see if it's a viable option to build sites with, but looks like a dead end for now.
This is strange, as I had no issue at all installing 22.214.171.124.
"That extension isn't on our servers and there aren't any current plans to put it on there as it is a very complicated process. If you want to add this extension and make any other similar customizations then I suggest you get a dedicated server. UK2 does offer dedicated hosting."
Oh Dear, 4 years of using C5 down the pan unless we can fix it :-(
Edited to say: They told me they've installed it - I'm still getting the error message though. 126.96.36.199
PHP Startup: fileinfo: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match.
The error is leaving the install fairly unuseable.
I've already had to use v188.8.131.52 to start my new project because of this when I really wanted to use v184.108.40.206.
Thanks for letting me know. I really hope this can be sorted out soon as I have lots of clients using C5 who eventually will want to upgrade to 5.7.* and with this issue it's going to be a pain.
I thought I would also add that I am unable to install 220.127.116.11 for the same reason as noted here.
File info extension not enabled.
My install is on Dreamhost running PHP 5.4
In your /home/USERNAME/ create a .php/ directory (if it doesn't already exist) and then create a 5.4/ directory under that.
Next create a file called phprc (also if it doesn't already exist) and add this:
; /home/USERNAME/.php/5.4/phprc - overrides for /etc/php54/php.ini ;;; concrete5 5.7 = currently required!!! :( extension=fileinfo.so
Then wait a few minutes (or kill any active php54.cgi processes) and run the install again. That's it!
* Of course if you aren't able to use the command line, you could create this directory structure under say Windows: php\5.4\ and add the above in a phprc file, FTP upload the php directory tree to your home directory and rename php/ to .php/ (note it has to begin with a dot).
If you'd like me to do it, send me a PM ;)
Thanks for the info.
I had tried your suggestion before I originally posted after researching a solution online but it unfortunately did not help.
I will wait for the next release and hope that this dependency is addressed.
php5.ini has nothing to do with it, and probably all you have to do is uncomment a line in your php.ini file and restart the Apache server.
Depending on where you installed it (I put mine in C:\uni\) it will looks something like this:
The line you want to uncomment (remove the starting semicolon) will look like this:
Let us know what happens - John
P.S. Feel free to mark this as best answer ;)
Perhaps you're using another version of Uniform Server.
I don't have the folder "usr". I also made a windows search for "php.ini" in the Uniform folder, returning no results.
I'm using UniServer Zero XI 11.2.1 ;
UniController XI V.1.1.5 .
Any other suggestions?