ImageMagick problem on SUSE 11.0/64

Trouble during PacsOne Server installations
Post Reply
werda
Posts:6
Joined:Wed Nov 19, 2008 8:02 am
ImageMagick problem on SUSE 11.0/64

Post by werda » Wed Nov 19, 2008 8:34 am

I have difficulties getting pacsone 6.1.2 premium to work on SUSE Linux 11.0 64 bit.
Apache, mysql, php seem to be ok but imagemagick is not as I can't see the anti-spam code. Before installing pacsone I had deinstalled the imagemagick distribution version.

Here is what I have:


from /var/log/apache2/error_log:

[Tue Nov 18 16:57:10 2008] [notice] Apache/2.2.8 (Linux/SUSE) PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
[Tue Nov 18 16:57:56 2008] [error] [client 127.0.0.1] PHP Fatal error: imagick_readimage(): after ReadImage(), image is empty in /opt/pacsone/php/login.php on line 62


from find / -name *agick*:
/opt/pacsone/ImageMagick
/opt/pacsone/ImageMagick/ImageMagick-5.5.6-Q16
/opt/pacsone/ImageMagick/php5.1/imagick.so
/opt/pacsone/ImageMagick/.libs/libMagick.lai
/opt/pacsone/ImageMagick/.libs/libMagick-5.5.6-Q16.so.0.0.0
/opt/pacsone/ImageMagick/.libs/libMagick.la
/opt/pacsone/ImageMagick/php5.2/imagick.so
/opt/pacsone/ImageMagick/libMagick.la
/usr/local/lib/ImageMagick-5.5.6-Q16
/usr/local/lib/libMagick-5.5.6-Q16.so.0
/usr/local/lib/libMagick.so
/usr/local/lib/libMagick-5.5.6-Q16.so.0.0.0
/usr/local/lib/libMagick.la
/usr/share/zsh/4.3.6/functions/_imagemagick
/usr/share/susehelp/meta/Manuals/Productivity/ImageMagick.desktop
/usr/share/doc/packages/libwmf/html/magick_2bmp_8h.html
/usr/share/doc/packages/libwmf/html/magick_2device_8h.html
/usr/share/doc/packages/libwmf/html/struct__wmf__magick__t_1_1__wmf__magick__image.html
/usr/share/doc/packages/libwmf/html/struct__wmf__magick__t.html
/usr/share/doc/packages/libwmf/html/magick_8h.html
/usr/share/doc/packages/libwmf/html/magick_8c.html
/usr/share/doc/packages/libwmf/html/ipa_2magick_2region_8h.html
/usr/share/doc/packages/libwmf/html/magick_2draw_8h.html
/usr/lib64/php5/extensions/imagick.so
/etc/php5/conf.d/imagick.ini


from ldd /usr/lib64/php5/extensions/imagick.so:
linux-vdso.so.1 => (0x00007fffb9bfe000)
libMagick-5.5.6-Q16.so.0 => /usr/local/lib/libMagick-5.5.6-Q16.so.0 (0x00007f3bb171d000)
libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f3bb14f2000)
libm.so.6 => /lib64/libm.so.6 (0x00007f3bb129c000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f3bb101a000)
libc.so.6 => /lib64/libc.so.6 (0x00007f3bb0cc0000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f3bb0aae000)
libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007f3bb08a5000)
libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007f3bb0687000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f3bb034a000)
libz.so.1 => /lib64/libz.so.1 (0x00007f3bb0134000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f3baff17000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f3bafd13000)
/lib64/ld-linux-x86-64.so.2 (0x00007f3bb1b89000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f3bafb10000)
libxcb-xlib.so.0 => /usr/lib64/libxcb-xlib.so.0 (0x00007f3baf90d000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f3baf6f1000)


from http://localhost/pacsone/Hello.php:

System Linux oz 2.6.25.18-0.2-default #1 SMP 2008-10-21 16:30:26 +0200 x86_64
Build Date Aug 20 2008 18:18:52
Configure Command '../configure' '--prefix=/usr' '--datadir=/usr/share/php5' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--with-libdir=lib64' '--includedir=/usr/include' '--sysconfdir=/etc/php5/apache2' '--with-config-file-path=/etc/php5/apache2' '--with-config-file-scan-dir=/etc/php5/conf.d' '--enable-libxml' '--enable-session' '--with-mm' '--with-pcre-regex=/usr' '--enable-xml' '--enable-simplexml' '--enable-spl' '--enable-filter' '--disable-debug' '--enable-inline-optimization' '--disable-rpath' '--disable-static' '--enable-shared' '--program-suffix=5' '--with-pic' '--with-gnu-ld' '--with-system-tzdata=/usr/share/zoneinfo' '--with-apxs2=/usr/sbin/apxs2' '--disable-all' '--disable-cli'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php5/apache2
Loaded Configuration File /etc/php5/apache2/php.ini
Scan this dir for additional .ini files /etc/php5/conf.d
additional .ini files parsed /etc/php5/conf.d/bz2.ini, /etc/php5/conf.d/ctype.ini, /etc/php5/conf.d/dom.ini, /etc/php5/conf.d/gd.ini, /etc/php5/conf.d/hash.ini, /etc/php5/conf.d/iconv.ini, /etc/php5/conf.d/imagick.ini, /etc/php5/conf.d/json.ini, /etc/php5/conf.d/mbstring.ini, /etc/php5/conf.d/mcrypt.ini, /etc/php5/conf.d/mysql.ini, /etc/php5/conf.d/mysqli.ini, /etc/php5/conf.d/pdo.ini, /etc/php5/conf.d/pdo_mysql.ini, /etc/php5/conf.d/pdo_sqlite.ini, /etc/php5/conf.d/sqlite.ini, /etc/php5/conf.d/tokenizer.ini, /etc/php5/conf.d/xmlreader.ini, /etc/php5/conf.d/xmlwriter.ini, /etc/php5/conf.d/zlib.ini
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, data, http, ftp, compress.bzip2, compress.zlib
Registered Stream Socket Transports tcp, udp, unix, udg
Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, bzip2.*, convert.iconv.*, zlib.*

Suhosin logo This server is protected with the Suhosin Patch 0.9.6.2
Copyright (c) 2006 Hardened-PHP Project

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

PHP Credits
Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference Off Off
allow_url_fopen On On
allow_url_include Off Off
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors Off Off
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl Off Off
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 6143 6143
expose_php On On
extension_dir /usr/lib64/php5/extensions /usr/lib64/php5/extensions
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors Off Off
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/share/php5:/usr/share/php5/PEAR .:/usr/share/php5:/usr/share/php5/PEAR
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 30 30
max_input_nesting_level 64 64
max_input_time 60 60
memory_limit 128M 128M
open_basedir no value no value
output_buffering 4096 4096
output_handler no value no value
post_max_size 8M 8M
precision 14 14
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv Off Off
register_globals Off Off
register_long_arrays Off Off
report_memleaks On On
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag Off Off
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
suhosin.log.phpscript 0 0
suhosin.log.phpscript.is_safe Off Off
suhosin.log.phpscript.name no value no value
suhosin.log.sapi no value no value
suhosin.log.script no value no value
suhosin.log.script.name no value no value
suhosin.log.syslog no value no value
suhosin.log.syslog.facility no value no value
suhosin.log.syslog.priority no value no value
suhosin.log.use-x-forwarded-for Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 2M 2M
upload_tmp_dir /tmp /tmp
user_dir no value no value
variables_order GPCS GPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off

apache2handler
Apache Version Apache/2.2.8 (Linux/SUSE)
Apache API Version 20051115
Server Administrator [no address given]
Hostname:Port oz.phoenix:0
User/Group wwwrun(30)/8
Max Requests Per Child: 10000 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 15
Virtual Server No
Server Root /srv/www
Loaded Modules core prefork http_core mod_so mod_authz_host mod_actions mod_alias mod_auth_basic mod_authz_groupfile mod_authn_file mod_authz_user mod_autoindex mod_cgi mod_dir mod_include mod_log_config mod_mime mod_negotiation mod_setenvif mod_status mod_userdir mod_asis mod_imagemap mod_info mod_php5 mod_authz_default

Directive Local Value Master Value
engine 1 1
last_modified 0 0
xbithack 0 0

Apache Environment
Variable Value
HTTP_HOST localhost
HTTP_USER_AGENT Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.0.3) Gecko/2008091700 SUSE/3.0.3-1.1 Firefox/3.0.3
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE en-gb,en;q=0.5
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_KEEP_ALIVE 300
HTTP_CONNECTION keep-alive
HTTP_COOKIE PHPSESSID=fie4hc1po929jd1e68l6hj4oajo0n8fv
PATH /sbin:/usr/sbin:/sbin:/usr/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/kde3/bin:/home/phoenix/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin
SERVER_SIGNATURE <address>Apache/2.2.8 (Linux/SUSE) Server at localhost Port 80</address>
SERVER_SOFTWARE Apache/2.2.8 (Linux/SUSE)
SERVER_NAME localhost
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 127.0.0.1
DOCUMENT_ROOT /srv/www/htdocs
SERVER_ADMIN [no address given]
SCRIPT_FILENAME /opt/pacsone/php/Hello.php
REMOTE_PORT 3680
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /pacsone/Hello.php
SCRIPT_NAME /pacsone/Hello.php

HTTP Headers Information
HTTP Request Headers
HTTP Request GET /pacsone/Hello.php HTTP/1.1
Host localhost
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.0.3) Gecko/2008091700 SUSE/3.0.3-1.1 Firefox/3.0.3
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-gb,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 300
Connection keep-alive
Cookie PHPSESSID=fie4hc1po929jd1e68l6hj4oajo0n8fv
HTTP Response Headers
X-Powered-By PHP/5.2.6
Expires Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma no-cache
Keep-Alive timeout=15, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html

bz2
BZip2 Support Enabled
Stream Wrapper support compress.bz2://
Stream Filter support bzip2.decompress, bzip2.compress
BZip2 Version 1.0.5, 10-Dec-2007

ctype
ctype functions enabled

date
date/time support enabled
"Olson" Timezone Database Version 0.system
Timezone Database internal
Default timezone Asia/Hong_Kong

Directive Local Value Master Value
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith 90.583333 90.583333
date.timezone no value no value

dom
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.32
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled

filter
Input Validation and Filtering enabled
Revision $Revision: 1.52.2.42 $

Directive Local Value Master Value
filter.default unsafe_raw unsafe_raw
filter.default_flags no value no value

gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.5
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XPM Support enabled
XBM Support enabled

hash
hash support enabled
Hashing Engines md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5

iconv
iconv support enabled
iconv implementation glibc
iconv library version 2.8

Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1

imagick
ImageMagick support enabled
Magick Backend ImageMagick
ImageMagick version 5.5.6
PHP imagick version 0.9.11
MaxRGB 65535
Supported image formats IMPLICIT
Font Family - Name AvantGarde - AvantGarde-Book
Font Family - Name AvantGarde - AvantGarde-BookOblique
Font Family - Name AvantGarde - AvantGarde-Demi
Font Family - Name AvantGarde - AvantGarde-DemiOblique
Font Family - Name Bookman - Bookman-Demi
Font Family - Name Bookman - Bookman-DemiItalic
Font Family - Name Bookman - Bookman-Light
Font Family - Name Bookman - Bookman-LightItalic
Font Family - Name Courier - Courier
Font Family - Name Courier - Courier-Bold
Font Family - Name Courier - Courier-Oblique
Font Family - Name Courier - Courier-BoldOblique
Font Family - Name Helvetica - Helvetica
Font Family - Name Helvetica - Helvetica-Bold
Font Family - Name Helvetica - Helvetica-Oblique
Font Family - Name Helvetica - Helvetica-BoldOblique
Font Family - Name Helvetica Narrow - Helvetica-Narrow
Font Family - Name Helvetica Narrow - Helvetica-Narrow-Oblique
Font Family - Name Helvetica Narrow - Helvetica-Narrow-Bold
Font Family - Name Helvetica Narrow - Helvetica-Narrow-BoldOblique
Font Family - Name NewCenturySchlbk - NewCenturySchlbk-Roman
Font Family - Name NewCenturySchlbk - NewCenturySchlbk-Italic
Font Family - Name NewCenturySchlbk - NewCenturySchlbk-Bold
Font Family - Name NewCenturySchlbk - NewCenturySchlbk-BoldItalic
Font Family - Name Palatino - Palatino-Roman
Font Family - Name Palatino - Palatino-Italic
Font Family - Name Palatino - Palatino-Bold
Font Family - Name Palatino - Palatino-BoldItalic
Font Family - Name Times - Times-Roman
Font Family - Name Times - Times-Bold
Font Family - Name Times - Times-Italic
Font Family - Name Times - Times-BoldItalic
Font Family - Name Symbol - Symbol

json
json support enabled
json version 1.2.1

libxml
libXML support active
libXML Version 2.6.32
libXML streams enabled

mbstring
Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 4.4.4
Multibyte regex (oniguruma) backtrack check On

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding ISO-8859-1 no value
mbstring.language neutral neutral
mbstring.strict_detection Off Off
mbstring.substitute_character no value no value

mcrypt
mcrypt support enabled
Version 2.5.8
Api No 20021217
Supported ciphers idea mars rc6 skipjack cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes cbc cfb ctr ecb ncfb nofb ofb stream

Directive Local Value Master Value
mcrypt.algorithms_dir no value no value
mcrypt.modes_dir no value no value

mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.51a
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib64 -lmysqlclient

Directive Local Value Master Value
mysql.allow_persistent Off Off
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off

mysqli
MysqlI Support enabled
Client API library version 5.0.51a
Client API header version 5.0.51a
MYSQLI_SOCKET /var/lib/mysql/mysql.sock

Directive Local Value Master Value
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket no value no value
mysqli.default_user no value no value
mysqli.max_links Unlimited Unlimited
mysqli.reconnect Off Off

pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 7.6 2008-01-28

Directive Local Value Master Value
pcre.backtrack_limit 100000 100000
pcre.recursion_limit 100000 100000

PDO
PDO support enabled
PDO drivers mysql, sqlite, sqlite2

pdo_mysql
PDO Driver for MySQL, client library version 5.0.51a

pdo_sqlite
PDO Driver for SQLite 3.x enabled
PECL Module version 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6.2.3 2007/12/31 07:20:10 sebastian Exp $
SQLite Library 3.5.7

Reflection
Reflection enabled
Version $Id: php_reflection.c,v 1.164.2.33.2.50 2008/03/13 15:56:21 iliaa Exp $

session
Session Support enabled
Registered save handlers files user mm sqlite
Registered serializer handlers php php_binary

Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 Off Off
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly On On
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file /dev/urandom /dev/urandom
session.entropy_length 16 16
session.gc_divisor 1000 1000
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 5 5
session.hash_function 1 1
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /var/lib/php5 /var/lib/php5
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies On On
session.use_trans_sid 0 0

SimpleXML
Simplexml support enabled
Revision $Revision: 1.151.2.22.2.39 $
Schema support enabled

SPL
SPL support enabled
Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException

SQLite
SQLite support enabled
PECL Module version 2.0-dev $Id: sqlite.c,v 1.166.2.13.2.10 2007/12/31 07:20:11 sebastian Exp $
SQLite Library 2.8.17
SQLite Encoding UTF-8

Directive Local Value Master Value
sqlite.assoc_case 0 0

standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i

Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars GCONV_PATH,GETCONF_DIR,HOSTALIASES,LD_AUDIT,LD_DEBUG,LD_DEBUG_OUTPUT,LD_DYNAMIC_WEAK,LD_LIBRARY_PATH,LD_ORIGIN_PATH,LD_PRELOAD,LD_PROFILE,LD_SHOW_AUXV,LD_USE_LOAD_BIAS,LOCALDOMAIN,LOCPATH,MALLOC_TRACE,NLSPATH,RESOLV_HOST_CONF,RES_OPTIONS,TMPDIR,TZDIR GCONV_PATH,GETCONF_DIR,HOSTALIASES,LD_AUDIT,LD_DEBUG,LD_DEBUG_OUTPUT,LD_DYNAMIC_WEAK,LD_LIBRARY_PATH,LD_ORIGIN_PATH,LD_PRELOAD,LD_PROFILE,LD_SHOW_AUXV,LD_USE_LOAD_BIAS,LOCALDOMAIN,LOCPATH,MALLOC_TRACE,NLSPATH,RESOLV_HOST_CONF,RES_OPTIONS,TMPDIR,TZDIR
url_rewriter.tags a=href,area=href,frame=src,input=src,form=fakeentry a=href,area=href,frame=src,input=src,form=fakeentry
user_agent no value no value

tokenizer
Tokenizer Support enabled

xml
XML Support active
XML Namespace Support active
libxml2 Version 2.6.32

xmlreader
XMLReader enabled

xmlwriter
XMLWriter enabled

zlib
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3

Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value

Additional Modules
Module Name

Environment
Variable Value
LESSKEY /etc/lesskey.bin
INFODIR /usr/local/info:/usr/share/info:/usr/info
MANPATH /usr/local/man:/usr/share/man
NNTPSERVER news
KDE_MULTIHEAD false
HOSTNAME oz
DM_CONTROL /var/run/xdmctl
QT_FAST_MALLOC 0
XKEYSYMDB /usr/share/X11/XKeysymDB
DESKTOP_STARTUP_ID no value
HOST oz
SHELL /bin/bash
TERM dumb
PROFILEREAD true
HISTSIZE 1000
XDM_MANAGED /var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classic,auto
XDG_SESSION_COOKIE efa6c70847e262b3cc353352484e725c-1227018004.625922-602838958
KDESU_USER phoenix
GTK2_RC_FILES /etc/gtk-2.0/gtkrc:/usr/share/themes//QtCurve/gtk-2.0/gtkrc:/home/phoenix/.gtkrc-2.0-qtengine:/home/phoenix/.gtkrc-2.0:/home/phoenix/.kde/share/config/gtkrc-2.0
KDE_NO_IPV6 1
GTK_RC_FILES /etc/gtk/gtkrc:/home/phoenix/.gtkrc:/home/phoenix/.kde/share/config/gtkrc
GS_LIB /home/phoenix/.fonts
QT_HOME_DIR /home/phoenix/.qt/
MORE -sl
get_module_list_done true
XSESSION_IS_UP yes
LC_ALL POSIX
GROFF_NO_SGR yes
USER phoenix
LS_COLORS no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.wmv=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:
DESKTOP_LAUNCH kde-open
XNLSPATH /usr/share/X11/nls
ENV /etc/bash.bashrc
HOSTTYPE x86_64
module runlevel
SESSION_MANAGER local/oz:@/tmp/.ICE-unix/3212,unix/oz:/tmp/.ICE-unix/3212
FROM_HEADER netfront.net
COLUMNS 80
PAGER less
CSHEDIT emacs
get_includes_done true
XDG_CONFIG_DIRS /etc/xdg
MINICOM -c on
MAIL /var/spool/mail/phoenix
PATH /sbin:/usr/sbin:/sbin:/usr/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/kde3/bin:/home/phoenix/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin
DESKTOP_SESSION default
CPU x86_64
QT_NO_GLIB 1
KDM_AUTOLOGIN phoenix
INPUTRC /home/phoenix/.inputrc
PWD /home/phoenix
XMODIFIERS @im=local
LANG en_GB.UTF-8
KDE_SESSION_UID 1000
PYTHONSTARTUP /etc/pythonstart
LINES 24
KDE_MALLOC 0
TEXINPUTS :/home/phoenix/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX
QT_SYSTEM_DIR /usr/share/desktop-data
HOME /var/lib/apache2
SHLVL 8
LESS_ADVANCED_PREPROCESSOR no
OSTYPE linux
LANGUAGE en_GB.UTF-8
LS_OPTIONS -N --color=tty -T 0
XCURSOR_THEME DMZ
WINDOWMANAGER /usr/bin/startkde3
G_FILENAME_ENCODING @locale,UTF-8,ISO-8859-15,CP1252
LESS -M -I
MACHTYPE x86_64-suse-linux
LOGNAME phoenix
XDG_DATA_DIRS /usr/share:/etc/opt/kde3/share:/opt/kde3/share
LESSOPEN lessopen.sh %s
USE_FAM no value
INFOPATH /usr/local/info:/usr/share/info:/usr/info
DISPLAY :0.0
XAUTHLOCALHOSTNAME oz
LESSCLOSE lessclose.sh %s %s
G_BROKEN_FILENAMES 1
YAST_IS_RUNNING yes
XAUTHORITY /tmp/xauth.XXXXdHTdZN
COLORTERM 1
mc () { . /usr/share/mc/bin/mc-wrapper.sh }
_ /sbin/startproc
PREVLEVEL N
RUNLEVEL 5
DAEMON /usr/sbin/httpd2-prefork

PHP Variables
Variable Value
_REQUEST["PHPSESSID"] fie4hc1po929jd1e68l6hj4oajo0n8fv
_COOKIE["PHPSESSID"] fie4hc1po929jd1e68l6hj4oajo0n8fv
_SERVER["HTTP_HOST"] localhost
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.0.3) Gecko/2008091700 SUSE/3.0.3-1.1 Firefox/3.0.3
_SERVER["HTTP_ACCEPT"] text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-gb,en;q=0.5
_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_KEEP_ALIVE"] 300
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["HTTP_COOKIE"] PHPSESSID=fie4hc1po929jd1e68l6hj4oajo0n8fv
_SERVER["PATH"] /sbin:/usr/sbin:/sbin:/usr/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/kde3/bin:/home/phoenix/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin
_SERVER["SERVER_SIGNATURE"] <address>Apache/2.2.8 (Linux/SUSE) Server at localhost Port 80</address>
_SERVER["SERVER_SOFTWARE"] Apache/2.2.8 (Linux/SUSE)
_SERVER["SERVER_NAME"] localhost
_SERVER["SERVER_ADDR"] 127.0.0.1
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] 127.0.0.1
_SERVER["DOCUMENT_ROOT"] /srv/www/htdocs
_SERVER["SERVER_ADMIN"] [no address given]
_SERVER["SCRIPT_FILENAME"] /opt/pacsone/php/Hello.php
_SERVER["REMOTE_PORT"] 3680
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /pacsone/Hello.php
_SERVER["SCRIPT_NAME"] /pacsone/Hello.php
_SERVER["PHP_SELF"] /pacsone/Hello.php
_SERVER["REQUEST_TIME"] 1226999554



I'm grateful for any hint.

Best Regards
Werner Dahn

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Wed Nov 19, 2008 5:52 pm

The output of the test page indicates that the ImageMagick PHP extension was loaded successfully.

The PHP error in the Apache error log seems to suggest PHP could not read the file php/antispam.jpg, so you may want to check the following:

1. Make sure the file does exist
2. Make sure the user/group account the Apache service is running under has sufficient permissions to read files in the php/ sub-folder where PacsOne is installed.

werda
Posts:6
Joined:Wed Nov 19, 2008 8:02 am

Post by werda » Thu Nov 20, 2008 4:04 am

1. Make sure the file does exist
Broswer loads http://localhost/pacsone/antispam.jpg successfully.(123x35 pixels).

2. Make sure the user/group account the Apache service is running under has sufficient permissions to read files in the php/ sub-folder where PacsOne is installed.

ps -ef | grep httpd
root 10578 1 0 Nov19 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 10579 10578 0 Nov19 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 10580 10578 0 Nov19 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 10581 10578 0 Nov19 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 10582 10578 0 Nov19 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 10583 10578 0 Nov19 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 10624 10578 0 Nov19 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 10625 10578 0 Nov19 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 10626 10578 0 Nov19 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
root 13292 3875 0 11:25 pts/3 00:00:00 grep httpd

email.key is -rw-r--r-- root root
All other files in /pacsone/php/ are all -rwxrwxr-x root root.
All directories are drwxrwxr-x root daemon.

I can load the welcome screen but the spamtrap and login button are missing and the readimage error appears in the apache log.

There is no user data in the db. It would be no trouble to uninstall and reinstall. Should I try that?

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Thu Nov 20, 2008 6:32 pm

Check if you have more than one copy of jpeg.so shared library on this server, given that you had a previous ImageMagick package installed on this server:

Code: Select all

# find / -name jpeg.so -print
There should be only one such shared library, and it should come from the PacsOne Server installation package.

Post Reply