I started with a SuSE 8.2 system without XFree86 where I recently had installed Apache 2 (which I need for Bugzilla).
rpm -ivh 3ddiag-0.691-82.i586.rpm apache2-mod_php4-4.3.1-52.i586.rpm mesa-5.0-66.i586.rpm mesaglu-5.0-66.i586.rpm mesaglut-5.0-66.i586.rpm mesasoft-5.0-66.i586.rpm mod_php4-core-4.3.1-52.i586.rpm mod_php4-devel-4.3.1-52.i586.rpm qt3-3.1.1-71.i586.rpm XFree86-libs-4.3.0-19.i586.rpm XFree86-GLX-4.3.0-19.i586.rpm XFree86-GLX-devel-4.3.0-19.i586.rpm
ln -s /usr/lib/libGL.so /usr/lib/libGL.so.1
ldconfig
SuSEconfig --module apache2
/etc/init.d/apache2 stop
<IfModule sapi_apache2.c>
#
# Cause the PHP interpreter handle files with a .php extension.
#
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 524288
</Files>
#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php
</IfModule>
libphp4 to the APACHE_MODULES section in /etc/sysconfig/apache2.
/etc/init.d/apache2 extreme-configtest
/etc/init.d/apache2 start
Why on earth does PHP need QT, GLX and XFree86 stuff on SuSE??? On Red Hat, it does not.
Ich fing mit einem SuSE 8.2-System ohne XFree86 an, auf dem ich kurz vorher Apache 2 installiert hatte (den ich für Bugzilla benötige).
rpm -ivh 3ddiag-0.691-82.i586.rpm apache2-mod_php4-4.3.1-52.i586.rpm mesa-5.0-66.i586.rpm mesaglu-5.0-66.i586.rpm mesaglut-5.0-66.i586.rpm mesasoft-5.0-66.i586.rpm mod_php4-core-4.3.1-52.i586.rpm mod_php4-devel-4.3.1-52.i586.rpm qt3-3.1.1-71.i586.rpm XFree86-libs-4.3.0-19.i586.rpm XFree86-GLX-4.3.0-19.i586.rpm XFree86-GLX-devel-4.3.0-19.i586.rpm
ln -s /usr/lib/libGL.so /usr/lib/libGL.so.1
ldconfig
SuSEconfig --module apache2
/etc/init.d/apache2 stop
<IfModule sapi_apache2.c>
#
# Cause the PHP interpreter handle files with a .php extension.
#
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 524288
</Files>
#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php
</IfModule>
libphp4 zum Abschnitt APACHE_MODULES in /etc/sysconfig/apache2
hinzu.
/etc/init.d/apache2 extreme-configtest
/etc/init.d/apache2 start
Warum um alles in der Welt braucht PHP auf SuSE QT-, GLX- und XFree86-Kram??? Mit Red Hat geht das doch auch so.