Debian 9 PHP 5.6  [GELÖST]

nikko
Posts: 914
Joined: Fri 15. Apr 2016, 16:11

Re: Debian 9 PHP 5.6

Post by nikko »

Na denn los.... Deb o. U16.04 in minimal, Keyhelp oben drauf (ohne irgendetwas nachzuinstallieren), testen und bitte die

/var/log/keyhelp/install.log

hier rein. Ohne Screenshot :lol: :lol: :lol:
The software said: Requires Win Vista®, 7®, 8® or better. And so I installed Linux.
saugjunkie
Posts: 57
Joined: Sat 7. Oct 2017, 19:44

Re: Debian 9 PHP 5.6

Post by saugjunkie »

bitte schoen
install.log
(212.96 KiB) Downloaded 156 times
das hier ist noch aus der update.log

Code: Select all

[09-Oct-2017 18:33:01] INFO  --> load tasks ... 4 found
[09-Oct-2017 18:33:01] DEBUG --> task type IDs: 500, 600, 500, 600
[09-Oct-2017 18:33:01] DEBUG --> Bind: __construct()
[09-Oct-2017 18:33:01] DEBUG --> Bind: writeConfig()
[09-Oct-2017 18:33:01] DEBUG --> Bind: checkDirectory()
[09-Oct-2017 18:33:01] DEBUG --> Bind: directory "/etc/bind/keyhelp_domains/" already exists
[09-Oct-2017 18:33:01] DEBUG --> Bind: getNameserver()
[09-Oct-2017 18:33:02] DEBUG --> Bind: 2 nameservers found
[09-Oct-2017 18:33:02] DEBUG --> Bind: getIPs()
[09-Oct-2017 18:33:02] DEBUG --> Bind: 1 ips found
[09-Oct-2017 18:33:02] DEBUG --> Bind: generate zone file for domain "bt-domain.xyz"
[09-Oct-2017 18:33:02] INFO  --> Bind: write zone file for domain "bt-domain.xyz"
[09-Oct-2017 18:33:02] DEBUG --> Bind: generateKeyhelpConf()
[09-Oct-2017 18:33:02] INFO  --> Bind: write config file "named.conf.keyhelp"
[09-Oct-2017 18:33:02] DEBUG --> Bind: checkSyntax()
[09-Oct-2017 18:33:02] DEBUG --> Bind: syntax ok
[09-Oct-2017 18:33:02] INFO  --> Bind: reload bind config
[09-Oct-2017 18:33:02] DEBUG --> Apache: applyAllConfigChanges()
[09-Oct-2017 18:33:02] DEBUG --> Apache: checkDirectories()
[09-Oct-2017 18:33:02] DEBUG --> Apache: cleanAll()
[09-Oct-2017 18:33:02] DEBUG --> Apache: cleanVhosts()
[09-Oct-2017 18:33:02] DEBUG --> Apache: cleanPhpFpmPools()
[09-Oct-2017 18:33:02] DEBUG --> Apache: cleanHtpasswd()
[09-Oct-2017 18:33:02] DEBUG --> Apache: getUserIdsWithModifiedDomains()
[09-Oct-2017 18:33:02] DEBUG --> Apache: we will now apply configs changes of user id "2"
[09-Oct-2017 18:33:02] DEBUG --> Apache: config data loaded for user id "2" ("bt-domain")
[09-Oct-2017 18:33:02] DEBUG --> load domain "bt-domain.ovh"
[09-Oct-2017 18:33:02] DEBUG --> domain uses lets encrypt - check if certs are already available
[09-Oct-2017 18:33:02] DEBUG --> okay
[09-Oct-2017 18:33:02] DEBUG --> load domain "www.bt-domain.ovh"
[09-Oct-2017 18:33:02] DEBUG --> domain uses lets encrypt - check if certs are already available
[09-Oct-2017 18:33:02] DEBUG --> okay
[09-Oct-2017 18:33:02] DEBUG --> load domain "board.bt-domain.ovh"
[09-Oct-2017 18:33:02] DEBUG --> domain uses lets encrypt - check if certs are already available
[09-Oct-2017 18:33:02] DEBUG --> okay
[09-Oct-2017 18:33:02] DEBUG --> load domain "archiv.bt-domain.ovh"
[09-Oct-2017 18:33:02] DEBUG --> domain uses lets encrypt - check if certs are already available
[09-Oct-2017 18:33:02] DEBUG --> okay
[09-Oct-2017 18:33:02] DEBUG --> load domain "bt-domain.xyz"
[09-Oct-2017 18:33:02] DEBUG --> domain without ssl option
[09-Oct-2017 18:33:02] DEBUG --> load domain "www.bt-domain.xyz"
[09-Oct-2017 18:33:02] DEBUG --> domain without ssl option
[09-Oct-2017 18:33:02] DEBUG --> Apache: add vhost container for domain "bt-domain.ovh"
[09-Oct-2017 18:33:02] DEBUG --> Apache: add vhost container for domain "www.bt-domain.ovh"
[09-Oct-2017 18:33:02] DEBUG --> Apache: add vhost container for domain "board.bt-domain.ovh"
[09-Oct-2017 18:33:02] DEBUG --> Apache: add vhost container for domain "archiv.bt-domain.ovh"
[09-Oct-2017 18:33:02] DEBUG --> Apache: add vhost container for domain "bt-domain.xyz"
[09-Oct-2017 18:33:02] DEBUG --> Apache: add vhost container for domain "www.bt-domain.xyz"
[09-Oct-2017 18:33:02] DEBUG --> Apache: save config to "/etc/apache2/keyhelp/vhosts/bt-domain.conf"
[09-Oct-2017 18:33:02] DEBUG --> PHP-FPM: add php-fpm pool "[bt-technik]" for domain "bt-domain.ovh"
[09-Oct-2017 18:33:02] DEBUG --> save config to "/etc/php/7.0/fpm/keyhelp_pool/bt-domain.conf"
[09-Oct-2017 18:33:02] DEBUG --> PHP-FPM: add php-fpm pool "[bt-technik]" for domain "www.bt-domain.ovh"
[09-Oct-2017 18:33:02] DEBUG --> save config to "/etc/php/7.0/fpm/keyhelp_pool/bt-domain.conf"
[09-Oct-2017 18:33:02] DEBUG --> PHP-FPM: add php-fpm pool "[bt-technik_php53]" for domain "board.bt-domain.ovh"
[09-Oct-2017 18:33:02] DEBUG --> save config to "/opt/keyhelp/php/5.3/etc/php-fpm.d/bt-domain_php53.conf"
[09-Oct-2017 18:33:02] DEBUG --> PHP-FPM: add php-fpm pool "[bt-technik_php53]" for domain "archiv.bt-domain.ovh"
[09-Oct-2017 18:33:02] DEBUG --> save config to "/opt/keyhelp/php/5.3/etc/php-fpm.d/bt-domain_php53.conf"
[09-Oct-2017 18:33:02] DEBUG --> PHP-FPM: add php-fpm pool "[bt-technik_php56]" for domain "bt-domain.xyz"
[09-Oct-2017 18:33:02] DEBUG --> save config to "/opt/keyhelp/php/5.6/etc/php-fpm.d/bt-domain_php56.conf"
[09-Oct-2017 18:33:02] DEBUG --> PHP-FPM: add php-fpm pool "[bt-technik_php56]" for domain "www.bt-domain.xyz"
[09-Oct-2017 18:33:02] DEBUG --> save config to "/opt/keyhelp/php/5.6/etc/php-fpm.d/bt-domain_php56.conf"
[09-Oct-2017 18:33:02] DEBUG --> Apache: reloadApache()
[09-Oct-2017 18:33:02] DEBUG --> Apache: syntax ok
[09-Oct-2017 18:33:02] DEBUG --> Apache: reloading apache
[09-Oct-2017 18:33:02] ERROR --> Apache: failed to reload

ich verstehe gerade nur bahnhof und kann mir das nicht erklaeren also ich habe mich gerade nochmal damit auseinander gesetzt und dabei viel mir auf das die domain die php 5.6 benutzt hatte zwar geeloescht wurde aber das php 5.6 packet nicht deinstalliert habe.
Daraufhin habe ich die domain nochmal erstellt und das php 5.6 ausgwaehlt und die domains sind gruen und auch der reload funktioniert.

hier der bereich aus der update log

Code: Select all

[11-Oct-2017 22:49:01] INFO  --> load tasks ... 2 found
[11-Oct-2017 22:49:01] DEBUG --> task type IDs: 500, 600
[11-Oct-2017 22:49:01] DEBUG --> Bind: __construct()
[11-Oct-2017 22:49:01] DEBUG --> Bind: writeConfig()
[11-Oct-2017 22:49:01] DEBUG --> Bind: checkDirectory()
[11-Oct-2017 22:49:01] DEBUG --> Bind: directory "/etc/bind/keyhelp_domains/" already exists
[11-Oct-2017 22:49:01] DEBUG --> Bind: getNameserver()
[11-Oct-2017 22:49:01] DEBUG --> Bind: 2 nameservers found
[11-Oct-2017 22:49:01] DEBUG --> Bind: getIPs()
[11-Oct-2017 22:49:01] DEBUG --> Bind: 1 ips found
[11-Oct-2017 22:49:01] DEBUG --> Bind: generate zone file for domain "bt-technik.xyz"
[11-Oct-2017 22:49:01] INFO  --> Bind: write zone file for domain "bt-technik.xyz"
[11-Oct-2017 22:49:01] DEBUG --> Bind: generateKeyhelpConf()
[11-Oct-2017 22:49:01] INFO  --> Bind: write config file "named.conf.keyhelp"
[11-Oct-2017 22:49:01] DEBUG --> Bind: checkSyntax()
[11-Oct-2017 22:49:01] DEBUG --> Bind: syntax ok
[11-Oct-2017 22:49:01] INFO  --> Bind: reload bind config
[11-Oct-2017 22:49:01] DEBUG --> Apache: applyAllConfigChanges()
[11-Oct-2017 22:49:01] DEBUG --> Apache: checkDirectories()
[11-Oct-2017 22:49:01] DEBUG --> Apache: cleanAll()
[11-Oct-2017 22:49:01] DEBUG --> Apache: cleanVhosts()
[11-Oct-2017 22:49:01] DEBUG --> Apache: cleanPhpFpmPools()
[11-Oct-2017 22:49:01] DEBUG --> Apache: cleanHtpasswd()
[11-Oct-2017 22:49:01] DEBUG --> Apache: getUserIdsWithModifiedDomains()
[11-Oct-2017 22:49:01] DEBUG --> Apache: we will now apply configs changes of user id "2"
[11-Oct-2017 22:49:01] DEBUG --> Apache: config data loaded for user id "2" ("bt-technik")
[11-Oct-2017 22:49:01] DEBUG --> load domain "bt-technik.ovh"
[11-Oct-2017 22:49:01] DEBUG --> domain uses lets encrypt - check if certs are already available
[11-Oct-2017 22:49:01] DEBUG --> okay
[11-Oct-2017 22:49:01] DEBUG --> load domain "www.bt-technik.ovh"
[11-Oct-2017 22:49:01] DEBUG --> domain uses lets encrypt - check if certs are already available
[11-Oct-2017 22:49:01] DEBUG --> okay
[11-Oct-2017 22:49:01] DEBUG --> load domain "board.bt-technik.ovh"
[11-Oct-2017 22:49:01] DEBUG --> domain uses lets encrypt - check if certs are already available
[11-Oct-2017 22:49:01] DEBUG --> okay
[11-Oct-2017 22:49:01] DEBUG --> load domain "archiv.bt-technik.ovh"
[11-Oct-2017 22:49:01] DEBUG --> domain uses lets encrypt - check if certs are already available
[11-Oct-2017 22:49:01] DEBUG --> okay
[11-Oct-2017 22:49:01] DEBUG --> load domain "bt-technik.xyz"
[11-Oct-2017 22:49:01] DEBUG --> domain without ssl option
[11-Oct-2017 22:49:01] DEBUG --> Apache: add vhost container for domain "bt-technik.ovh"
[11-Oct-2017 22:49:01] DEBUG --> Apache: add vhost container for domain "www.bt-technik.ovh"
[11-Oct-2017 22:49:01] DEBUG --> Apache: add vhost container for domain "board.bt-technik.ovh"
[11-Oct-2017 22:49:01] DEBUG --> Apache: add vhost container for domain "archiv.bt-technik.ovh"
[11-Oct-2017 22:49:01] DEBUG --> Apache: add vhost container for domain "bt-technik.xyz"
[11-Oct-2017 22:49:01] DEBUG --> Apache: save config to "/etc/apache2/keyhelp/vhosts/bt-technik.conf"
[11-Oct-2017 22:49:01] DEBUG --> PHP-FPM: add php-fpm pool "[bt-technik]" for domain "bt-technik.ovh"
[11-Oct-2017 22:49:01] DEBUG --> save config to "/etc/php/7.0/fpm/keyhelp_pool/bt-technik.conf"
[11-Oct-2017 22:49:01] DEBUG --> PHP-FPM: add php-fpm pool "[bt-technik]" for domain "www.bt-technik.ovh"
[11-Oct-2017 22:49:01] DEBUG --> save config to "/etc/php/7.0/fpm/keyhelp_pool/bt-technik.conf"
[11-Oct-2017 22:49:01] DEBUG --> PHP-FPM: add php-fpm pool "[bt-technik_php53]" for domain "board.bt-technik.ovh"
[11-Oct-2017 22:49:01] DEBUG --> save config to "/opt/keyhelp/php/5.3/etc/php-fpm.d/bt-technik_php53.conf"
[11-Oct-2017 22:49:01] DEBUG --> PHP-FPM: add php-fpm pool "[bt-technik_php53]" for domain "archiv.bt-technik.ovh"
[11-Oct-2017 22:49:01] DEBUG --> save config to "/opt/keyhelp/php/5.3/etc/php-fpm.d/bt-technik_php53.conf"
[11-Oct-2017 22:49:01] DEBUG --> PHP-FPM: add php-fpm pool "[bt-technik_php56]" for domain "bt-technik.xyz"
[11-Oct-2017 22:49:01] DEBUG --> save config to "/opt/keyhelp/php/5.6/etc/php-fpm.d/bt-technik_php56.conf"
[11-Oct-2017 22:49:01] DEBUG --> Apache: reloadApache()
[11-Oct-2017 22:49:01] DEBUG --> Apache: syntax ok
[11-Oct-2017 22:49:01] DEBUG --> Apache: reloading apache
[11-Oct-2017 22:49:02] DEBUG --> Apache: reloadPhpFpm()
[11-Oct-2017 22:49:02] DEBUG --> PHP-FPM (php7.0-fpm): syntax ok 
[11-Oct-2017 22:49:02] DEBUG --> PHP-FPM (php7.0-fpm): reloading php-fpm
[11-Oct-2017 22:49:02] DEBUG --> PHP-FPM (keyhelp-php56-fpm): syntax ok 
[11-Oct-2017 22:49:02] DEBUG --> PHP-FPM (keyhelp-php56-fpm): startup php-fpm
[11-Oct-2017 22:49:02] DEBUG --> PHP-FPM (keyhelp-php53-fpm): syntax ok 
[11-Oct-2017 22:49:02] DEBUG --> PHP-FPM (keyhelp-php53-fpm): reloading php-fpm


das hier ist aus putty

Code: Select all

root@server001:~# systemctl status apache2.service
● apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset:
enabled)
   Active: active (running) since Mon 2017-10-09 19:26:23 CEST; 2 day
s ago
  Process: 16963 ExecStop=/usr/sbin/apachectl stop (code=exited, status=0/SUCCES
S)
  Process: 25489 ExecReload=/usr/sbin/apachectl graceful (code=exited, status=0/
SUCCESS)
  Process: 16970 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCC
ESS)
 Main PID: 16974 (apache2)
    Tasks: 57 (limit: 4915)
   CGroup: /system.slice/apache2.service
           ├─16974 /usr/sbin/apache2 -k start
           ├─25496 /usr/sbin/apache2 -k start
           ├─25497 /usr/sbin/apache2 -k start
           ├─25498 /usr/sbin/apache2 -k start
           └─25499 /usr/sbin/apache2 -k start

Okt 09 19:26:23 server001.bt-technik.ovh systemd[1]: Starting The Apache HTTP Se
rver...
Okt 09 19:26:23 server001.bt-technik.ovh systemd[1]: Started The Apache HTTP Ser
ver.
Okt 10 06:25:05 server001.bt-technik.ovh systemd[1]: Reloading The Apache HTTP Server.
Okt 10 06:25:05 server001.bt-technik.ovh systemd[1]: Reloaded The Apache HTTP Server.
Okt 11 06:25:03 server001.bt-technik.ovh systemd[1]: Reloading The Apache HTTP Server.
Okt 11 06:25:03 server001.bt-technik.ovh systemd[1]: Reloaded The Apache HTTP Server.
Okt 11 22:48:01 server001.bt-technik.ovh systemd[1]: Reloading The Apache HTTP Server.
Okt 11 22:48:01 server001.bt-technik.ovh systemd[1]: Reloaded The Apache HTTP Server.
Okt 11 22:49:01 server001.bt-technik.ovh systemd[1]: Reloading The Apache HTTP Server.
Okt 11 22:49:02 server001.bt-technik.ovh systemd[1]: Reloaded The Apache HTTP Server.
schlag mich tot aber verstehen muss ich das jetzt nicht dabei habe ich alles so gemacht wie beim erstenmal.

