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.
#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
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!