Home > Backend Development > PHP Problem > How to solve owncloud php language failure problem

How to solve owncloud php language failure problem

藏色散人
Release: 2023-03-14 07:30:02
Original
2172 people have browsed it

owncloud PHP language failure solution: 1. In the php-fpm configuration file, comment out the quotation marks in front of the statement; 2. Delete the downloaded plug-in; 3. Recompile PHP and add related modules. Can.

How to solve owncloud php language failure problem

#The operating environment of this article: Windows7 system, PHP7.1, Dell G3.

owncloud Frequently Asked Questions and Solutions

PHP seems to have not set the system environment variables for query. Testing with getenv(\"PATH\") only returns a null value.

  • Solution: In the php-fpm configuration file, comment out the quotation marks in front of the statement to immediately solve the problem

;env[HOSTNAME] = $HOSTNAME
;env[PATH] = /usr/local/bin:/usr/bin:/bin
;env[TMP] = /tmp
;env[TMPDIR] = /tmp
;env[TEMP] = /tmp
Copy after login

Some files are not Pass integrity check.

  • Solution: Generally when adding the owncloud plug-in manually, you only need to delete the downloaded plug-in and re-upload it or download the plug-in from the market.

Manually installing php, MySQL, php-fpm, and nginx causes php to have curl, gd2 and other components not installed

  • Solution: Recompile php add these modules, or use lnmp to install with one click, or use apt-get install php-gd to install

Recommended learning: "PHP Video Tutorial

The above is the detailed content of How to solve owncloud php language failure problem. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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