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:  10+ Bash: If, Else If, Else Examples

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

Ubuntu 22.04.2 LTS Released Ubuntu 22.04.2 LTS Released Ubuntu 22.04
How To Install the Epic Games Launcher On Linux How To Install the Epic Games Launcher On Linux Game
How to Fix “Username is not in the sudoers file. This incident will be reported” in Ubuntu How to Fix “Username is not in the sudoers file. This incident will be reported” in Ubuntu Tutorials
How To Add SSH Public Key To Server How To Add SSH Public Key To Server How To Ubuntu
Ubuntu 20.10 Groovy Gorilla Release Schedule Ubuntu 20.10 Groovy Gorilla Daily Builds Now Available For Download How To Ubuntu
How To Install Microsoft Teams On Ubuntu 22.04 LTS And Other Linux How To Install Microsoft Teams On Ubuntu 22.04 LTS And Other Linux Linux

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]
  • SQL Report Writer

    • Hammonton, NJ
    • TWO95 International
    • Full Time
  • Sr Electrical Engineer, Data Center (Hybrid)

    • San Jose, CA
    • CyberCoders
    • Full Time
  • Distinguished Data Engineer

    • Petersburg, VA (Remote)
    • Capital One
    • Full Time
  • Deviation Writer

    • Durham, NC
    • Process Alliance
    • Full Time
  • Remote Blockchain Engineering Manager (San Francisco)

    • San Francisco, CA
    • Circle
    • Full Time
  • Azure Engineer

    • Fort Worth, TX
    • Jobot
    • Full Time
  • Nights & Weekends Blogger, The Cut

    • Remote
    • Vox Media
    • Full Time
  • AI / Machine Learning Engineer

    • Stratford, CT
    • Lockheed Martin
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme