Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
FIXED: Gallery auf Gentooserver installieren
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2566
Location: Heidelberg - Germany

PostPosted: Sat Jul 21, 2012 2:53 pm    Post subject: FIXED: Gallery auf Gentooserver installieren Reply with quote

Ich möcht eine Testinstallation von "gallery" auf meinem Server machen. Nachdem ich das paket incl. apache php etc. installiert hatte, müssen wohl laut Anleitungen der Gallery Projektseite eine php Skrip im Verzeichnis "installl" aufgerufen werden.
Wenn ich das versuche, zeigt mir der Browser den Textinhalt des php Skriptes an. Das wird sicher nicht im Sinne der Erfinders sein. Leider habe ich von Web Entwicklung noch weniger Ahnung als meine Oma zu Lebzeiten vom C++ Programmieren hatte. Kann mir jemand sagen, wie ich hier weiterkomme?

Danke
Erdie
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W


Last edited by Erdie on Sat Jul 21, 2012 8:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1668

PostPosted: Sat Jul 21, 2012 3:32 pm    Post subject: Reply with quote

In der /etc/conf.d/apache2 gibt es die APACHE2_OPTS, da sollte in der Liste sowas wie "-D PHP5" mit drin sein.
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2566
Location: Heidelberg - Germany

PostPosted: Sat Jul 21, 2012 3:47 pm    Post subject: Reply with quote

Jupp, das wars. Aber wenn man nicht weiß, wonach man sucht, wie soll man darauf kommen :lol:

Vielen Dank :D

Jetzt kommt ein Konfigurationsseite mit eine Menge Zeilen on top, so wie diese etwa:

Code:

Strict Standards: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in /var/www/localhost/htdocs/gallery/modules/core/classes/GalleryUtilities.class on line 1408


Drücke ich auf "begin installation" kommt folgendes:

Code:

Not Found

The requested URL /gallery/install/<br /><b>Strict Standards</b>: Non-static method GallerySetupUtilities::areCookiesSupported() should not be called statically in <b>/var/www/localhost/htdocs/gallery/install/index.php</b> on line <b>318</b><br />index.php was not found on this server.
Apache Server at nettop Port 80


Da stimmt doch irgendeine Security Einstellung nicht, oder?
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
bell
Guru
Guru


Joined: 27 Nov 2007
Posts: 508

PostPosted: Sat Jul 21, 2012 5:50 pm    Post subject: Reply with quote

Standardmäßig ist bei Gentoo die "Developer" Konfiguration für PHP aktiv. Dadurch kommen die ganzen Debug-Meldungen.
Setze mal
Code:
PHP_INI_VERSION="production"
in die make.conf und re-emerge php.
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2566
Location: Heidelberg - Germany

PostPosted: Sat Jul 21, 2012 8:37 pm    Post subject: Reply with quote

Das wars :D

Danke
Erdie
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum