Jump to content
Froxlor Forum
  • 0

Fehler nach Umstieg auf PHP5 fcgid


serecords

Question

Hallo,

 

nachdem ich diese Anleitung nun "abgearbeitet" habe, funktioniert leider nichts mehr.

 

Versuche ich das Froxlor Panel aufzurufen, kommt die 403 Forbidden Meldung. Das geht erst wieder, wenn ich www-data die Rechte am Ordner gebe.

Jedoch ist das mod_php bereits durch a2dismod php5 deaktiviert wurden, also warum geht es trotzdem noch?

 

Ich vermute, dass weitere Informationen ben?tigt werden. Da ich aber nicht wei? welche, bitte fragt nach.

Link to post
Share on other sites

7 answers to this question

Recommended Posts

Joa 5.6 ist f?r Joomla etwas zu neu....daf?r ist es zu altmodisch gecoded wie man an den Fehler erkennen kann - aber um Kundenwebsites und vorallem Joomla geht es hier ja nicht.

 

Wenn du FCGID nutzt kannst du eine neue PHP-Konfiguration anlegen, dort kannst du den Pfad zur PHP-binary angeben (achtung /usr/bin/php-cgi ist nur ein Symlink! - Kommt auf das System drauf an, wie die einzelnen binaries der versionen hei?en und wo die liegen).

Diese PHP-Konfiguration kannst du dann pro Domain w?hlen.

Link to post
Share on other sites

Deine Config pr?fen in froxlor, error_log vom Apache, lief der Cronjob schon? Nopaste einer Vhost-Config als Sample w?re hilfreich. Wie sind die Berechtigungen der Ordner (froxlor und kunden).

Link to post
Share on other sites

Also die Config habe ich so ?bernommen, wie sie mir in Froxlor angezeigt wurde (falls du die Dateien meinst). Ansonsten habe ich auch alle Einstellungen so gesetzt, wie in der Anleitung beschrieben.

 

Der Cronjob lief bereits mehrmals durch.

 

Hier das Error-Log vom Apache:

[Sun Oct 05 17:30:02 2014] [notice] Graceful restart requested, doing restart
[Sun Oct 05 17:30:02 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Sun Oct 05 17:30:02 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Sun Oct 05 17:30:02 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 configured -- resuming normal operations
[Sun Oct 05 17:31:02 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:32:38 2014] [error] [client 84.175.53.247] File does not exist: /var/www/favicon.ico
[Sun Oct 05 17:32:38 2014] [error] [client 84.175.53.247] File does not exist: /var/www/favicon.ico
[Sun Oct 05 17:33:04 2014] [notice] caught SIGTERM, shutting down
[Sun Oct 05 17:33:05 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Oct 05 17:33:05 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 configured -- resuming normal operations
[Sun Oct 05 17:33:09 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:33:10 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:33:11 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:33:11 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:33:11 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:33:12 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:33:31 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:33:47 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://89.238.66.50/froxlor/customer_domains.php?s=7b72002181f881cd26c711512da668c9&page=domains&action=edit&id=21
[Sun Oct 05 17:37:14 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:41:05 2014] [notice] caught SIGTERM, shutting down
[Sun Oct 05 17:41:06 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Oct 05 17:41:06 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 configured -- resuming normal operations
[Sun Oct 05 17:41:09 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:41:10 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://89.238.66.50/froxlor/customer_domains.php?s=7b72002181f881cd26c711512da668c9&page=domains&action=edit&id=21
[Sun Oct 05 17:41:10 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://89.238.66.50/froxlor/customer_domains.php?s=7b72002181f881cd26c711512da668c9&page=domains&action=edit&id=21
[Sun Oct 05 17:41:11 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://89.238.66.50/froxlor/customer_domains.php?s=7b72002181f881cd26c711512da668c9&page=domains&action=edit&id=21
[Sun Oct 05 17:46:23 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:46:24 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:46:24 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:46:24 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:46:25 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:46:25 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:46:27 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:47:02 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:47:02 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:47:45 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:47:46 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:47:46 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:48:02 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:48:03 2014] [error] [client 84.175.53.247] File does not exist: /var/www/favicon.ico
[Sun Oct 05 17:48:03 2014] [error] [client 84.175.53.247] File does not exist: /var/www/favicon.ico
[Sun Oct 05 17:48:04 2014] [notice] caught SIGTERM, shutting down
[Sun Oct 05 17:48:05 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Oct 05 17:48:05 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 configured -- resuming normal operations
[Sun Oct 05 17:48:08 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sun Oct 05 17:48:09 2014] [crit] [client 84.175.53.247] (13)Permission denied: /var/www/froxlor/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

Den Error mit dem apr_socket hab ich bereits gegoogelt, aber da wird ?berall nur geschrieben, dass es ein Bug in Apache2 ist.

 

Hier dann noch eine vHost Beispiel:

# 22_froxlor_normal_vhost_meine-domain.de.conf
# Created 05.10.2014 15:30
# Do NOT manually edit this file, all changes will be deleted after the next domain change at the panel.

# Domain ID: 21 - CustomerID: 2 - CustomerLogin: web1
<VirtualHost 89.238.66.50:80>
  ServerName meine-domain.de
  ServerAdmin webmaster@meine-domain.de
  DocumentRoot "/var/customers/webs/web1/meine-domain.de/cms/"
  FcgidIdleTimeout 30
  SuexecUserGroup "web1" "web1"
  <Directory "/var/customers/webs/web1/meine-domain.de/cms/">
    <FilesMatch "\.(php)$">
      SetHandler fcgid-script
      FcgidWrapper /var/www/php-fcgi-scripts/web1/meine-domain.de/php-fcgi-starter .php
      Options +ExecCGI
    </FilesMatch>
    Order allow,deny
    allow from all
  </Directory>
  Alias /webalizer "/var/customers/webs/web1/webalizer"
  ErrorLog "/var/customers/logs/web1-error.log"
  CustomLog "/var/customers/logs/web1-access.log" combined
</VirtualHost>

Berechtigung des Froxlor Ordners /var/www/froxlor [froxlor l?sst sich mitlerweile auch wieder ?ffnen]

Chmod 755

Besitzer und Gruppe froxlorlocal [9999]

 

 

Die Kunden Website, von der der vHost stammt, l?sst sich nun aber auch nicht mehr ?ffnen. Es sind im Kunden Error-log viele php Fehler, die vor dem Umstieg auf die cgi variante nicht aufgetreten sind.

[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Deprecated:  iconv_set_encoding(): Use of iconv.internal_encoding is deprecated in /var/customers/webs/web1/meine-domain.de/cms/libraries/joomla/string/string.php on line 27
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Deprecated:  iconv_set_encoding(): Use of iconv.input_encoding is deprecated in /var/customers/webs/web1/meine-domain.de/cms/libraries/joomla/string/string.php on line 28
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Deprecated:  iconv_set_encoding(): Use of iconv.output_encoding is deprecated in /var/customers/webs/web1/meine-domain.de/cms/libraries/joomla/string/string.php on line 29
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/plugins/content/igallery/igallery.php on line 15
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/plugins/content/igallery/igallery.php on line 15
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/plugins/content/igallery/igallery.php on line 15
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/plugins/content/igallery/igallery.php on line 15
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/plugins/content/igallery/igallery.php on line 15
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Deprecated:  Non-static method JApplicationSite::getMenu() should not be called statically, assuming $this from incompatible context in /var/customers/webs/web1/meine-domain.de/cms/plugins/system/yt/includes/site/lib/yt_template.php on line 116
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Deprecated:  Non-static method JApplicationCms::getMenu() should not be called statically, assuming $this from incompatible context in /var/customers/webs/web1/meine-domain.de/cms/libraries/cms/application/site.php on line 266
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Deprecated:  Non-static method JApplicationSite::getMenu() should not be called statically, assuming $this from incompatible context in /var/customers/webs/web1/meine-domain.de/cms/plugins/system/yt/includes/site/lib/yt_template.php on line 116
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Deprecated:  Non-static method JApplicationCms::getMenu() should not be called statically, assuming $this from incompatible context in /var/customers/webs/web1/meine-domain.de/cms/libraries/cms/application/site.php on line 266
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmen
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be assigned by reference in /var/customers/webs/web1/meine-domain.de/cms/templates/sj_plus/menusys/ytmenu.php on line 205
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Deprecated:  Non-static method plgSystemYt::nameOfSJTemplate() should not be called statically, assuming $this from incompatible context in /var/customers/webs/web1/meine-domain.de/cms/plugins/system/ytshortcodes/ytshortcodes.php on line 93
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Strict Standards:  Only variables should be passed by reference in /var/customers/webs/web1/meine-domain.de/cms/plugins/system/yt/includes/libs/yt-minify.php on line 179
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Warning:  file_put_contents(/var/customers/webs/web1/meine-domain.de/cms/plugins/system/yt/includes/libs/minify/config.php): failed to open stream: Permission denied in /var/customers/webs/web1/meine-domain.de/cms/libraries/joomla/filesystem/file.php on line 431
[Sun Oct 05 18:42:45 2014] [warn] [client IP] mod_fcgid: stderr: PHP Fatal error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 64 bytes) in /var/customers/webs/web1/meine-domain.de/cms/libraries/joomla/database/driver/mysql.php on line 421

Link to post
Share on other sites

Um diese PHP Fehler zu verhindern und um es zu testen, habe ich mir parallel zu php 5.6.1.1 noch php 5.3.29 installiert.

 

Nur wie kann ich jetzt f?r jede Domain, am besten f?r jede Subdomain festlegen, welche PHP Version genutzt werden soll - Also wo kann ich den Pfad zur php-cgi anpassen?

Link to post
Share on other sites

Danke, ich habe das jetzt auch soweit hinbekommen mit dem Anlegen verschiedener PHP Konfigurationen.

Jedoch w?rde ich es besser finden, wenn der Kunde oder zur Not auch der Administrator die PHP Konfiguration f?r die Subdomains, die der Kunde angelegt hat, w?hlen kann und nicht nur generell f?r die Domain mit allen Sub Domains.

 

Gibt es da eine M?glichkeit f?r? Eventuell m?chte der Kunde ja unter seiner Domain eine Testseite mit neuerer PHP Version betreiben.

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...