Home > Backend Development > PHP Problem > How to manually install plug-ins in php

How to manually install plug-ins in php

藏色散人
Release: 2023-03-09 20:08:01
Original
2173 people have browsed it

How to manually install plug-ins in php: 1. Install related libraries, such as zlib, curl, xml, etc., and then set "--with-xxx"; 2. Specify the installation path through "phpize", and then pass "make install" command can be installed.

How to manually install plug-ins in php

The operating environment of this article: linux5.9.8 system, PHP7.1 version, DELL G3 computer

PHP installation plug-in method

There are two main ways to install plug-ins in PHP:

1. First install the relevant libraries, such as zlib, curl, xml, etc., and then set -- in ./configure when installing PHP. With-xxx (the plug-in you need), just install the trilogy.

2. Some plug-ins are available in the PHP source code package (/path/php/ext), and some need to be downloaded:

  cd xxx
  phpize (指明你的安装路径)
  ./configure --with-php-config=/usr/local/php/bin/php-config --with-xxx(有些需要其他 with)
  make
  make install
Copy after login

Recommended learning: "PHP Video Tutorial

The above is the detailed content of How to manually install plug-ins in php. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template