Flyfisher
(Themenstarter)
Anmeldungsdatum: 23. März 2019
Beiträge: 69
Wohnort: COLOGNE
|
aufruf von localhost 127.0.0.1 kommt jetzt : mark('afterLoad') : null; // Instantiate the application. $app = JFactory::getApplication('site'); // Initialise the application. $app->initialise(); // Mark afterIntialise in the profiler. JDEBUG ? $_PROFILER->mark('afterInitialise') : null; // Route the application. $app->route(); // Mark afterRoute in the profiler. JDEBUG ? $_PROFILER->mark('afterRoute') : null; // Dispatch the application. $app->dispatch(); // Mark afterDispatch in the profiler. JDEBUG ? $_PROFILER->mark('afterDispatch') : null; // Render the application. $app->render(); // Mark afterRender in the profiler. JDEBUG ? $_PROFILER->mark('afterRender') : null; // Return the response. echo $app;
|
ErhSch
Anmeldungsdatum: 22. September 2008
Beiträge: 37
|
Hallo, diese Fehlermeldung bzw. das ist die index.php da der Parser nicht funktioniert und die Datei nur ausgegeben wird und nicht als php verarbeitet wird. Zuerst probieren wir mal:
Webserver Neustart (je nach Ubuntu Version):
| sudo /etc/init.d/apache2 restart
sudo systemctl restart apache2
|
Wird dann die index.php verarbeitet? Gruß
|
Flyfisher
(Themenstarter)
Anmeldungsdatum: 23. März 2019
Beiträge: 69
Wohnort: COLOGNE
|
Hallo ErhSch, danke mal wieder für deine Hilfsbereitschaft! leider kommt: ERROR: Module php5 does not exist!
|
Flyfisher
(Themenstarter)
Anmeldungsdatum: 23. März 2019
Beiträge: 69
Wohnort: COLOGNE
|
Habe herausgefunden das php5.6 und php7.2 installiert ist... eddy@ubuntu-SV:~$ sudo a2enmod php5.6
[sudo] Passwort für eddy:
Considering dependency mpm_prefork for php5.6:
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Module mpm_prefork already enabled
Considering conflict php5 for php5.6:
Enabling module php5.6.
To activate the new configuration, you need to run:
systemctl restart apache2
eddy@ubuntu-SV:~$ systemctl restart apache2
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
eddy@ubuntu-SV:~$ sudo /etc/init.d/apache2 restart
[....] Restarting apache2 (via systemctl): apache2.serviceJob for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
failed!
eddy@ubuntu-SV:~$ sudo systemctl restart apache2
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
eddy@ubuntu-SV:~$
|
ErhSch
Anmeldungsdatum: 22. September 2008
Beiträge: 37
|
Da fehlt wohl eher php... schauen wir mal ob die Pakete installiert sind, dann sehen wir weiter:
| sudo apt-get install libapache2-mod-php5 php5-json php5-mysql php5-gd
|
|
Flyfisher
(Themenstarter)
Anmeldungsdatum: 23. März 2019
Beiträge: 69
Wohnort: COLOGNE
|
eddy@ubuntu-SV:~$ sudo apt-get install libapache2-mod-php5 php5-json php5-mysql php5-gd
[sudo] Passwort für eddy:
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paket libapache2-mod-php5 ist nicht verfügbar, wird aber von einem anderen Paket
referenziert. Das kann heißen, dass das Paket fehlt, dass es abgelöst
wurde oder nur aus einer anderen Quelle verfügbar ist.
Paket php5-mysql ist nicht verfügbar, wird aber von einem anderen Paket
referenziert. Das kann heißen, dass das Paket fehlt, dass es abgelöst
wurde oder nur aus einer anderen Quelle verfügbar ist.
Paket php5-gd ist nicht verfügbar, wird aber von einem anderen Paket
referenziert. Das kann heißen, dass das Paket fehlt, dass es abgelöst
wurde oder nur aus einer anderen Quelle verfügbar ist.
Paket php5-json ist nicht verfügbar, wird aber von einem anderen Paket
referenziert. Das kann heißen, dass das Paket fehlt, dass es abgelöst
wurde oder nur aus einer anderen Quelle verfügbar ist.
E: Für Paket »libapache2-mod-php5« existiert kein Installationskandidat.
E: Für Paket »php5-json« existiert kein Installationskandidat.
E: Für Paket »php5-mysql« existiert kein Installationskandidat.
E: Für Paket »php5-gd« existiert kein Installationskandidat.
|
Flyfisher
(Themenstarter)
Anmeldungsdatum: 23. März 2019
Beiträge: 69
Wohnort: COLOGNE
|
Warum benötigen wir unbedingt php5 ? Ich habe php5.6 installieren müssen, damit ich bei meinem Provider auf das aktuelle und günstigen Tarif umsteigen kann... ☺
|
Flyfisher
(Themenstarter)
Anmeldungsdatum: 23. März 2019
Beiträge: 69
Wohnort: COLOGNE
|
eddy@ubuntu-SV:~$ sudo /etc/init.d/apache2 restart
[....] Restarting apache2 (via systemctl): apache2.serviceJob for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
failed! Ausgaben: systemctl status apache2.service apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: exit-code) since Sat 2019-05-18 10:57:13 CEST; 41min ago
Process: 1542 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
Mai 18 10:57:13 ubuntu-SV systemd[1]: Starting The Apache HTTP Server...
Mai 18 10:57:13 ubuntu-SV apachectl[1542]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled/php5.6.lo
Mai 18 10:57:13 ubuntu-SV apachectl[1542]: Action 'start' failed.
Mai 18 10:57:13 ubuntu-SV apachectl[1542]: The Apache error log may have more information.
Mai 18 10:57:13 ubuntu-SV systemd[1]: apache2.service: Control process exited, code=exited status=1
Mai 18 10:57:13 ubuntu-SV systemd[1]: apache2.service: Failed with result 'exit-code'.
Mai 18 10:57:13 ubuntu-SV systemd[1]: Failed to start The Apache HTTP Server. Zeile 146: LogLevel warn
# Include module configuration:
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf journalctl -xe Mai 18 11:39:36 ubuntu-SV systemd[1]: Starting Clean php session files...
-- Subject: Unit phpsessionclean.service has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit phpsessionclean.service has begun starting up.
Mai 18 11:39:36 ubuntu-SV sessionclean[4781]: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/php_mysql.dll' - /usr/lib/php
Mai 18 11:39:36 ubuntu-SV sessionclean[4781]: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/php_mysqli.dll' - /usr/lib/ph
Mai 18 11:39:36 ubuntu-SV systemd[1]: Started Clean php session files.
-- Subject: Unit phpsessionclean.service has finished start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit phpsessionclean.service has finished starting up.
--
-- The start-up result is RESULT.
Mai 18 11:39:37 ubuntu-SV gnome-commander[4877]: Failed to load module "canberra-gtk-module"
Mai 18 11:39:37 ubuntu-SV dbus-daemon[2822]: [session uid=1000 pid=2822] Activating service name='org.gnome.GConf' requested by ':1.91' (uid=1000 pid=4877 c
Mai 18 11:39:37 ubuntu-SV dbus-daemon[2822]: [session uid=1000 pid=2822] Successfully activated service 'org.gnome.GConf'
Mai 18 11:39:37 ubuntu-SV gnome-commander[4877]: Failed to activate daemon: The name org.gnome.GnomeVFS.Daemon was not provided by any .service files
Mai 18 11:39:37 ubuntu-SV gnome-commander[4877]: GnomeCmdConRemote* gnome_cmd_con_remote_new(const gchar*, const string&, GnomeCmdCon::Authentication): asse
Mai 18 11:39:48 ubuntu-SV org.gnome.Shell.desktop[2932]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x
lines 1848-1870/1870 (END)
|
ErhSch
Anmeldungsdatum: 22. September 2008
Beiträge: 37
|
Flyfisher schrieb: Habe herausgefunden das php5.6 und php7.2 installiert ist... eddy@ubuntu-SV:~$ sudo a2enmod php5.6
[sudo] Passwort für eddy:
Considering dependency mpm_prefork for php5.6:
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Module mpm_prefork already enabled
Considering conflict php5 for php5.6:
Enabling module php5.6.
To activate the new configuration, you need to run:
systemctl restart apache2
eddy@ubuntu-SV:~$ systemctl restart apache2
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
eddy@ubuntu-SV:~$ sudo /etc/init.d/apache2 restart
[....] Restarting apache2 (via systemctl): apache2.serviceJob for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
failed!
eddy@ubuntu-SV:~$ sudo systemctl restart apache2
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
eddy@ubuntu-SV:~$
Die Nachricht kam wohl parallel zu meiner raus. Flyfisher schrieb: Warum benötigen wir unbedingt php5 ? Ich habe php5.6 installieren müssen, damit ich bei meinem Provider auf das aktuelle und günstigen Tarif umsteigen kann... ☺
Wir benötigen eine PHP Version die beide Joomlas unterstützen. Damit in der Testumgebung Joomla auf die neuste Version von 3.9.x umgestellt werden kann. Wenn das neue Joomla 3.x auf der Testumgebung läuft dann kann diese, und die Datenbank, auf den Server mit PHP 7.x hochgeladen werden. Du kannst im Hauptverzeichnis die phpinfo Info benutzen um zu testen ob php aktiv ist und wie ist kompilieren wurde. Gruß Erhsch
|
Flyfisher
(Themenstarter)
Anmeldungsdatum: 23. März 2019
Beiträge: 69
Wohnort: COLOGNE
|
sudo apachectl configtest apache2: Syntax error on line 146 of /etc/apache2/apache2.conf:
Syntax error on line 3 of /etc/apache2/mods-enabled/php5.6.load:
Cannot load /usr/lib/apache2/modules/libphp5.6.so into server:
/usr/lib/apache2/modules/libphp5.6.so:
cannot open shared object file: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.
|
Flyfisher
(Themenstarter)
Anmeldungsdatum: 23. März 2019
Beiträge: 69
Wohnort: COLOGNE
|
Steh auf dem Schlauch... Jemand ein Tipp, wie ich vorgehen muss?
|
dajohb
Anmeldungsdatum: 29. Januar 2016
Beiträge: 166
|
ist das Problem gelöst?
wenn nicht, die obige Fehlern sagen, dass die Pakete fehlen | libapache2-mod-php5 php5-json php5-mysql php5-gd
|
vorallem das Paket libapache2-mod-php5
|
Flyfisher
(Themenstarter)
Anmeldungsdatum: 23. März 2019
Beiträge: 69
Wohnort: COLOGNE
|
Problem besteht weiterhin noch ! Was kann ich tun ?
|
dajohb
Anmeldungsdatum: 29. Januar 2016
Beiträge: 166
|
Welche Ubuntu Version hast du genau?
Laut deinen vorherigen Post hattest du php5 schon installiert.
Bei Ubuntu 18 kannst du php5 nicht aus dem standart Respostory installieren.
Da muss du ein externer Respostory einbinden. Aber irgendwie hast ja schon php5 ja schon installiert.
Du müßtest noch die Packages noch nachinstalliert, halt genauso wie du php5 installiert hast.
libapache2-mod-php5 php5-json php5-mysql php5-gd
|