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:  Install GNU Compiler Collection (GCC) On Ubuntu 20.04 LTS

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

Top 5 Best Dark Themes For Ubuntu Linux Top 5 Best Dark Themes For Ubuntu Linux How To Ubuntu
How To Use SCP Command To Securely Transfer Files How To Use SCP Command To Securely Transfer Files [2023] How To Ubuntu
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
Ubuntu MATE 22.04 Released [ Updates, ISO, And More] Ubuntu MATE 22.04 LTS Released [ Updates, ISO And More] Ubuntu 22.04
How To Encrypt A Drive In Ubuntu 22.04 LTS How To Encrypt A Drive In Ubuntu 22.04 LTS How To Ubuntu
How To Install Docker On Debian Linux [Latest] How To Install Docker On Debian Linux [Latest] 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

    • Prescott Valley, AZ
    • Little Dealer Little Prices
    • Full Time
  • English Writer – Remote

    • Washington DC
    • Outlier AI
    • Full Time
  • VOLUNTEER: Writer/Blogger

    • New York, NY
    • WebServes
    • Full Time
  • Deviation Writer (Durham)

    • Durham, NC
    • Process Alliance
    • Full Time
  • River North Marina – Service Writer

    • Alexander City, AL
    • Russell Lands
    • Full Time
  • Data Science & AI Data Scientist

    • Norfolk, VA (Remote)
    • Spektrum
    • Full Time
  • Service Writer

    • Birmingham, AL
    • Serra Automotive Group
    • Full Time
  • Service Writer – Lawn & AG

    • Columbus, OH
    • Virtual Fair Feb 27 - Buckeye Power Sales
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme