search
HomeBackend DevelopmentPHP7What should I do if the plug-in is installed in php7.0 but it still shows that it is not installed?

PHP 7.0 plug-in does not show installed solutions

When you encounter the situation that plug-ins do not show installed in PHP 7.0, you can try the following solutions:

1. Check the plug-in configuration

Make sure the plug-in is enabled in the php.ini configuration file. Search for the following line and uncomment it:

<code>extension=插件名.so</code>

2. Restart PHP

After making any changes to the php.ini file, you need to restart PHP for the changes to take effect . You can use the following command:

<code>service php7.0-fpm restart</code>

3. Check file permissions

Make sure the plugin file has appropriate file permissions. Plug-in files are usually located in the /usr/lib64/php/modules directory. Check the file permissions using the following command:

<code>ls -l 插件名.so</code>

The file permissions should be similar to the following:

<code>-rw-r--r-- 1 root root 440804 Apr 20 08:36 插件名.so</code>

4. Install missing dependencies

Some Plugins may require additional dependencies to work. Check your system for missing dependencies using the following command:

<code>yum install php70-依赖项名</code>

5. Rebuild PHP

If none of the above steps resolve the issue, you may need to rebuild PHP. You can use the following command:

<code>yum reinstall php70</code>

6. Other reasons

In some cases, the plug-in may not show installed, the reasons may be:

  • The plug-in version is incompatible with the PHP version.
  • The wrong version of the plugin is loaded (for example, a 32-bit plugin on a 64-bit system).
  • There is a PHP configuration problem or corruption.

If none of the above solutions solve the problem, it is recommended to consult the system administrator or the PHP forum.

The above is the detailed content of What should I do if the plug-in is installed in php7.0 but it still shows that it is not installed?. For more information, please follow other related articles on the PHP Chinese website!

Statement
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool