Issue in installing php7.2-mcrypt

I followed below steps to install mcrypt for PHP7.2 using PECL. Install PECL apt-get install php-pecl Before installing MCRYPT you must install libmcrypt apt-get install libmcrypt-dev libreadline-dev Install MCRYPT 1.0.1 using PECL pecl install mcrypt-1.0.1 After the successful installation You should add “extension=mcrypt.so” to php.ini Please comment below if you need any assistance. 🙂 IMPORTANT … Read more

“PHP Fatal error: Class ‘HttpRequest’ not found”

The class HttpRequest is provided by v1 of this PECL extension. Re-install via: $ pecl install -f pecl_http-1.7.6 You can find documentation for v2 here, though: https://mdref.m6w6.name/http alternatively, in case you cannot control certain environmental variables or install packages, you might try using curl which should return a json object (below is a working snippet … Read more

Having problems while try to install OAUTH with PECL in MAMP on mac OS lion

I know this is old but I found this question while having a similar issue. MAMP doesn’t ship with a bunch of the PHP sources Download MAMP components and configure URL: http://www.mamp.info/en/downloads/index.html (i.e. MAMP_components_2.0.2.zip) Unpack your MAMP_components_2.0.2.zip Identify your php-5.x.x.tar.gz file (where 5.x.x is your version of PHP) If you are using php > 5.4.10 … Read more