php_mcrypt
Posted by: KianWilliam (---.sabanet.ir)
Date: January 20, 2018 01:15PM

To whom it may concern:
To enable php_mcrypt extension, I checked php extensions from wamp tray, there was not any but when I type localhost in addressbar, I view it there listed. I also checked php.ini, it was not there.
My understanding is that wamp has it and I can use it already. True or False?
php version: 5.6.25 apache version: 2.4.23
Kian William

Options: ReplyQuote
Re: php_mcrypt
Posted by: Otomatic (Moderator)
Date: January 20, 2018 02:55PM

Hi

mycrypt => This PECL extension is not bundled with PHP.

[php.net]

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: php_mcrypt
Posted by: RiggsFolly (Moderator)
Date: January 20, 2018 04:15PM

Just a note:

libmcrypt which the php_mcrypt extension provides an interface to is no longer maintained and considered AbandonWare.

Please read this as an example of why it should no longer be used

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: php_mcrypt
Posted by: KianWilliam (---.sabanet.ir)
Date: January 21, 2018 07:37AM

Thank you for all responses,
In zend framework 3, Zend\Crypt component with BCrypt is being used as a more secure way to encrypt form fields than md5 or sha1 and the component requires wamp to include php_mcrypt extension.
Is there an alternative? and why in localhost page php_mcrypt is still listed?
Kian William

Options: ReplyQuote
Re: php_mcrypt
Posted by: Otomatic (Moderator)
Date: January 21, 2018 09:39AM

Hi,

> and why in localhost page php_mcrypt is still listed?
This is not an extension that can be loaded or unloaded. It is an integral part of the PHP body for versions where mycrypt still exists.
Look at the content of phpinfo (), for example for PHP 5.6.33 for configure command
"--with-mcrypt=static"

For more information about use, see PHP documentation.
This » PECL extension is not bundled with PHP.

Information for installing this PECL extension may be found in the manual chapter titled Installation of PECL extensions. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: » [pecl.php.net].

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: php_mcrypt
Posted by: KianWilliam (---.sabanet.ir)
Date: January 21, 2018 11:03AM

Thanks
KianWilliam

Options: ReplyQuote


Sorry, only registered users may post in this forum.