MLD-5.x > General
[5.3] nginx - php - owncloud funktioniert nicht.
TimUx:
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.
--- Code: ---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
--- End code ---
Wenn man owncloud neu installier, bekommt man direkt PHP Module angezeigt, welche noch fehlen.
--- Code: ---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
--- End code ---
Die nginx Site für owncloud wurde ebenfalls noch nicht auf php7 umgestellt.
--- Code: ---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;
}
--- End code ---
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
clausmuus:
Hi,
wir Entwickler können nicht alles (bei jedem Update) selber testen. Dafür fehlt einfach die Zeit. Ganz offensichtlich hat aber auch keiner unser Tester oder User die Beschriebenen Funktionen in den letzten Monaten (seit dem es die 5.3 testing mit php7 gibt) getestet, ansonsten wäre das aufgefallen und behoben worden.
Claus
TimUx:
Hi, danke für die Info.
Ich selber hatte die letzten Monate auf Grund eines Projektes leider wenig Zeit.
Wer ist denn auf die Idee gekommen, von php5 auf php7 umzustellen?
Könnt ihr nicht einfach wieder php5 umstellen.?
Dann sollte es keine Probleme mehr geben.
Gruß Timo
TimUx:
Hi,
Ich schau mal, ob ich es schaffe mir die Tage eine neue dev Umgebung aufzubauen.
Vielleicht bekomme ich es ja schnell auf php7 umgestellt.
Gruß Timo
clausmuus:
Hi,
ich hab die nötigen Anpassungen gemacht, damit es mit mariadb und php7 läuft.
Was ich noch nicht weiß, wie der mariadb benutzername und das Passwort sind, die am Anfang erfragt werden. Da muss sich mal jemand anders zu äußern. Ich würde es auch besser finden wenn das bereits voreingestellt wäre.
Claus
Navigation
[0] Message Index
[#] Next page
Go to full version