Không thể định vị gói php xmlrpc

Thả số. [hoặc sử dụng 7. 0?]

sudo apt-get install graphviz aspell php-pspell php-curl php-gd php-intl php-mysql php-xmlrpc php-ldap

ví dụ

hugh@xenial:~$ sudo apt-get install -s graphviz aspell php-pspell php-curl php-gd php-intl php-mysql php-xmlrpc php-ldap
[sudo] password for hugh: 
Reading package lists.. Done
Building dependency tree       
Reading state information.. Done
aspell is already the newest version [0.60.7~20110707-3build1].
aspell set to manually installed.
The following additional packages will be installed:
  libcdt5 libcgraph6 libgvc6 libgvpr2 libpathplan4 libxmlrpc-epi0 php-common php7.0-common php7.0-curl php7.0-gd php7.0-intl php7.0-ldap
  php7.0-mysql php7.0-pspell php7.0-xmlrpc
Suggested packages:
  graphviz-doc
The following NEW packages will be installed
  graphviz libcdt5 libcgraph6 libgvc6 libgvpr2 libpathplan4 libxmlrpc-epi0 php-common php-curl php-gd php-intl php-ldap php-mysql
  php-pspell php-xmlrpc php7.0-common php7.0-curl php7.0-gd php7.0-intl php7.0-ldap php7.0-mysql php7.0-pspell php7.0-xmlrpc
0 to upgrade, 23 to newly install, 0 to remove and 0 not to upgrade.

Hỗ trợ XML-RPC trong PHP không được bật theo mặc định. Bạn sẽ cần sử dụng tùy chọn cấu hình --with-xmlrpc[=DIR] khi biên dịch PHP để kích hoạt hỗ trợ XML-RPC

giunta dot gaetano at gmail dot com ¶

Here's what I had to do in order to install the xmlrpc extension on php 8 [from sury repos] on Ubuntu 16, as there is no package available via pecl or apt:

# build
git clone //git.php.net/repository/pecl/networking/xmlrpc.git
export CPPFLAGS=-I/usr/include/libxml2/
cd xmlrpc && phpize && ./configure --with-expat && make && make install

# enable - this varies depending on your configuration; apache/nginx/fpm will also need to be restarted
echo "extension=xmlrpc.so" > /etc/php/8.0/mods-available/xmlrpc.ini
ln -s /etc/php/8.0/mods-available/xmlrpc.ini /etc/php/8.0/cli/conf.d/20-xmlrpc.ini
ln -s /etc/php/8.0/mods-available/xmlrpc.ini /etc/php/8.0/fpm/conf.d/20-xmlrpc.ini

pitje ¶

according to php[dot]watch/versions/8.0/xmlrpc ,
PHP 8.0: XMLRPC extension is moved to PECL

checked, xmlrpc-1.0.0RC2 works for me

georgemilojevic tại gmail dot com ¶

________số 8

brew install pkg-config

hugh@xenial:~$ sudo apt-get install -s graphviz aspell php-pspell php-curl php-gd php-intl php-mysql php-xmlrpc php-ldap
[sudo] password for hugh: 
Reading package lists.. Done
Building dependency tree       
Reading state information.. Done
aspell is already the newest version [0.60.7~20110707-3build1].
aspell set to manually installed.
The following additional packages will be installed:
  libcdt5 libcgraph6 libgvc6 libgvpr2 libpathplan4 libxmlrpc-epi0 php-common php7.0-common php7.0-curl php7.0-gd php7.0-intl php7.0-ldap
  php7.0-mysql php7.0-pspell php7.0-xmlrpc
Suggested packages:
  graphviz-doc
The following NEW packages will be installed
  graphviz libcdt5 libcgraph6 libgvc6 libgvpr2 libpathplan4 libxmlrpc-epi0 php-common php-curl php-gd php-intl php-ldap php-mysql
  php-pspell php-xmlrpc php7.0-common php7.0-curl php7.0-gd php7.0-intl php7.0-ldap php7.0-mysql php7.0-pspell php7.0-xmlrpc
0 to upgrade, 23 to newly install, 0 to remove and 0 not to upgrade.
0

