Recompile PHP 5 with soap extension?

Irgendwelche Probleme mit XAMPP für Linux? Dann ist hier genau der richtige Ort um nachzufragen.

Recompile PHP 5 with soap extension?

Postby major » 27. July 2004 20:00

well i tried to recompile php with soap cause i need this.

i used ur config from the phpinfo.

Code: Select all
./configure --prefix=/opt/lampp --with-apxs2=/opt/lampp/bin/apxs --with-config-file-path=/opt/lampp/etc --with-mysql=/opt/lampp --disable-debug --enable-soap --enable-bcmath --enable-calendar --enable-ctype --enable-dbase --enable-discard-path --enable-exif --enable-filepro --enable-force-cgi-redirect --enable-ftp --enable-gd-imgstrttf --enable-gd-native-ttf --with-ttf --enable-magic-quotes --enable-memory-limit --enable-safe-mode --enable-shmop --enable-sigchild --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-trans-sid --enable-versioning --enable-wddx --enable-yp --with-ftp --with-gdbm=/opt/lampp --with-jpeg-dir=/opt/lampp --with-png-dir=/opt/lampp --with-freetype-dir=/opt/lampp --without-xpm --with-zlib=yes --with-zlib-dir=/opt/lampp --with-openssl=/opt/lampp --with-expat-dir=/opt/lampp --enable-xslt --with-xslt-sablot=/opt/lampp -with-ming=/opt/lampp --with-dom=/opt/lampp --with-ldap=/opt/lampp --with-ncurses=/opt/lampp --with-gd --with-imap-dir=/opt/lampp --with-imap-ssl --with-imap=/opt/lampp --with-gettext=/opt/lampp --with-mssql=/opt/lampp --with-interbase=/opt/interbase --with-mysql-sock=/opt/lampp/var/mysql/mysql.sock --with-oci8=shared --with-mcrypt=/opt/lampp --with-mhash=/opt/lampp --enable-sockets --enable-mbstring=all --with-curl=/opt/lampp --enable-mbregex --enable-zend-multibyte --with-zip=/opt/lampp --enable-exif --with-bz2=/opt/lampp --with-sqlite=shared


u recognized the --enable-soap

after installing flex the config gave me this error!

Code: Select all
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... exit 0;
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for mawk... no
checking for gawk... gawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP parsers.
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for working const... yes
checking flex version... 2.5.4 (ok)
checking for pthreads_cflags... -pthread
checking for pthreads_lib...

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for member fd in BUFF *... no
checking for mod_charset compatibility option... no
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 /opt/lampp/bin/apxs follows:
cannot open /opt/lampp/build/config_vars.mk: No such file or directory at /opt/lampp/bin/apxs line 217.
configure: error: Aborting


i got stack!

can u help me out?
major
 
Posts: 3
Joined: 27. July 2004 19:09

Postby Oswald » 27. July 2004 23:21

Dear Major!

To compile PHP for XAMPP you'll need the "XAMPP development package". You can donwload from the same place where you get the normal XAMPP package.

Greetings and good luck
Oswald
User avatar
Oswald
Apache Friends
 
Posts: 2718
Joined: 26. December 2002 19:51
Location: Berlin, Germany
Operating System: Linux

Postby major » 27. July 2004 23:58

wooohho thx 4 that fast reply.

yo thx guy! all went fine soap is ready to run and apache is running like hell,

yeah thats the way it should be.


thx aaaaaa lot
major
 
Posts: 3
Joined: 27. July 2004 19:09

Postby canonball » 15. February 2007 20:38

hallo habe probleme php neu zu kompilieren, ehrlich gesagt ich weiss nicht wo und wie. erstmal zu wie und was :

ich habe ffmpeg installiert und ffmpeg-php, jetzt muss ich noch PHP ansich neu kompilieren mit dem zusatz --with-ffmpeg=yes

aber wo und wie ?

ich hatte versucht im ordner /opt/lampp/lib/php ./configure auszuführen, aber das findet er nicht und das ganze aus meiner phpinfo rauskopiert und mit den ffmpeg anhang geht auch nicht (war eigentlich auch schon klar :D )

wie und wo(in welchen ordner) muss ich php neu kompilieren.

devel paket ist schon installiert
canonball
 
Posts: 33
Joined: 17. June 2006 10:00


Return to XAMPP für Linux

Who is online

Users browsing this forum: No registered users and 7 guests