PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : gd-php extension



planet_fox
25.03.05, 23:59
wo kann ich gd-php extension aktiviren ???

Thallez
26.03.05, 00:02
Bei google der erste link ganz oben such einfach nach

gd-php extension aktivieren

aber dennoch gern geschehen

ps: unter linux heisst das auch php.ini natürlich musst du diese extension auch installiert haben

Tomek
26.03.05, 09:18
Es wäre ganz toll, wenn du uns noch verraten würdest welche Distribution und Version du einsetzt.

Lies auch bitte, wie man hier richtig postet (http://www.linuxforen.de/forums/showthread.php?t=164474).

planet_fox
30.03.05, 13:37
fedora core 3

konnte leider bei google nicht findig werden.

see here (http://www.google.de/search?hl=de&q=gd-php+extension+aktivieren&btnG=Google-Suche&meta=lr%3Dlang_de)

ist laut yum installiert

Tomek
30.03.05, 13:40
yum install php-gd
echo "extension=gd.so" >> /etc/php.ini
/etc/init.d/httpd restart

planet_fox
30.03.05, 21:19
Habe deine Anweisungen befolgt aber nichts hat sich geändert

aus meiner php.ini
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
; extension=iconv.so
; extension=gd.so
;
; For example:
;
; extension=msql.so
;
meine logs

PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/iconv.so' - /usr/lib/php4/iconv.so: cannot open shared object file: No such file or $
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/gd.so' - /usr/lib/php4/gd.so: cannot open shared object file: No such file or direct$
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/msql.so' - /usr/lib/php4/msql.so: cannot open shared object file: No such file or di$


hab mir mal das verzeichnis angesehen dort existieren nur *mysql.so und *ldap.so

Tomek
30.03.05, 21:47
Was sagt denn:

rpm -qa|grep php
Damit die Extension aktiv ist, musst du:

; extension=gd.so
ersetzen mit:

extension=gd.so
Danach natürlich Apache neu starten.

planet_fox
30.03.05, 23:01
So jetzt gehts

root@xxxxxxxxx fox]# yum search php-gd
Searching Packages:
Setting up Repos
base 100% |=========================| 1.1 kB 00:00
updates-released 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
base : ################################################## 2622/2622
updates-re: ################################################## 772/772


php-gd.i386 4.3.9-3 base
Matched from:
php-gd


php-gd.i386 4.3.10-3.2 updates-released
Matched from:
php-gd
[root@xxxxxx fox]# yum install php-gd.i386
Setting up Install Process
Setting up Repos
base 100% |=========================| 1.1 kB 00:00
updates-released 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
base : ################################################## 2622/2622
primary.xml.gz 100% |=========================| 309 kB 00:02
MD Read : ################################################## 757/757
updates-re: ################################################## 757/757
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php-gd.i386 0:4.3.10-3.2 set to be updated
--> Running transaction check

Dependencies Resolved
Transaction Listing:
Install: php-gd.i386 0:4.3.10-3.2 - updates-released
Total download size: 94 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): php-gd-4.3.10-3.2. 100% |=========================| 94 kB 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: php-gd 100 % done 1/1

Installed: php-gd.i386 0:4.3.10-3.2
Complete!

Habe den install server getauscht und update server auf http://tu-chemnitz

fs111
31.03.05, 00:14
yum install php-gd
echo "extension=gd.so" >> /etc/php.ini
/etc/init.d/httpd restart


Für Erweiterungen ist /etc/php.d/ da, das ist sauberer als immer die /etc/php.ini anzupassen.

fs111

Tomek
31.03.05, 01:29
Für Erweiterungen ist /etc/php.d/ da, das ist sauberer als immer die /etc/php.ini anzupassen.

fs111
Damit meinst du Fedora Linux? Bei Debian z.B. ist das wiederrum anders.