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:  Configure CTRL+ALT+DEL As Task Manager In Ubuntu 20.04/18.04

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 Autoremove Ubuntu Autoremove Command Debian Autoremove Command Debian
How To Install WhatsApp On Ubuntu 22.04 LTS How To Install WhatsApp On Ubuntu 22.04 LTS Linux
Best vlogging camera under $500 In 2023 Best vlogging camera under $500 In 2023 How To Ubuntu
How To Fix HP Printer got Detected, But Not Printing Error In Ubuntu 22.04 How To Fix HP Printer got Detected, But Not Printing Error In Ubuntu 22.04 Tutorials
How To Install Ubuntu 22.04 LTS Along With Windows 11 How To Install Ubuntu 22.04 LTS Along With Windows 11 [2023] How To Ubuntu
Linux Lite 6.0 Based on Ubuntu 22.04 LTS Released Linux Lite 6.0 Based on Ubuntu 22.04 LTS Released Ubuntu 22.04

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]
  • Sr. Technical Writer I – SIGINT

    • San Diego, CA
    • EPSILON SYSTEMS
    • Full Time
  • Bakery Order Writer (Buyer / Inventory Replenishment) – Full Time

    • Frisco, CO
    • Whole Foods Market
    • Full Time
  • Marketing – Bloggers & Content Writers

    • South San Francisco, CA
    • The CLASS Consulting Group
    • Full Time
  • Technical Writer III – Newport, RI

    • Newport, RI
    • Predicate Logic Inc.
    • Full Time
  • Service Writer

    • Evansville, IN
    • Express Employment
    • Full Time
  • Sr Data Engineer – International Finance

    • Washington DC (Remote)
    • Disability Solutions
    • Full Time
  • Sr. Technical Writer

    • San Diego, CA
    • Teledyne Instruments, Inc.
    • Full Time
  • Grant Writer

    • Englewood, CO
    • ACE Scholarships
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme