Suse 9.1: Apache / PHP...

Apache, Lighttpd, nginx, Cherokee
Post Reply
helmi
Posts: 14
Joined: 2003-03-12 12:35
 

Suse 9.1: Apache / PHP...

Post by helmi »

Hi,

ich hatte schon lange kein Suse mehr in der Hand und muss nun ein 9.1er mit Apache 2 und Php einrichten.

Leider gottes läuft die Installation über Yast nicht so problemlos wie ich mir das vorstelle. Trotzdem dass ich einige PHP-Optionen im Yast als "zu installierend" ausgewählt habe deaktiviert er sie beim kompilieren von PHP.

Weiß jemand wie ich im Yast (oder auch woanders) einstellen kann, was er bei php aktivieren soll und mit welchen Optionen er PHP kompilieren soll?

Leider finde ich auch keine Sourcen auf der Platte um php einfach selbst nochmal neu zu kompilieren?

Danke für Eure Hilfe!

Helmi :roll:
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Suse 9.1: Apache / PHP...

Post by Joe User »

RPMs werden nicht kompiliert.

Code: Select all

rpm -qa | grep php
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
helmi
Posts: 14
Joined: 2003-03-12 12:35
 

Re: Suse 9.1: Apache / PHP...

Post by helmi »

okay nun weiss ich die liste der installierten RPMs...
# rpm -qa | grep php
apache2-mod_php4-4.3.4-26
php4-curl-4.3.4-26
php4-exif-4.3.4-26
php4-gd-4.3.4-26
php4-gmp-4.3.4-26
php4-imap-4.3.4-26
php4-mbstring-4.3.4-26
php4-mcrypt-4.3.4-26
php4-mime_magic-4.3.4-26
php4-pgsql-4.3.4-26
php4-readline-4.3.4-26
php4-session-4.3.4-26
php4-snmp-4.3.4-26
php4-swf-4.3.4-26
php4-sysvshm-4.3.4-26
php4-wddx-4.3.4-26
php4-yp-4.3.4-26
php4-4.3.4-26
php4-bz2-4.3.4-26
php4-domxml-4.3.4-26
php4-ftp-4.3.4-26
php4-gettext-4.3.4-26
php4-iconv-4.3.4-26
php4-ldap-4.3.4-26
php4-mcal-4.3.4-26
php4-mhash-4.3.4-26
php4-mysql-4.3.4-26
php4-qtdom-4.3.4-26
php4-recode-4.3.4-26
php4-shmop-4.3.4-26
php4-sockets-4.3.4-26
php4-sysvsem-4.3.4-26
php4-unixODBC-4.3.4-26
php4-xslt-4.3.4-26
php4-zlib-4.3.4-26
aber leider löst dies mein Problem nicht...
Configure Command './configure' '--prefix=/usr' '--datadir=/usr/share/php' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include' '--sysconfdir=/etc' '--with-_lib=lib' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' '--disable-debug' '--enable-inline-optimization' '--enable-memory-limit' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild' '--disable-ctype' '--disable-session' '--without-mysql' '--disable-cli' '--without-pear' '--with-openssl' '--with-apxs2=/usr/sbin/apxs2-prefork' 'i586-suse-linux'
das gibt mir die php-info aus... aber wie kann ich dafür sorgen, dass z.B. sessions nicht disabled sind, keine memory limit, kein safe mode, etc. pp.

Danke für Eure Hilfe.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Suse 9.1: Apache / PHP...

Post by Joe User »

Der per phpinfo() angezeigte Configure-String hat keinerlei Aussagekraft. Lediglich die sich darunter befindlichen Angaben sind weitestgehend glaubwürdig.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
helmi
Posts: 14
Joined: 2003-03-12 12:35
 

Re: Suse 9.1: Apache / PHP...

Post by helmi »

okay vielleicht drücke ich mich falsch aus.

Mein Problem ist nicht die Tatsache, dass phpinfo was falsches anzeigt sondern dass entsprechende Dinge auch nicht funtionieren.

Beispiel:

phpinfo zeigt als config-option "disable-sessions"

ein von mir eingesetztes Script (Cacti) meldet entsprechend einen Fehler (Funktion session_start wird nicht gefunden).

Also wegen mir könnte bei phpinfo auch ein Märchen der Gebrüder Grimm dastehen...
oxygen
Posts: 2138
Joined: 2002-12-15 00:10
Location: Bergheim
 

Re: Suse 9.1: Apache / PHP...

Post by oxygen »

Warum installierst du dann nicht einfach php4-session?
Post Reply