WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Linux, UNIX, Open Source (http://www.wcm.at/forum/forumdisplay.php?f=13)
-   -   Probleme mit PHP 4.0.6 (http://www.wcm.at/forum/showthread.php?t=24734)

Philipp 01.07.2001 17:35

Probleme mit PHP 4.0.6
 
PHP 4.0.6 läßt sich bei mir nicht installieren :heul:

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 :confused:

Wo finde ich das Installationsscript das mit "make install" ausgeführt wird?

Sloter 02.07.2001 10:46

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

Sloter

Sloter 02.07.2001 11:02

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.

Philipp 02.07.2001 16:37

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 03.07.2001 16:42

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?


Alle Zeitangaben in WEZ +2. Es ist jetzt 23:03 Uhr.

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