Ubuntu php dom xml

Пакет: php8.1-xml (8.1.2-1ubuntu2.13 и другие) [security]

Please consider filing a bug or asking a question via Launchpad before contacting the maintainer directly.

Original Maintainers (usually from Debian):

It should generally not be necessary for users to contact the original maintainer.

Внешние ресурсы:

Подобные пакеты:

  • php8.2-xml
  • php-xml
  • php7.4-xsl
  • php8.1-xsl
  • php8.2-xsl
  • docbook-slides
  • docbook-website
  • fop
  • libfop-java
  • libcgi-xmlapplication-perl
  • php-symfony-dom-crawler

DOM, SimpleXML, XML, and XSL module for PHP

Другие пакеты, относящиеся к php8.1-xml

  • зависимости
  • рекомендации
  • предложения
  • enhances
  • dep: libc6 (>= 2.33) GNU C Library: Shared libraries
  • dep: libxml2 (>= 2.9.0) GNOME XML library
  • dep: libxslt1.1 (>= 1.1.25) XSLT 1.0 processing library — runtime library
  • dep: php-common (>= 1:81~) Common files for PHP packages
  • dep: php8.1-common (= 8.1.2-1ubuntu2) [не amd64, i386] documentation, examples and common module for PHP dep: php8.1-common (= 8.1.2-1ubuntu2.13) [amd64, i386]
  • dep: ucf Update Configuration File(s): preserve user changes to config files
Читайте также:  Html select multiple get selected

Загрузка php8.1-xml

Загрузить для всех доступных архитектур
Архитектура Версия Размер пакета В установленном виде Файлы
amd64 8.1.2-1ubuntu2.13 115,6 Кб 473,0 Кб [список файлов]
arm64 8.1.2-1ubuntu2 111,0 Кб 421,0 Кб [список файлов]
armhf 8.1.2-1ubuntu2 98,2 Кб 279,0 Кб [список файлов]
i386 8.1.2-1ubuntu2.13 121,2 Кб 443,0 Кб [список файлов]
ppc64el 8.1.2-1ubuntu2 124,1 Кб 629,0 Кб [список файлов]
riscv64 8.1.2-1ubuntu2 97,5 Кб 351,0 Кб [список файлов]
s390x 8.1.2-1ubuntu2 107,3 Кб 453,0 Кб [список файлов]

This page is also available in the following languages:

Авторские права © 2023 Canonical Ltd.; См. условия лицензии. Ubuntu это торговый знак компании Canonical Ltd. Об этом сайте.

Источник

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.

Источник

Code Example for Installing DOM Extension on Ubuntu with PHP

The PHP package comprises various modules such as DOM, WDDX, XML, SimpleXML, and XSL modules. Upon successful installation, the mcrypt PHP module should display specific output. To install mcrypt on PHP versions 7.2 or 7.3, follow the instructions provided in this link: https://serverpilot.io/docs/how-to-install-the-php-mcrypt-extension. Another solution is also available.

Install php extensions on ubuntu

sudo apt-get install php5-mcrypt php5-curl php5-gd 

To inspect the currently installed PHP components, you can perform the following check.

The previous command has been updated by removing the «sudo» as it is unnecessary when using «dpkg —list».

Moreover, you have the option to assess the PHP extensions that are accessible on your Debian/Ubuntu setup by:

apt-cache search php|egrep ^php5- 

How do I install these PHP extensions on Ubuntu?, Problem 2 — The requested PHP extension ext-dom * is missing from your system. Install or enable PHP’s dom extension. Problem 3 — The requested PHP extension ext-simplexml * is missing from your system. Install or enable PHP’s simplexml extension. Problem 4 — The requested PHP extension ext-mcrypt * is missing from your system. Usage examplesudo apt-get update && sudo apt-get install php7.0-gdFeedback

Howto ubuntu 18.04 install / activate PHP extension ext-mcrypt

Verify if the PHP module for mcrypt is available.

Before installing the mcrypt PHP module, certain prerequisites must be met.

sudo apt install php-dev libmcrypt-dev php-pear 

Our Ubuntu 18.04 system is now prepared for the installation of the mcrypt PHP module.

$ sudo pecl channel-update pecl.php.net $ sudo pecl install mcrypt-1.0.1 

Access the php.ini file located at /etc/php/7.2/cli/ and add the following text.

Upon completion, the output of the presence check of the mcrypt PHP module should be as follows, indicating a successful operation.

$ php -m | grep mcrypt mcrypt 

PHP versions 5.4 to 7.1 contain the mcrypt extension, but it was excluded from version 7.2. Due to the unmaintained status of the mcrypt library, it was shifted to an informal PECL extension.

PHP 7.2+ now relies on libsodium for cryptography instead of mcrypt. ServerPilot includes the official libsodium extension in its PHP 7.2+ builds. As such, any new PHP code should use libsodium rather than mcrypt.

Learn the steps of installing the PHP mcrypt extension on versions 7.2 or 7.3 by following the instructions provided on serverpilot.io.

It appears that mcrypt has been deprecated in php7.2.

To work around the issue, I can either replace it in my software or refer to a guide such as the one provided in this how-to article: https://serverpilot.io/community/articles/how-to-install-the-php-mcrypt-extension.html.

Laravel — PHP7 : install ext-dom issue, sudo apt install php-xml will work but the thing is it will download the plugin for the latest PHP version. If your PHP version is not the latest, then you …

How to Install php-xml in Ubuntu?

(XML) is a markup language that differs from HTML in that XML allows for the creation of custom tags, whereas HTML only has predefined tags. The format of XML is standardized, ensuring that data can be parsed across different systems and platforms. Various languages, such as XHTML, MathML, SVG, XUL, XBL, RSS, and RDF, are based on XML. The php-xml package, which includes modules such as DOM, WDDX, XML, SimpleXML, and XSL, is a dependency package that relies on the default version of PHP in Ubuntu.

Installation of php-xml in Ubuntu

To ensure that php-xml is installed on Ubuntu, the first step is to verify its presence. This can be done by opening the terminal on the Ubuntu system and running a command to check if it is already installed before proceeding with the installation.

Verify-the-installation-of-php-xml

In case the image displays no results, follow the steps provided below to install php-xml.

For Ubuntu users, the second step involves updating the system packages to install php-xml. The process can be initiated with a specific command.

Update-system-packages

Proceeding to Step 3, we can install php-xml by executing the given command following the update of system packages.

Install-php-xml

In the fourth step, we confirm the installation by executing the subsequent command.

Here’s the process for php-xml installation on Ubuntu.

How to Install PHP Extension in Ubuntu?, Installation of PHP extension in Ubuntu. To install the PHP extension in Ubuntu follows the following steps: Step 1: Update your system …

Can’t install php packages? [duplicate]

An issue occurred during the setup process on Ubuntu, but it was resolved by installing a PHP extension.

sudo apt-get install php-xml 

How to Install PHP intl extension in Ubuntu?, Open terminal on your ubuntu system and type the following command. dpkg –list | grep php-intl. If you get no result like my output, then …

Источник

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 ways 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:

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 22.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 22.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 22.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 22.04 using different package management tools: apt, apt-get and aptitude.

Источник

Оцените статью