Portál AbcLinuxu, 12. května 2025 12:44

Dotaz: GD, apache, PHP5

11.10.2009 03:35 Martin Pohrubsky
GD, apache, PHP5
Přečteno: 123×
Odpovědět | Admin
Dobrý den.. mám nasledující problém. Pokud chci zobrazit obrázek pomocí PHP tak se zobrazí, ale jakmile použiji funkci ImageTTFText tak se obrazek nezobrazi. Když sem se podíval do logu apache hlási mi to toto:

[Sun Oct 11 04:29:58 2009] [notice] caught SIGTERM, shutting down [Sun Oct 11 04:29:59 2009] [error] mod_mime_magic: type search/400\t\\\\input\t\ttext/x-tex invalid [Sun Oct 11 04:29:59 2009] [error] mod_mime_magic: type search/400\t\\\\section\ttext/x-tex invalid [Sun Oct 11 04:29:59 2009] [error] mod_mime_magic: type search/400\t\\\\setlength\ttext/x-tex invalid [Sun Oct 11 04:29:59 2009] [error] mod_mime_magic: type search/400\t\\\\documentstyle\ttext/x-tex invalid [Sun Oct 11 04:29:59 2009] [error] mod_mime_magic: type search/400\t\\\\chapter\ttext/x-tex invalid [Sun Oct 11 04:29:59 2009] [error] mod_mime_magic: type search/400\t\\\\documentclass\ttext/x-tex invalid [Sun Oct 11 04:29:59 2009] [error] mod_mime_magic: type regex\t\t[Cc]onstant[[:space:]]+[Ss]tory\ttext/x-inform invalid [Sun Oct 11 04:30:00 2009] [error] mod_mime_magic: type search/400\t\\\\input\t\ttext/x-tex invalid [Sun Oct 11 04:30:00 2009] [error] mod_mime_magic: type search/400\t\\\\section\ttext/x-tex invalid [Sun Oct 11 04:30:00 2009] [error] mod_mime_magic: type search/400\t\\\\setlength\ttext/x-tex invalid [Sun Oct 11 04:30:00 2009] [error] mod_mime_magic: type search/400\t\\\\documentstyle\ttext/x-tex invalid [Sun Oct 11 04:30:00 2009] [error] mod_mime_magic: type search/400\t\\\\chapter\ttext/x-tex invalid [Sun Oct 11 04:30:00 2009] [error] mod_mime_magic: type search/400\t\\\\documentclass\ttext/x-tex invalid [Sun Oct 11 04:30:00 2009] [error] mod_mime_magic: type regex\t\t[Cc]onstant[[:space:]]+[Ss]tory\ttext/x-inform invalid [Sun Oct 11 04:30:00 2009] [notice] Digest: generating secret for digest authentication ... [Sun Oct 11 04:30:00 2009] [notice] Digest: done PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/ps.so' - /usr/lib/php5/20060613+lfs/ps.so: cannot open shared object file: No such file or directory in Unknown on line 0 [Sun Oct 11 04:30:01 2009] [notice] Apache/2.2.9 (Debian) DAV/2 PHP/5.2.6-1+lenny3 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g configured -- resuming normal operations

Může někdo poradit co a jak? Děkuji.
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

11.10.2009 10:14 NN
Rozbalit Rozbalit vše Re: GD, apache, PHP5
Odpovědět | | Sbalit | Link | Blokovat | Admin
Na to prvni je tady patch(bug po updatu mime.magic):

(mod_mime_magic: type search/400\t\\\\documentstyle\ttext/x-tex invalid )

http://osdir.com/ml/debian-bugs-closed/2009-08/txt3os0z256h0.txt

To druhe bych se pokusil rucne dolinkovat..

(/usr/lib/php5/20060613+lfs/ps.so: No such file or directory )

NN

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.