Searinox
19.11.04, 17:29
Hallo,
da es für Sarge noch kein PHP5-Paket gibt, habe ich mich entschlossen, es selber für Apache2/MySQL zu kompilieren.
Dafür habe ich folgende Configure-Optionen (von einer anderen Seite) herangezogen:
~/php-5.0.2# ./configure --with-mysql=shared,/usr --prefix=/usr --with-apxs2=/usr/bin/apxs2 --with-regex=php --with-config-file-path=/etc/php5/apache --disable-rpath --enable-memory-limit --with-layout=GNU --with-pear=/usr/share/php --enable-ftp --with-gettext --enable-sockets --with-zlib --with-kerberos=/usr --with-openssl=/usr --with-exec-dir=/usr/lib/php5/libexec --with-dom=shared,/usr --with-zlib-dir=/usr --with-jpeg-dir=shared,/usr --with-xpm-dir=shared,/usr/X11R6 --with-png-dir=shared,/usr --with-xsl --with-gettext --with-ldap
Allerdings bringt mir configue folgenden Fehler:
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS...
Sorry, I cannot run apxs. Possible reasons follow:
1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)
The output of /usr/bin/apxs2 follows:
./configure: line 5083: /usr/bin/apxs2: No such file or directory
configure: error: Aborting
Ich kann apxs2 nirgendwo auf meinem System finden.
Muss ein spezielles Paket dafür installiert sein?
Danke, searinox
da es für Sarge noch kein PHP5-Paket gibt, habe ich mich entschlossen, es selber für Apache2/MySQL zu kompilieren.
Dafür habe ich folgende Configure-Optionen (von einer anderen Seite) herangezogen:
~/php-5.0.2# ./configure --with-mysql=shared,/usr --prefix=/usr --with-apxs2=/usr/bin/apxs2 --with-regex=php --with-config-file-path=/etc/php5/apache --disable-rpath --enable-memory-limit --with-layout=GNU --with-pear=/usr/share/php --enable-ftp --with-gettext --enable-sockets --with-zlib --with-kerberos=/usr --with-openssl=/usr --with-exec-dir=/usr/lib/php5/libexec --with-dom=shared,/usr --with-zlib-dir=/usr --with-jpeg-dir=shared,/usr --with-xpm-dir=shared,/usr/X11R6 --with-png-dir=shared,/usr --with-xsl --with-gettext --with-ldap
Allerdings bringt mir configue folgenden Fehler:
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS...
Sorry, I cannot run apxs. Possible reasons follow:
1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)
The output of /usr/bin/apxs2 follows:
./configure: line 5083: /usr/bin/apxs2: No such file or directory
configure: error: Aborting
Ich kann apxs2 nirgendwo auf meinem System finden.
Muss ein spezielles Paket dafür installiert sein?
Danke, searinox