This demo analyzes your settings (phpThumb.config.php and server/PHP) for phpThumb().

<-- bad . . . . . good -->
                                       
SettingValueComments
Latest phpThumb version:Download the latest version from http://phpthumb.sourceforge.net
This phpThumb version:1.7.9-200712090829Latest version unknown.
Download the latest version from http://phpthumb.sourceforge.net.
phpThumb.config.php:"phpThumb.config.php" and "phpThumb.config.php.default" both exist"phpThumb.config.php.default" that comes in the distribution must be renamed to "phpThumb.config.php" before phpThumb.php can be used. Avoid having both files present to minimize confusion.
cache directory:
exists
readable
writable
Original: "/var/www/bytyjirovcova.cz/tiny_mce/phpThumb/../../parse/phpThumbcache/"
Resolved: "/var/www/bytyjirovcova.cz/parse/phpThumbcache"
Must exist and be both readable and writable by PHP.
cache write test:
/ var / www / bytyjirovcova.cz / parse / phpThumbcache / 6 / 67 / 67c / 67c4 / phpThumb_cache_bytyjirovcova.cz_raw67c44e91c46b79493d95da579a7fef28_offsite_par52b4fbd9e2256843fcdbe9d1f35f2875.jpeg
directory does NOT exist (before EnsureDirectoryExists())
directory does NOT exist (after EnsureDirectoryExists())
write test FAILED
Created and deletes a sample cache file to see if you actually have create/delete permission
temp directory:
exists
readable
writable
Original: "/var/www/bytyjirovcova.cz/parse/phpThumbcache"
Resolved: "/var/www/bytyjirovcova.cz/parse/phpThumbcache"
Must exist and be both readable and writable by PHP.
PHP version:5.6.40-57+ubuntu20.04.1+deb.sury.org+1PHP5 is ideal (support for numerous built-in filters which are much faster than my code).
PHP v4.4.2 contains a bug in fopen over HTTP (phpThumb has a workaround)
PHP v4.3.2+ supports ImageSaveAlpha which is required for proper PNG/ICO output.
ImageRotate requires PHP v4.3.0+ (but buggy before v4.3.3).
EXIF thumbnail extraction requires PHP v4.2.0+.
Most things will work back to PHP v4.1.0, and mostly (perhaps buggy) back to v4.0.6, but no guarantees for any version older than that.
GD version:2.3.0GD2-bundled version is ideal.
GD2 (non-bundled) is second choice, but there are a number of bugs in the non-bundled version. ImageRotate is only available in the bundled version of GD2.
GD1 will also (mostly) work, at much-reduced image quality and several features disabled. phpThumb can perform most operations with ImageMagick only, even if GD is not available.
ImageMagick version:""
n/a
ImageMagick is faster than GD, can process larger images without PHP memory_limit issues, can resize animated GIFs. phpThumb can perform most operations with ImageMagick only, even if GD is not available.
ImageMagick features:|| help || thumbnail || resize || crop || repage || coalesce || gravity || background || interlace || flatten || border || bordercolor || dither || quality || version || blur || colorize || colors || colorspace || contrast || contrast-stretch || edge || emboss || fill || flip || flop || gamma || gaussian || level || modulate || monochrome || negate || normalize || rotate || sepia-tone || threshold || unsharp ||All of these parameters may be called by phpThumb, depending on parameters used. Green means the feature is available; red means a critical feature is missing; orange means an optional filter/feature is missing.
ImageMagick formats:ImageMagick can only read/write formats as listed here. You may need to recompile ImageMagick if you need to use a format not listed
GD features:
JPG Support
PNG Support
GIF Read Support
GIF Create Support
FreeType Support
PNG support is required for watermarks, overlays, calls to ImageMagick and other internal operations.
JPG support is obviously quite useful, but ImageMagick can substitute
GIF read support can be bypassed with ImageMagick and/or internal GIF routines.
GIF create support can be bypassed with ImageMagick (if no filters are applied)
FreeType support is needed for TTF overlays.
GD extension "EXIF"TRUEEXIF extension required for auto-rotate images. Also required to extract EXIF thumbnail to use as source if source image is too large for PHP memory_limit and ImageMagick is unavailable.
php_sapi_name()apache2handlerSAPI mode preferred to CGI mode. FCGI mode has unconfirmed strange behavior (notably more than one space in "wmt" filter text causes errors). If not working in "apache" (SAPI) mode, apache_lookup_uri() will not work.
Server SoftwareApache/2.4.41 (Ubuntu)Apache v1.x has the fewest compatability problems. IIS has numerous annoyances. Apache v2.x is broken when lookup up /~user/filename.jpg style relative filenames using apache_lookup_uri().
curl_version:7.68.0Best if available. HTTP source images will be unavailable if CURL unavailable and allow_url_fopen is also disabled.
 
function_exists:ValueComments
ImageRotateTRUErequired for "ra" and "ar" filters.
exif_read_dataTRUErequired for "ar" filter.
exif_thumbnailTRUErequired to extract EXIF thumbnails.
memory_get_usageTRUEmostly used for troubleshooting.
version_compareTRUEavailable in PHP v4.1.0+, internal workaround available
file_get_contentsTRUEavailable in PHP v4.3.0+, internal workaround available
file_put_contentsTRUEavailable in PHP v5.0.0+, internal workaround available
is_executableTRUEavailable in PHP3, except only PHP5 for Windows. poor internal workaround available
gd_infoTRUEavailable in PHP v4.3.0+ (with bundled GD2), internal workaround available
ImageTypesTRUErequired for GD image output.
ImageCreateFromJPEGTRUErequired for JPEG source images using GD.
ImageCreateFromGIFTRUEuseful for GIF source images using GD.
ImageCreateFromPNGTRUErequired for PNG source images using GD and other source image formats using ImageMagick.
ImageCreateFromWBMPTRUErequired for WBMP source images using GD.
ImageCreateFromStringTRUErequired for HTTP and non-file image sources.
ImageCreateTrueColorTRUErequired for all non-ImageMagick filters.
ImageIsTrueColorTRUEavailable in PHP v4.3.2+ with GD v2.0.1+
ImageFilterTRUEPHP5 only. Required for some filters (but most can use ImageMagick instead)
 
SettingMaster ValueLocal ValueComments
magic_quotes_runtime:FALSEFALSEThis setting is evil. Turn it off.
magic_quotes_gpc:FALSEFALSEThis setting is bad. Turn it off, if possible. phpThumb will attempt to work around it if it is enabled.
safe_mode:FALSEFALSEBest if off. Calls to ImageMagick will be disabled if on (limiting max image resolution, no animated GIF resize). Temp files may be disabled. Features will be limited. If disabled in Master but enabled in Local, edit httpd.conf and set (php_admin_value safe_mode "Off") between <VirtualHost> tags
allow_url_fopen:TRUETRUEBest if on. HTTP source images will be unavailable if disabled and CURL is unavailable.
disable_functions:pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority, pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority, Best if nothing disabled. Calls to ImageMagick will be prevented if exec+system+shell_exec+passthru are disabled.
memory_limit:128M128MThe higher the better. Divide by 5 to get maximum megapixels of source image that can be thumbnailed (without ImageMagick). Your setting (128M) allows images up to approximately 25.6 megapixels