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 No Comments on Install PHP Mcrypt Extension On Ubuntu 22.04/Debian [Updated]

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:  How To Install Linux Kernel 6.1 On Ubuntu

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

How To Unzip (Open) Gz File How To Unzip (Open) Gz File How To Ubuntu
Best Tools To Create Your Own Custom Linux OS In 2023 Best Tools To Create Your Own Custom Linux OS In 2023 Linux
How To Add SSH Public Key To Server How To Add SSH Public Key To Server How To Ubuntu
40+ Best Browser Games In 2023 40+ Best Browser Games Game
30 Best Terminal Based Games For Linux 30 Best Terminal Based Games For Linux How To Ubuntu
How To Install WhatsApp On Ubuntu 22.04 LTS How To Install WhatsApp On Ubuntu 22.04 LTS Linux

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • 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
  • Linux Wget Examples September 27, 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]
  • Express Lane Service Writer (Hourly Pay) – AutoNation Chevrolet North Richland Hills

    • North Richland Hills, TX
    • AutoNation
    • Full Time
  • Data Scientist with AI (Artificial Intelligence)

    • Washington DC
    • Emonics LLC
    • Full Time
  • Azure Engineer

    • Schenectady, NY
    • MVP Health Care
    • Full Time
  • AI Product Analyst

    • Sandy Springs, GA
    • Tier4 Group
    • Full Time
  • Azure Architect

    • Fort Worth, TX
    • Saxon Global
    • Full Time
  • Azure Architect

    • Lincolnshire, IL
    • 360 IT Professionals Inc.
    • Full Time
  • Senior Data Scientist – Scientific AI, Life Sciences

    • Palo Alto, CA (Remote)
    • McKinsey & Company
    • Full Time
  • Artificial Intelligence (AI) Implementation Manager

    • Marlton, NJ
    • Universal Technical Resource Services, Inc.
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme