Hallo zusammen,
hat denn überhaupt mal jemand in 5.3 Testing das nginx und php in Verbindung mit owncloud getestet, bevor 5.3 zu stable gemacht wurde?
Anscheinend wurde auf php7 umgestellt, was ich persönlich aktuell noch nicht gut finde.
Dabei wurden aber z.B. in Start-Skript vergessen, den Deamon auf php7 umzustellen.
server> ls -la /etc/init.d/php-fpm
-rwxr-xr-x 1 root root 581 May 10 11:04 /etc/init.d/php-fpm
server> cat /etc/init.d/php-fpm
#!/bin/sh
. /etc/init.d/rc.functions
NAME=${0##*/}
DAEMON=/usr/sbin/php5-fpm
ARGS="--daemonize --fpm-config /etc/php5/fpm/php-fpm.conf -R"
PID_FILE=/var/run/$NAME.pid
Wenn man owncloud neu installier, bekommt man direkt PHP Module angezeigt, welche noch fehlen.
Setting up owncloud (9.1.3-17) ...
Failed loading /usr/lib/php/20151012/opcache.so: /usr/lib/php/20151012/opcache.so: cannot open shared object file: No such file or directory
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xml.so' - /usr/lib/php/20151012/xml.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/apc.so' - /usr/lib/php/20151012/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/dom.so' - /usr/lib/php/20151012/dom.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/simplexml.so' - /usr/lib/php/20151012/simplexml.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/wddx.so' - /usr/lib/php/20151012/wddx.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xmlreader.so' - /usr/lib/php/20151012/xmlreader.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xmlwriter.so' - /usr/lib/php/20151012/xmlwriter.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xsl.so' - /usr/lib/php/20151012/xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0
ownCloud is not installed - only a limited number of commands are available
PHP module zip not installed.
Please ask your server administrator to install the module.
PHP module dom not installed.
Please ask your server administrator to install the module.
PHP module XMLWriter not installed.
Please ask your server administrator to install the module.
PHP module XMLReader not installed.
Please ask your server administrator to install the module.
PHP module libxml not installed.
Please ask your server administrator to install the module.
PHP module mb multibyte not installed.
Please ask your server administrator to install the module.
PHP module SimpleXML not installed.
Please ask your server administrator to install the module.
An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/owncloud/lib/private/Console/Application.php:120
Die nginx Site für owncloud wurde ebenfalls noch nicht auf php7 umgestellt.
server> cd /etc/nginx/sites-available/
server> ls -la
drwxr-xr-x 1 root root 16 May 28 21:01 .
drwxr-xr-x 1 root root 56 May 28 20:59 ..
-rw-r--r-- 1 root root 3115 May 28 21:01 owncloud
server> cat owncloud
upstream php-handler {
#server 127.0.0.1:9000;
server unix:/var/run/php5-fpm.sock;
}
In dem zusammenhang, mit all den anderen Probleme, welche ich aktuell noch mit 5.3 Stable habe, werde ich erst einmal mit dem Snap auf 5.1 zurück gehen.
Gruß Timo