hugh@xenial:~$ sudo apt-get install -s graphviz aspell php-pspell php-curl php-gd php-intl php-mysql php-xmlrpc php-ldap
[sudo] password for hugh: 
Reading package lists.. Done
Building dependency tree       
Reading state information.. Done
aspell is already the newest version [0.60.7~20110707-3build1].
aspell set to manually installed.
The following additional packages will be installed:
  libcdt5 libcgraph6 libgvc6 libgvpr2 libpathplan4 libxmlrpc-epi0 php-common php7.0-common php7.0-curl php7.0-gd php7.0-intl php7.0-ldap
  php7.0-mysql php7.0-pspell php7.0-xmlrpc
Suggested packages:
  graphviz-doc
The following NEW packages will be installed
  graphviz libcdt5 libcgraph6 libgvc6 libgvpr2 libpathplan4 libxmlrpc-epi0 php-common php-curl php-gd php-intl php-ldap php-mysql
  php-pspell php-xmlrpc php7.0-common php7.0-curl php7.0-gd php7.0-intl php7.0-ldap php7.0-mysql php7.0-pspell php7.0-xmlrpc
0 to upgrade, 23 to newly install, 0 to remove and 0 not to upgrade.
1

Clive ¶

hugh@xenial:~$ sudo apt-get install -s graphviz aspell php-pspell php-curl php-gd php-intl php-mysql php-xmlrpc php-ldap
[sudo] password for hugh: 
Reading package lists.. Done
Building dependency tree       
Reading state information.. Done
aspell is already the newest version [0.60.7~20110707-3build1].
aspell set to manually installed.
The following additional packages will be installed:
  libcdt5 libcgraph6 libgvc6 libgvpr2 libpathplan4 libxmlrpc-epi0 php-common php7.0-common php7.0-curl php7.0-gd php7.0-intl php7.0-ldap
  php7.0-mysql php7.0-pspell php7.0-xmlrpc
Suggested packages:
  graphviz-doc
The following NEW packages will be installed
  graphviz libcdt5 libcgraph6 libgvc6 libgvpr2 libpathplan4 libxmlrpc-epi0 php-common php-curl php-gd php-intl php-ldap php-mysql
  php-pspell php-xmlrpc php7.0-common php7.0-curl php7.0-gd php7.0-intl php7.0-ldap php7.0-mysql php7.0-pspell php7.0-xmlrpc
0 to upgrade, 23 to newly install, 0 to remove and 0 not to upgrade.
2

Xin chào,
Sử dụng ISP Config 3 trên Ubuntu 18. 04. 5 LTS
đang cố thêm php 7. 3 & 7. 4 dưới dạng phiên bản bổ sung bằng cách làm theo hướng dẫn này https. //www. làm thế nào để rèn. com/hướng dẫn. fig-3-from-debian-packages-on-debian-8-and-9/
khi tôi chạy lệnh này;

Mã.

apt-get install php7.3 php7.3-cli php7.3-cgi php7.3-fpm php7.3-gd php7.3-mysql php7.3-imap php7.3-curl php7.3-intl php7.3-pspell php7.3-recode php7.3-sqlite3 php7.3-tidy php7.3-xmlrpc php7.3-xsl php7.3-zip php7.3-mbstring php7.3-soap php7.3-opcache php7.3-common php7.3-json php7.3-readline php7.3-xml

máy chủ trả về;

Mã.

