ERLEDIGT
JA
JA
ANTWORTEN
4
4
ZUGRIFFE
724
724
EMPFEHLEN
-
Hallo!
Ich hab ein Problem mit meiner neuen php Installation php 5.2.1:
Configure Befehl:
Code :1
./configure --prefix=/usr --datadir=/usr/share/php5 --mandir=/usr/share/man --bindir=/usr/bin --libdir=/usr/lib --includedir=/usr/include --sysconfdir=/etc/php5/apache2 --with-config-file-path=/etc/php5/apache2 --with-exec-dir=/usr/lib/php5/bin --with-apxs2=/usr/sbin/apxs2 --with-_lib=lib --enable-magic-quotes --enable-libxml --enable-session --with-pcre-regex --enable-xml --enable-simplexml --enable-spl --enable-safe-mode --enable-sigchild --disable-debug --enable-memory-limit --enable-inline-optimization --disable-cli --with-pear=/usr/share/php5/PEAR --enable-bcmath=shared --enable-calendar=shared --enable-ctype=shared --enable-dba=shared --enable-dbase=shared --enable-dbx=shared --enable-dio=shared --enable-dom=shared --enable-exif=shared --enable-filepro=shared --enable-ftp=shared --enable-gd-native-ttf=shared --enable-gd-jis-conv=shared --enable-mbstring=shared --enable-mbregex --enable-pcntl=shared --enable-posix=shared --enable-shmop=shared --enable-soap=shared --enable-sockets=shared --enable-sysvmsg=shared --enable-sysvsem=shared --enable-sysvshm=shared --enable-tokenizer=shared --enable-wddx=shared --enable-yp=shared --with-zlib=shared --with-bz2=shared --with-curl=shared --with-gdbm=shared --with-cdb=shared --with-inifile=shared --with-flatfile=shared --with-fam=shared --with-gd=shared --enable-gd-native-ttf --with-xpm-dir=/usr/X11R6 --with-freetype-dir=yes --with-ttf --with-png-dir=/usr --with-jpeg-dir=/usr --with-zlib-dir=/usr --with-gettext=shared --with-gmp=shared --with-iconv=shared --with-kerberos --with-imap-ssl --with-ldap=shared --with-mcrypt=shared --with-mhash=shared --with-mysql=shared,/usr --with-mysql-sock=/var/lib/mysql/mysql.sock --with-mysqli=shared --enable-embedded-mysqli=shared --with-ncurses=shared --with-unixODBC=shared --with-openssl=shared --with-pgsql=shared --with-readline=shared --with-mm=shared --with-xmlrpc=shared --with-sqlite=shared,/usr --enable-sqlite-utf8 --with-xsl=shared --enable-xmlreader=shared --enable-ucd-snmp-hack=shared
danach
make
make install
Kein Fehler keine Warnung!
Nun wenn ich mir nun die phpinfo anschaue:
http://dev.ciubic.com/phpinfo/
Sind einige Funktionen nicht aktiv:
Wie mysql ftp ......
Ich bin total ratlos!
lg
Julian Nischler
-
Hi
Da du die Module als 'shared' kompilierst, musst du diese noch in der php.ini laden. Sprich wenn du z.B. die mysql Erweiterung willst, musst du sie in der php.ini mit extension=mysql.so laden. Dabei musst du drauf achten das die extension_dir richtig gesetzt ist.
Gruss
ZeroEnnaThere are only 10 types
of people in the world:
Those who understand binary
and those who don't
-
Hi
Danke
Werde ich mir anschauen
lg
Julian
-
Hi
Hatte einen Fehler in dem configure Befehl.
Ich hatte vergessen:
Code :1
--with-config-file-scan-dir=/etc/php5/conf.d
Weil in dem Ordner hab ich die einzelnen INI’s die dann die Module einbauen!
Neue PhpInfo:
http://dev.ciubic.com/phpinfo/
extension_dir = /usr/lib/php5/extensions
Inhalt der geladenen INI zb: /etc/php5/conf.d/mysql.ini
Code :1
extension=mysql
Inhalt Ordner: /usr/lib/php5/extensions:
Code :1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
:/usr/lib/php5/extensions # ll total 3704 drwxr-xr-x 2 root root 4096 2005-04-23 09:26 . drwxr-xr-x 4 root root 33 2006-07-28 11:57 .. -rw-r--r-- 1 root root 29328 2005-03-22 21:20 bcmath -rw-r--r-- 1 root root 12096 2005-03-22 21:20 bz2 -rw-r--r-- 1 root root 22000 2005-03-22 21:20 calendar -rw-r--r-- 1 root root 9524 2005-03-22 21:20 ctype -rw-r--r-- 1 root root 45844 2005-03-22 21:20 curl -rw-r--r-- 1 root root 49068 2005-03-22 21:20 dba -rw-r--r-- 1 root root 27228 2005-03-22 21:20 dbase -rw-r--r-- 1 root root 56412 2005-03-22 21:20 dbx -rw-r--r-- 1 root root 14508 2005-03-22 21:20 dio -rw-r--r-- 1 root root 127060 2005-03-22 21:20 dom -rw-r--r-- 1 root root 47584 2006-06-07 03:10 exif -rw-r--r-- 1 root root 10400 2005-03-22 21:20 fam -rw-r--r-- 1 root root 10824 2005-03-22 21:20 filepro -rw-r--r-- 1 root root 39988 2005-03-22 21:20 ftp -rw-r--r-- 1 root root 314836 2006-06-07 03:10 gd -rw-r--r-- 1 root root 10628 2005-03-22 21:20 gettext -rw-r--r-- 1 root root 28164 2005-03-22 21:20 gmp -rw-r--r-- 1 root root 28916 2005-03-22 21:20 iconv -rw-r--r-- 1 root root 89980 2005-03-22 21:20 imap -rw-r--r-- 1 root root 40244 2005-03-22 21:20 ldap -rw-r--r-- 1 root root 1597748 2006-06-07 03:10 mbstring -rw-r--r-- 1 root root 31760 2005-03-22 21:20 mcrypt -rw-r--r-- 1 root root 7708 2005-03-22 21:20 mhash -rw-r--r-- 1 root root 45132 2005-03-22 21:20 mysql -rw-r--r-- 1 root root 89688 2006-06-07 03:10 mysqli -rw-r--r-- 1 root root 70608 2005-03-22 21:20 ncurses -rw-r--r-- 1 root root 58036 2005-03-22 21:20 odbc -rw-r--r-- 1 root root 69472 2005-03-22 21:20 openssl -rw-r--r-- 1 root root 16484 2005-03-22 21:20 pcntl -rw-r--r-- 1 root root 82700 2005-03-22 21:20 pgsql -rw-r--r-- 1 root root 17356 2005-03-22 21:20 posix -rw-r--r-- 1 root root 11804 2005-03-22 21:20 readline -rw-r--r-- 1 root root 8048 2005-03-22 21:20 shmop -rw-r--r-- 1 root root 23072 2005-03-22 21:20 snmp -rw-r--r-- 1 root root 257508 2005-03-22 21:20 soap -rw-r--r-- 1 root root 36664 2005-03-22 21:20 sockets -rw-r--r-- 1 root root 53488 2005-03-22 21:20 sqlite -rw-r--r-- 1 root root 11220 2006-06-07 03:10 sysvmsg -rw-r--r-- 1 root root 7340 2005-03-22 21:20 sysvsem -rw-r--r-- 1 root root 10324 2006-06-07 03:10 sysvshm -rw-r--r-- 1 root root 14532 2005-03-22 21:20 tokenizer -rw-r--r-- 1 root root 31248 2005-03-22 21:20 wddx -rw-r--r-- 1 root root 78180 2005-03-22 21:20 xmlrpc -rw-r--r-- 1 root root 20672 2005-03-22 21:20 xsl -rw-r--r-- 1 root root 12608 2005-03-22 21:20 yp -rw-r--r-- 1 root root 20864 2005-03-22 21:20 zlib
Nur leider werden die Module immer noch nicht geladen!! siehe phpinfo:
http://dev.ciubic.com/phpinfo/
Komisch ist nur das genau diese „Config“ mit php 5.0 ohne Probleme funktioniert hat!!
lg
aus Salzburg (AT)
Julian Nischler
-
Habs ich hab jetzt die neuen Module von php5.2 verwendet nicht die von php5.0
jetzt geht alles!!
DANKE!
lg
Julian Nischler
Ähnliche Themen
-
Probleme nach XP-Installation
Von Mihawkler im Forum Microsoft WindowsAntworten: 5Letzter Beitrag: 26.05.09, 23:43 -
Probleme bei der Installation der JCL
Von Alex Duschek im Forum Delphi, Kylix, PascalAntworten: 0Letzter Beitrag: 15.04.06, 20:38 -
Probleme bei der Installation von MySQL
Von housefrau im Forum Relationale DatenbanksystemeAntworten: 4Letzter Beitrag: 30.08.05, 12:45 -
Probleme mit der Oracle-Installation
Von sdm im Forum Sonstige SprachenAntworten: 4Letzter Beitrag: 12.12.02, 00:13 -
probleme mit windows-installation
Von ann im Forum Microsoft WindowsAntworten: 15Letzter Beitrag: 22.06.01, 12:26





Zitieren
Login





