Skip to content
Technology News Information & Jobs

Technology News Information & Jobs

Ubuntu Tutorials, Ubuntu How To , Linux Tips, Tech Jobs

  • Work with US
  • Search Jobs
  • Post a Job
  • Contact Us
  • Ubuntu
    • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Themes
  • Linux
  • Laptops
  • Tutorials
  • Job Dashboard
  • Toggle search form
Install PHP Mcrypt Extension On Ubuntu 22.04/Debian [Updated]

Install PHP Mcrypt Extension On Ubuntu 22.04/Debian [Updated]

Posted on February 6, 2022March 12, 2022 By admin

Tutorial To Install PHP Mcrypt Extension On Ubuntu 22.04/Debian [Updated]

PHP developers have removed it from the PHP package bundle because of no further development in Mcrypt. Some of the alternatives to Php Mcrypt are Sodium (available as of PHP 7.2.0) and OpenSSL.

But if you still want to use it then this tutorial is for you where we are going to show you the process to install PHP Mcrypt extensions on Ubuntu 22.04 LTS.

Install PHP Mcrypt Extension On Ubuntu 22.04/Debian [Updated]

At first, you need to update the installed packages in your Ubuntu 22.04 to avoid any future conflicts. Run the system update command to update the installed packages of the system and refresh the repo cache.

sudo apt update

Install Developer tools & Dependencies On Ubuntu 22.04

Now, you need to run the following command to install developer tools and dependencies on Ubuntu 22.01

sudo apt install gcc make autoconf libc-dev pkg-config libmcrypt-dev php-pear php-dev

After installing developer tools and dependencies, run the following commands to update the channels that is responsible for Pear and Pecl to fetch packages-

pecl channel-update pecl.php.net
pecl update-channels

 

Install Php Mcrypt extension on Ubuntu 22.04 or Debian

Now, its time to install PHP Mcrypt on Ubuntu 22.04 LTS. To do so, run the Pecl command in your Ubuntu to install Php Mcrypt extensions on Ubuntu 22.04 or Debian.

pecl install mcrypt

 

READ More Relevant Stuff:  Where Are Plugins In Chrome?

Enable “extension=mcrypt.so” via php.ini

Once the installation is complete to activate the extension we have to add it in the php.ini file of the system. For that simply edit the php.ini file and under Dynamic extension, type: extension=mcrypt.so beside other extensions, as shown in the screenshot.

sudo nano /etc/php/*/apache2/php.ini

Save the file ctrl+X, type Y, and hit the Enter key.

How To Ubuntu, Ubuntu 22.04

Post navigation

Previous Post: 3 Ways to Install Skype in Ubuntu 22.04 LTS In 2023
Next Post: Install Build Essential Tools On Ubuntu 22.04 LTS

Related Posts

HPLIP 3.22.4 Released | HP printer and scanner drivers For Linux HPLIP 3.22.4 Released | HP printer and scanner drivers For Linux Linux
How To Fix the “No Installation Candidate” Error in Ubuntu 22.04 LTS How To Fix the “No Installation Candidate” Error in Ubuntu 22.04 LTS Tutorials
How To Install Remmina On Ubuntu 22.04 LTS Jammy JellyFish How To Install Remmina On Ubuntu 22.04 LTS Jammy JellyFish How To Ubuntu
Linux Kernel 5.19 Officially Released Linux Kernel 5.19 Officially Released How To Ubuntu
How To Delete A Repository And GPG Key In Ubuntu How To Delete A Repository And GPG Key In Ubuntu How To Ubuntu
Ubuntu 20.04 LTS Released : Download Now Ubuntu 20.04 LTS Available On Microsoft Store How To Ubuntu

Recent Posts

  • New Job Search October 10, 2025
  • How To Enable Hibernate in Ubuntu 22.04 LTS May 20, 2024
  • Popular Ubuntu Games: Top 5 Games To Play March 17, 2024
  • WordPress | Your site doesn’t include support for the “generateblocks/container” block GenerateBlocks Plugin February 11, 2024
  • Ubuntu Autoremove Command Debian Autoremove Command February 10, 2024
  • How To Mount Windows 11 Shares on Debian Linux December 7, 2023
  • Anonymous Browsing 101: A Deep Dive Into Residential Proxies November 20, 2023
  • How To Correctly Install Uninstall Linux Ubuntu Nvidia Drivers Fast October 31, 2023
  • Ethical Web Design: The Dos and Don’ts October 28, 2023
  • Understanding the Role of Security Operations Center October 25, 2023
  • The Positive Effects of AI Tools and Online Services on Students Successful Essay-Writing Skills October 3, 2023

Categories

  • Android
  • Apple
  • Blogs
  • Debian
  • Fix
  • Gadgets
  • Game
  • Google
  • How To Ubuntu
  • Internet
  • Laptops
  • Linux
  • Linux Commands
  • Linux Game
  • Linux Mint
  • News
  • Operating Systems
  • Security
  • Technology
  • Themes
  • Tools
  • Tutorials
  • Ubuntu
  • ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Windows 11
  • Wordpress
  • Search Jobs
  • Post a Job
  • Job Dashboard
  • Contact Us
  • About US
  • Cookie Policy
  • Terms and Conditions
  • Privacy Policy
  • Sitemap
  • Write For US

Tags

android apps centos ChatGPT command Commands Debian deepin Desktop docker Fedora fix game games Gaming gnome google kernel linux linux commands linux kernel Linux laptops Linux Mint Linux themes minecraft NVIDIA Python Raspberry Pi sysadmin themes ubuntu ubuntu 18.04 Ubuntu 18.04 LTS Ubuntu 20.04 ubuntu 20.04 lts Ubuntu 22.04 LTS Ubuntu games Ubuntu kernel ubuntu themes ubuntu tutorial VirtualBox Windows Windows 11 Wine WSL
itsubuntu.com is an Equal Opportunity Employer. For Advertisement, Jobs, Guest posts, and any other thoughts, email us at [email protected]
  • Service Writer- Midas Granbury

    • Granbury, TX
    • Midas GRANBURY 5134
    • Full Time
  • Parts and service writer

    • Portland, OR
    • STEVENS MARINE INC
    • Full Time
  • XDA – NAS Writer

    • Detroit, MI
    • Valnet Tech Sites
    • Full Time
  • Service Writer

    • Kankakee, IL
    • Midwest Transit Equipment
    • Full Time
  • Data Scientist

    • Washington DC (Remote)
    • Square Peg Technologies
    • Full Time
  • Warranty Writer

    • Hatfield, PA
    • CAMPERS INN INC
    • Full Time
  • Service Writer I

    • Charlotte, MI
    • Hutson, Inc
    • Full Time
  • Service Writer

    • Chicago, IL
    • Jiffy Lube #1160
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme