- php-xml on Debian 11 (Bullseye)
- 3. Details of php-xml package
- 4. References on Debian 11 (Bullseye)
- 5. The same packages on other Linux Distributions
- How to Install PHP XML Extension in Ubuntu?
- Hardik Savani
- We are Recommending you
- How To Install php-xml on Ubuntu 20.04
- What is php-xml
- Install php-xml Using apt-get
- Install php-xml Using apt
- Install php-xml Using aptitude
- How To Uninstall php-xml on Ubuntu 20.04
- Uninstall php-xml And Its Dependencies
- Remove php-xml Configurations and Data
- Remove php-xml configuration, data, and all of its dependencies
- References
- Summary
- How to Install php-xml in CentOs
- How To Install php-xml on Ubuntu 22.04
- What is php-xml
- Install php-xml Using apt-get
- Install php-xml Using apt
- Install php-xml Using aptitude
- How To Uninstall php-xml on Ubuntu 22.04
- Uninstall php-xml And Its Dependencies
- Remove php-xml Configurations and Data
- Remove php-xml configuration, data, and all of its dependencies
- References
- Summary
php-xml on Debian 11 (Bullseye)
Please follow the guidance below to uninstall php-xml package:
3. Details of php-xml package
Package: php-xml
Source: php-defaults (92+0~20220117.43+debian11~1.gbpe0d14e)
Version: 2:8.1+92+0~20220117.43+debian11~1.gbpe0d14e
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 14
Depends: php-common, php8.1-xml
Priority: optional
Section: php
Filename: pool/main/p/php-defaults/php-xml_8.1+92+0~20220117.43+debian11~1.gbpe0d14e_all.deb
Size: 7444
SHA256: 02e1f8c82070b4306693d1e6f1561bcac3909bc980c39b63eb8bf0a0653ab86e
SHA1: fdc6bb29d103db6c0f51b36f222c4bfda5950b7b
MD5sum: d4176257314d59b7ba53da01e13af65e
Description: DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
This package provides a DOM, SimpleXML, WDDX, XML, and XSL module for PHP.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
.
This package is a dependency package, which depends on Debian’s default
PHP version (currently 8.1).
Description-md5: f35c403c70090f9d81cf564b31565b28
Package: php-xml
Source: php-defaults (76)
Version: 2:7.4+76
Installed-Size: 13
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php-common, php7.4-xml
Description: DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
Description-md5: 9a67bbc76dab3ddc7ffd600fdd5c67a7
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-xml_7.4+76_all.deb
Size: 6384
MD5sum: e5831fe7ede251bdb1dbda51e2fbc2fb
SHA256: 745336baeeccb5b4a075196224ee85e6d310c6ccb9a981f6a2232ab6dc61611f
4. References on Debian 11 (Bullseye)
5. The same packages on other Linux Distributions
php-xml (2:8.1+92+ubuntu18.04.1+deb.sury.org+2) Ubuntu 18.04 LTS (Bionic Beaver)
php-xml (2:8.0+82+ubuntu16.04.1+deb.sury.org+1) Ubuntu 16.04 LTS (Xenial Xerus)
php-xml (2:8.0+85+ubuntu21.10.1+deb.sury.org+1) Ubuntu 21.10 (Impish Indri)
php-xml (2:8.1+92+ubuntu22.04.1+deb.sury.org+1) Ubuntu 22.04 LTS (Jammy Jellyfish)
php-xml (2:8.1+92+0~20220117.43+debian10~1.gbpe0d14e) Debian 10 (Buster)
How to Install PHP XML Extension in Ubuntu?
This article will provide an example of how to install php xml extension in ubuntu. step by step explain ubuntu php install xml extension. We will use install php xml extension ubuntu 20.04. This article goes in detailed on install php xml extension ubuntu.
We can install php xml extension using php-xml library. i will give you following list of commands to install php xml extension in ubuntu 22.10, ubuntu 22.04, ubuntu 21.10, ubuntu 21.04, ubuntu 20.04, ubuntu 18.04 and ubuntu 16.04 server.
Install php-xml Extension:
You need to run both commands one by one:
sudo apt-get install php-xml
Solution for PHP 8.2
You need to run both command one by one:
sudo apt-get install php8.2-xml
Solution for PHP 8.1
You need to run both command one by one:
sudo apt-get install php8.1-xml
Solution for PHP 8.0
You need to run both command one by one:
sudo apt-get install php8.0-xml
Solution for PHP 7.4
You need to run both command one by one:
sudo apt-get install php7.4-xml
Solution for PHP 7.3
You need to run both command one by one:
sudo apt-get install php7.3-xml
Solution for PHP 7.2
You need to run both command one by one:
sudo apt-get install php7.2-xml
Restart Apache Server:
Now, restart apache2 server using following command:
sudo service apache2 restart
Check php-xml Extension Installed:
Here, we will run following command to check extension is installed or not:
Hardik Savani
I’m a full-stack developer, entrepreneur and owner of Aatman Infotech. I live in India and I love to write tutorials and tips that can help to other artisan. I am a big fan of PHP, Laravel, Angular, Vue, Node, Javascript, JQuery, Codeigniter and Bootstrap from the early stage. I believe in Hardworking and Consistency.
We are Recommending you
- How to Install PHP imap Extension in Ubuntu?
- How to Install PHP Curl Extension in Ubuntu?
- How to Increase memory_limit in PHP Ubuntu?
- How to Increase max_input_vars in PHP Ubuntu?
- How to Increase upload_max_filesize in PHP Ubuntu?
- How to Increase post_max_size in PHP Ubuntu?
- How to Install Phpmyadmin in Ubuntu Server?
- How to Install MySQL in Ubuntu Server?
- How to Install PHP in Ubuntu Server?
- How to Upgrade PHP Version from 7.2 to 7.3 in Ubuntu?
- How to Increase Upload File Size Limit PHP in Ubuntu?
- How to Upgrade Node.js Version in Ubuntu?
- How to Enable Rewrite Mode for Apache in Ubuntu?
How To Install php-xml on Ubuntu 20.04
In this tutorial we learn how to install php-xml on Ubuntu 20.04.
What is php-xml
This package provides a DOM, SimpleXML, WDDX, XML, and XSL module for PHP.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.
This package is a dependency package, which depends on Debian’s default PHP version (currently 7.4). Description-md5: 9a67bbc76dab3ddc7ffd600fdd5c67a7
There are three ways to install php-xml on Ubuntu 20.04. We can use apt-get , apt and aptitude . In the following sections we will describe each method. You can choose one of them.
Install php-xml Using apt-get
Update apt database with apt-get using the following command.
After updating apt database, We can install php-xml using apt-get by running the following command:
sudo apt-get -y install php-xml
Install php-xml Using apt
Update apt database with apt using the following command.
After updating apt database, We can install php-xml using apt by running the following command:
sudo apt -y install php-xml
Install php-xml Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.
After updating apt database, We can install php-xml using aptitude by running the following command:
sudo aptitude -y install php-xml
How To Uninstall php-xml on Ubuntu 20.04
To uninstall only the php-xml package we can use the following command:
sudo apt-get remove php-xml
Uninstall php-xml And Its Dependencies
To uninstall php-xml and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove php-xml
Remove php-xml Configurations and Data
To remove php-xml configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge php-xml
Remove php-xml configuration, data, and all of its dependencies
We can use the following command to remove php-xml configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge php-xml
References
Summary
In this tutorial we learn how to install php-xml package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.
How to Install php-xml in CentOs
I am Trying to install php-xml on CentOs 6.5 I type the command yum install php-xml and I am getting this Error :
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.mirror.nac.net * epel: mirrors.einstein.yu.edu * extras: mirrors.maine.edu * rpmforge: repoforge.mirror.constant.com * updates: centos.mirror.constant.com Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package php-xml.x86_64 0:5.3.3-27.el6_5 will be installed --> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5 for package: php-xml-5.3.3-27.el6_5.x86_64 --> Processing Dependency: libxslt.so.1(LIBXML2_1.0.24)(64bit) for package: php-xml-5.3.3-27.el6_5.x86_64 --> Processing Dependency: libxslt.so.1(LIBXML2_1.0.22)(64bit) for package: php-xml-5.3.3-27.el6_5.x86_64 --> Processing Dependency: libxslt.so.1(LIBXML2_1.0.18)(64bit) for package: php-xml-5.3.3-27.el6_5.x86_64 --> Processing Dependency: libxslt.so.1(LIBXML2_1.0.13)(64bit) for package: php-xml-5.3.3-27.el6_5.x86_64 --> Processing Dependency: libxslt.so.1(LIBXML2_1.0.11)(64bit) for package: php-xml-5.3.3-27.el6_5.x86_64 --> Processing Dependency: libxslt.so.1()(64bit) for package: php-xml-5.3.3-27.el6_5.x86_64 --> Processing Dependency: libexslt.so.0()(64bit) for package: php-xml-5.3.3-27.el6_5.x86_64 --> Running transaction check ---> Package libxslt.x86_64 0:1.1.26-2.el6_3.1 will be installed ---> Package php-xml.x86_64 0:5.3.3-27.el6_5 will be installed --> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5 for package: php-xml-5.3.3-27.el6_5.x86_64 --> Finished Dependency Resolution Error: Package: php-xml-5.3.3-27.el6_5.x86_64 (updates) Requires: php-common(x86-64) = 5.3.3-27.el6_5 Installed: php-common-5.4.31-1.el6.remi.x86_64 (@remi) php-common(x86-64) = 5.4.31-1.el6.remi Available: php-common-5.3.3-26.el6.x86_64 (base) php-common(x86-64) = 5.3.3-26.el6 Available: php-common-5.3.3-27.el6_5.x86_64 (updates) php-common(x86-64) = 5.3.3-27.el6_5 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
I am new to Cent Os and Linux so please Help me. I am Developer and not a System Admin so this is new for me.Please Help Thanks in Advance
How To Install php-xml on Ubuntu 22.04
In this tutorial we learn how to install php-xml on Ubuntu 22.04.
What is php-xml
This package provides a DOM, SimpleXML, WDDX, XML, and XSL module for PHP.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.
This package is a dependency package, which depends on Debian’s default PHP version (currently 8.1).
There are three methods to install php-xml on Ubuntu 22.04. We can use apt-get , apt and aptitude . In the following sections we will describe each method. You can choose one of them.
Install php-xml Using apt-get
Update apt database with apt-get using the following command.
After updating apt database, We can install php-xml using apt-get by running the following command:
Install php-xml Using apt
Update apt database with apt using the following command.
After updating apt database, We can install php-xml using apt by running the following command:
Install php-xml Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.
After updating apt database, We can install php-xml using aptitude by running the following command:
How To Uninstall php-xml on Ubuntu 22.04
To uninstall only the php-xml package we can use the following command:
Uninstall php-xml And Its Dependencies
To uninstall php-xml and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
Remove php-xml Configurations and Data
To remove php-xml configuration and data from Ubuntu 22.04 we can use the following command:
Remove php-xml configuration, data, and all of its dependencies
We can use the following command to remove php-xml configurations, data and all of its dependencies, we can use the following command:
References
Summary
In this tutorial we learn how to install php-xml package on Ubuntu 22.04 using different package management tools: apt , apt-get and aptitude .