Welcome Guest, Not a member yet? Register   Sign In
CI 2.2 gives Mycrypt error on Linux ISP servers
#4

[eluser]CroNiX[/eluser]
No, I understood what you were asking.

mcrypt is a PHP extension. CI isn't calling anything "windows" related. It's trying to call an php mcrypt function. The upgrade instructions for 2.2 state that mcrypt is required. CSRF data, among others like session data, is encrypted by the Encryption class which now uses the function provided in the mcrypt extension. Did you not check to see if it was installed on your host before trying to upgrade? All you would have needed to do is run the phpinfo() function to see if that mcrypt extension was installed.
http://ellislab.com/codeigniter/user-gui...e_220.html

There is an issue with your host if it's a linux box with dll files present. Do you have total control of your box? Check the php.ini file and look at what extensions are being loaded. There's a misconfiguration in there somewhere causing it to look for the DLL file instead of the SO file.

Most likely your php.ini has a line like:
Code:
extension=php_mcrypt.dll
where it should (probably) be:
Code:
extension=php_mcrypt.so

This has nothing to do specifically with CI, but a PHP configuration issue on your host. Last I heard, CentOS (version 6 and previous) does NOT enable the mcrypt php extension by default.



Messages In This Thread
CI 2.2 gives Mycrypt error on Linux ISP servers - by El Forum - 06-16-2014, 09:44 PM
CI 2.2 gives Mycrypt error on Linux ISP servers - by El Forum - 06-17-2014, 08:24 AM
CI 2.2 gives Mycrypt error on Linux ISP servers - by El Forum - 06-17-2014, 04:28 PM
CI 2.2 gives Mycrypt error on Linux ISP servers - by El Forum - 06-17-2014, 04:46 PM
CI 2.2 gives Mycrypt error on Linux ISP servers - by El Forum - 06-17-2014, 05:11 PM
CI 2.2 gives Mycrypt error on Linux ISP servers - by El Forum - 06-17-2014, 05:26 PM
CI 2.2 gives Mycrypt error on Linux ISP servers - by El Forum - 06-17-2014, 09:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB