• This forum has a zero tolerance policy regarding spam. If you register here to publish advertising, your user account will be deleted without further questions.

Brauche Hilfe bei Installation von Php5

Trizas

Registered User
ich habe einen vServer bei Evanzo, dort ist jedoch nur php4 installiert, ich brauche aber php5! Wollte hier mal fragen, ob jemand mal Zeit hätte mir das per icq, etc. zu erklären, ich kann einiges bereits selbst, jedoch keine Php-Installation. Am besten wäre es dann, wenn man leicht zwischen Php4 und Php5 wechseln könnte in der Anfangszeit.
 
Read This: Howto install PHP5 von Server4Downs:

Da steht glaube ich alles nötige drin.
 
->
checking host system type... i386-suse-linux-gnu
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

ahja?
 
und wie installier ich den auf nem vServer nur über SSH, brauch ich da nich auch wieder nen Compiler:)
 
Trizas said:
und wie installier ich den auf nem vServer nur über SSH, brauch ich da nich auch wieder nen Compiler:)
Nö, gibt ja fertige Pakete.
Welche Distribution nutzt du?
Debian? -> apt-get install gcc, evtl. brauchst du noch weitere Pakete.
SuSE, Redhat, Fedora oä.? -> Such entspr. rpm's und installier sie per rpm -i paket.rpm
Gentoo hast du wohl kaum, denn das kriegst du ohne Compiler wohl garnicht zum laufen.
 
i686 SUse linux! Ehm ich hab mal gemacht, kam aber keine Rückmeldung, hab dann nochmal versucht php zu installieren, kam aber immernoch dieselbe Fehlermeldung -.-


was heißt -> glibc-devel is needed by ... <- ?
kommt neuerdings wenn ich gcc installieren will.
 
Last edited by a moderator:
Trizas said:
i686 SUse linux! Ehm ich hab mal gemacht, kam aber keine Rückmeldung, hab dann nochmal versucht php zu installieren, kam aber immernoch dieselbe Fehlermeldung -.-


was heißt -> glibc-devel is needed by ... <- ?
kommt neuerdings wenn ich gcc installieren will.

Du brauchst die Library glibc-devel damit das Paket gcc installiert werden kann (dependencies...)
 
vz6056:/ # rpm -ivh gcc-3.3.1-2suse82.i686.rpm
Preparing... ########################################### [100%]
1:gcc ########################################### [100%]
vz6056:/ # cd php-5.0.4

vz6056:/php-5.0.4 # ./configure --prefix=/usr/share --datadir=/usr/share/php --bindir=/usr/bin --libdir=/usr/share --includedir=/usr/include --with-_lib=lib --with-config-file-path=/etc --with-exec-dir=/usr/lib/php/bin --disable-debug --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 --enable-inline-optimization --enable-magic-quotes --enable-mbstr-enc-trans --enable-mbstring --enable-mbregex --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-bz2 --with-dom=/usr/include/libxml2 --with-ftp --with-gdbm --with-gettext --with-gmp --with-imap=yes --with-iodbc --with-jpeg-dir=/usr --with-ldap=yes --with-mcal=/usr --with-mcrypt --with-mysql=shared --with-mysql-sock=/var/lib/mysql/mysql.sock --with-ndbm --with-pgsql=shared --with-png-dir=/usr --with-readline --with-snmp --with-t1lib --with-tiff-dir=/usr --with-ttf --with-freetype-dir=yes --with-xml --with-xpm-dir=/usr/X11R6 --with-zlib=yes --with-gd --with-openssl --with-curl --with-imap-ssl --enable-xslt --with-xslt-sablot --with-iconv --with-apxs2=/usr/sbin/apxs2-prefork i686-suse-linux
loading cache ./config.cache
checking host system type... i686-suse-linux-gnu
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH


hmm was muss ich noch machen damit gcc läuft?
 
Last edited by a moderator:
Also ist wollte devel installieren:
rpm -ivh glibc-devel-2.3.4-23.4.i686.rpm
error: failed dependencies:
glibc = 2.3.4 is needed by glibc-devel-2.3.4-23.4
vz6056:/ #


...daher wollte ich glibc 2.3.4 installieren:

->
file /etc/ld.so.conf from install of glibc-2.3.4-23.4 conflicts with file from package aaa_base-2003.3.18-2
file /etc/nsswitch.conf from install of glibc-2.3.4-23.4 conflicts with file from package aaa_base-2003.3.18-2
file /lib/ld-linux.so.2 from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/libBrokenLocale.so.1 from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/libNoVersion.so.1 from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/libSegFault.so from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/libanl.so.1 from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/libc.so.6 from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/libcrypt.so.1 from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/libdl.so.2 from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/libm.so.6 from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/libmemusage.so from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/libnsl.so.1 from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/libnss_compat.so.2 from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/libnss_dns.so.2 from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/libnss_files.so.2 from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/libnss_hesiod.so.2 from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/libnss_nis.so.2 from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/libnss_nisplus.so.2 from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/libpcprofile.so from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/libpthread.so.0 from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/libresolv.so.2 from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/librt.so.1 from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/libthread_db.so.1 from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /lib/libutil.so.1 from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /sbin/ldconfig from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /usr/bin/gencat from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /usr/bin/getconf from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /usr/bin/getent from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /usr/bin/iconv from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /usr/bin/ldd from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /usr/bin/lddlibc4 from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /usr/bin/locale from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /usr/bin/localedef from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /usr/lib/pt_chown from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /usr/sbin/iconvconfig from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /usr/sbin/rpcinfo from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /usr/share/man/man1/getconf.1.gz from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /usr/share/man/man1/getent.1.gz from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /usr/share/man/man1/iconv.1.gz from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /usr/share/man/man1/locale.1.gz from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /usr/share/man/man1/localedef.1.gz from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /usr/share/man/man5/locale.alias.5.gz from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6
file /usr/share/man/man8/rpcinfo.8.gz from install of glibc-2.3.4-23.4 conflicts with file from package glibc-2.3.2-6


Wie krieg ich das hin?
Hat nicht doch jemand mal ne Stunde Zeit und chattet mit mir während ich das direkt mache:)?
 
Ich hab dasselbe Problem.

Ich will auch mein PHP4 auf 5 updaten und weiss nicht wie

Will ich PHP installieren meckert er das er kein c++ Compiler hat. will ich den installieren meckert er das er keinen C Compiler hat.
Ich bins auch langsam leid weil ich auch kein SOOOOO riesen Profi in Linux bin aber man sich andere Server ja nich leisten kann. Und Yast funktioniert bei Evanzo eh nicht weil man kein Laufwerk mounten kann.

Irgendwie muss man doch da PHP5 draufbekommen
 
Definiere bitte "zeigt mir nix an", danke. Ohne exakte Fehlermeldung und/oder Fehlerbeschreibung kann man kaum bis gar nicht helfen. Welche OpenSUSE-Version und welcher Patchlevel? Was hast Du wie genau gemacht?
 
Back
Top