Reading package lists.. Done
Building dependency tree
Reading state information.. Done
E: Unable to locate package php7.3
E: Couldn't find any package by glob 'php7.3'
E: Couldn't find any package by regex 'php7.3'
E: Unable to locate package php7.3-cli
E: Couldn't find any package by glob 'php7.3-cli'
E: Couldn't find any package by regex 'php7.3-cli'
E: Unable to locate package php7.3-cgi
E: Couldn't find any package by glob 'php7.3-cgi'
E: Couldn't find any package by regex 'php7.3-cgi'
E: Unable to locate package php7.3-fpm
E: Couldn't find any package by glob 'php7.3-fpm'
E: Couldn't find any package by regex 'php7.3-fpm'
E: Unable to locate package php7.3-gd
E: Couldn't find any package by glob 'php7.3-gd'
E: Couldn't find any package by regex 'php7.3-gd'
E: Unable to locate package php7.3-mysql
E: Couldn't find any package by glob 'php7.3-mysql'
E: Couldn't find any package by regex 'php7.3-mysql'
E: Unable to locate package php7.3-imap
E: Couldn't find any package by glob 'php7.3-imap'
E: Couldn't find any package by regex 'php7.3-imap'
E: Unable to locate package php7.3-curl
E: Couldn't find any package by glob 'php7.3-curl'
E: Couldn't find any package by regex 'php7.3-curl'
E: Unable to locate package php7.3-intl
E: Couldn't find any package by glob 'php7.3-intl'
E: Couldn't find any package by regex 'php7.3-intl'
E: Unable to locate package php7.3-pspell
E: Couldn't find any package by glob 'php7.3-pspell'
E: Couldn't find any package by regex 'php7.3-pspell'
E: Unable to locate package php7.3-recode
E: Couldn't find any package by glob 'php7.3-recode'
E: Couldn't find any package by regex 'php7.3-recode'
E: Unable to locate package php7.3-sqlite3
E: Couldn't find any package by glob 'php7.3-sqlite3'
E: Couldn't find any package by regex 'php7.3-sqlite3'
E: Unable to locate package php7.3-tidy
E: Couldn't find any package by glob 'php7.3-tidy'
E: Couldn't find any package by regex 'php7.3-tidy'
E: Unable to locate package php7.3-xmlrpc
E: Couldn't find any package by glob 'php7.3-xmlrpc'
E: Couldn't find any package by regex 'php7.3-xmlrpc'
E: Unable to locate package php7.3-xsl
E: Couldn't find any package by glob 'php7.3-xsl'
E: Couldn't find any package by regex 'php7.3-xsl'
E: Unable to locate package php7.3-zip
E: Couldn't find any package by glob 'php7.3-zip'
E: Couldn't find any package by regex 'php7.3-zip'
E: Unable to locate package php7.3-mbstring
E: Couldn't find any package by glob 'php7.3-mbstring'
E: Couldn't find any package by regex 'php7.3-mbstring'
E: Unable to locate package php7.3-soap
E: Couldn't find any package by glob 'php7.3-soap'
E: Couldn't find any package by regex 'php7.3-soap'
E: Unable to locate package php7.3-opcache
E: Couldn't find any package by glob 'php7.3-opcache'
E: Couldn't find any package by regex 'php7.3-opcache'
E: Unable to locate package php7.3-common
E: Couldn't find any package by glob 'php7.3-common'
E: Couldn't find any package by regex 'php7.3-common'
E: Unable to locate package php7.3-json
E: Couldn't find any package by glob 'php7.3-json'
E: Couldn't find any package by regex 'php7.3-json'
E: Unable to locate package php7.3-readline
E: Couldn't find any package by glob 'php7.3-readline'
E: Couldn't find any package by regex 'php7.3-readline'
E: Unable to locate package php7.3-xml
E: Couldn't find any package by glob 'php7.3-xml'
E: Couldn't find any package by regex 'php7.3-xml'

Tôi đang làm gì sai?

 

Làm cách nào để cài đặt Xmlrpc trong Ubuntu?

Giải pháp .
Cài đặt phần mở rộng xmlrpc. sudo apt-get cài đặt php-xmlrpc
Khởi động lại máy chủ web Apache sudo dịch vụ apache2 khởi động lại

Phần mở rộng Xmlrpc là gì?

XMLRPC là tiện ích mở rộng được đóng gói trong PHP mang các tính năng máy chủ và máy khách XML RPC cho PHP . Tiện ích mở rộng này tương đối không được sử dụng và được đánh dấu là "thử nghiệm" trong suốt thời gian qua. Tiện ích mở rộng này dựa trên một số thư viện không được duy trì trong vài năm. tiện ích mở rộng xmlrpc không được nhóm trong PHP 8. 0.

Chủ Đề