WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Linux, UNIX, Open Source

Linux, UNIX, Open Source Rat & Tat bei Problemen und Fragen rund um GNU/Linux, BSD und sonstige UNIXe

Microsoft KARRIERECAMPUS

Antwort
 
Themen-Optionen Ansicht
Alt 01.07.2001, 17:35   #1
Philipp
verXENt
 
Benutzerbild von Philipp
 
Registriert seit: 01.08.1999
Beiträge: 7.084

Mein Computer

Probleme mit PHP 4.0.6

PHP 4.0.6 läßt sich bei mir nicht installieren

Nachdem ich es mit
./configure --with-mysql --with-apxs --with-zlib (wie schon bei PHP4.0.4pl1 & 4.0.5) konfiguriert habe und dann mit "make" kompiliert habe kommt nach "make install":

................
Making install in regex
make[1]: Entering directory `/usr/local/php-4.0.6/regex'
make[2]: Entering directory `/usr/local/php-4.0.6/regex'
make[2]: Nothing to be done for `install-p'.
make[2]: Leaving directory `/usr/local/php-4.0.6/regex'
make[1]: Leaving directory `/usr/local/php-4.0.6/regex'
Making install in .
make[1]: Entering directory `/usr/local/php-4.0.6'
/usr/local/php-4.0.6/build/shtool mkdir -p "/usr/lib/apache" && apxs -S LIBEXECDIR="/usr/lib/apache" -i -a -n php4 libs/libphp4.so
apxs:Warning: /usr/bin/httpd not found or not executable
apxs:Warning: Continuing anyway...
apxs:Warning: No shared object support for Apache
apxs:Warning: available under your platform. Make sure
apxs:Warning: the Apache module mod_so is compiled into
apxs:Warning: your server binary `/usr/bin/httpd'.
apsx:Warning: Continuing anyway...
apxs:Error: Unknown option: S
Usage: apxs -g -n <modname>
apxs -q <query> ...
apxs -c [-o <dsofile>] [-D <name>[=<value>]] [-I <incdir>]
[-L <libdir>] [-l <libname>] [-Wc,<flags>] [-Wl,<flags>]
<files> ...
apxs -i [-a] [-A] [-n <modname>] <dsofile> ...
make[1]: *** [install-sapi] Error 1
make[1]: Leaving directory `/usr/local/php-4.0.6'
make: *** [install-recursive] Error 1

Eine Möglichkeit die ich mir gedacht habe wäre einen Symbolischen Link von /usr/bin/httpd auf /usr/sbin/httpd zu setzen allerdings hatte jemand anderer auf dem vB Supportforum das gleiche Problem und dort gab es weiterhin den "apxs:Error: Unknown option: S" Fehler.

Hat irgendjemand hier schon PHP 4.0.6 ausprobiert? Langsam kommt mir das merkwürdig vor da Apache bei keiner Installation die ich mir angesehen habe in /usr/bin/httpd ist

Wo finde ich das Installationsscript das mit "make install" ausgeführt wird?
Philipp ist offline   Mit Zitat antworten
Alt 02.07.2001, 10:46   #2
Sloter
Inventar
 
Registriert seit: 05.01.2000
Beiträge: 3.812


Lächeln

Hast du schon einmal PHP mit "apxs" (--with-apxs) probiert zu übersetzen?

Sloter
Sloter ist offline   Mit Zitat antworten
Alt 02.07.2001, 11:02   #3
Sloter
Inventar
 
Registriert seit: 05.01.2000
Beiträge: 3.812


Lächeln

Jetzt habe ich es selber ausprobiert, funzt einwandfrei.

./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd=/usr/local --with-jpeg-dir=/usr/local --with-gettext=/usr --with-config-file-path=/etc/httpd --with-exec-dir=/usr/bin --with-zlib --enable-magic-quotes --with-regex=system --with-ttf=/usr/lib/libttf.so --enable-track-vars --enable-xml --enable-debug --with-interbase=shared --with-pgsql=shared --with-ldap --with-imap --with-mysql --enable-ftp --enable-maintainer-mode --enable-bcmath --enable-url-includes


Sloter

Ps: Nicht wundern über die vielen Optionen, das ist unser Testserver wo wir alles ausprobieren, und auch fast alle Features benötigen.
Sloter ist offline   Mit Zitat antworten
Alt 02.07.2001, 16:37   #4
Philipp
verXENt
 
Benutzerbild von Philipp
 
Registriert seit: 01.08.1999
Beiträge: 7.084

Mein Computer

Standard

Zitat:
Hast du schon einmal PHP mit "apxs" (--with-apxs) probiert zu übersetzen?
Ja, ging Problemlos von PHP 4.0.4pl1 bis 4.0.6RC2 (RC3/RC4 habe ich nicht getestet)

Ich habe in der Zwischenzeit in der PHP Mailingliste nachgesehen. Anscheiend benötigt die Final Version von 4.0.6 eine neuere Version von apxs die den Parameter -S unterstützt.

Wird apxs zusammen mit dem Apache Server übersetzt? Wenn ja, müsste ich irgendwo ein aktuelles Binary haben da ich den Apache 1.3.20 damals nur händisch (src/httpd nach /usr/sbin/httpd kopiert) ohne make install installiert habe.
Philipp ist offline   Mit Zitat antworten
Alt 03.07.2001, 16:42   #5
Philipp
verXENt
 
Benutzerbild von Philipp
 
Registriert seit: 01.08.1999
Beiträge: 7.084

Mein Computer

Standard

apxs wurde anscheiend beim Kompilieren von Apache 1.3.20 mitübersetzt und ist derzeit im /src/support Verzeichnis

Reicht es die alte Version (in /usr/sbin) durch die neue zu ersetzen?
Philipp ist offline   Mit Zitat antworten
Antwort


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 15:55 Uhr.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
© 2009 FSL Verlag