ich hab gerade nochmal einbischen rumgespielt und habe es wieder gehabt das der apache da ein fehler rausgehauen hat und die domains rot waren.

ich konnte es jetzt aber besser nachverfolgen wo das problem lag. das muss bei mir unnd meiner ungeduldigkeit gewesen sein.

Domain erstellt mit os standart wurde gruen.
Subdomain1 mit php 5.3 + subdomain mit php 5.6 domains rot.
apache oder keyhelp moegen es nicht wenn man mehrere sub domains gleichzeitig erstellt mit unterschiedlichen php versionen die noch nicht ausgeewaehlt wurden und der interpreter noch nicht leuft.

macht man aber erst subdomain1 mit php 5.4 wartet das update ab und macht dann subdomain mit php 5.6 alles in ordnung.

ich hab jetzt gerade alle php versionen installiert und dann mal fantasie domains erstellt.
php53.de mit php 5.3 update gewartet gruen
php54.de mit php 5.4 update geartet gruen
php55.de mit php 5.5 update gewartet gruen
php56.de mit php 5.6 update gewartet gruen
php71.de mit php 7.1 update gewartet gruen

nachdem ich nun hauptdomains erstellt habe mit jeder php version kann ich nun sub domains mit unterschiedlicher php version erstellen ohne die update.php abzuwarten und alle werden gruen.

Dies habe ich ja so nie gemacht ich hatte domain mit php os standart dann subdomain1 mit php 5.3 und dann sofort subdomain2 mit php 5.6 dann rot.

also mein php version problem ist aus meiner sicht nun erledigt und kann geschlosen werden.

ich moechte mich ganz herzlich bei allen im forum bedanken die mir versucht haben dieses problem zu loesen aber wie man sieht war nur indirekt der server schuld sonder viel mehr ich selber.

MFG
Saugjunkie
User avatar
Martin
Posts: 984
Joined: Wed 20. Jan 2016, 00:43

Re: Debian 9 PHP 5.6

Post by Martin »

Hallo,

Anmerkung von wbb2 (da ich das auch benutzt habe), dies läuft mit einer Handvoll Anpassungen (bzgl. ereg_replace etc) auch ohne Probleme unter zumindest PHP 5.5 :)
Viele Grüße,
Martin
User avatar
Alexander
Keyweb AG
Posts: 4448
Joined: Wed 20. Jan 2016, 02:23

Re: Debian 9 PHP 5.6

Post by Alexander »

saugjunkie wrote:ich moechte mich ganz herzlich bei allen im forum bedanken die mir versucht haben dieses problem zu loesen aber wie man sieht war nur indirekt der server schuld sonder viel mehr ich selber.
Normalerweise sollte es kein Problem darstellen eine beliebige Anzahl an Domains mit beliebigen Webserver / PHP Interpreter (ob bereits gestartet oder nicht) Einstellungen innerhalb eines Update Zyklus zu ändern.

In den letzten 1-2 Wochen hatte ich (seltene) Fälle bemerkt, wo der Apache nicht immer in der Lage zum Reload ist und in einen fehlerhaften Zustand verfällt. Wenn du über die Konsole mehrere Male ein "service apache2 reload ; echo $?" ausführst und der Befehl dann irgendwann einmal nicht mit "0" antwortet, trifft ggf. dieses Problem hier auch zu.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Locked