Microsoft
Software
Hardware
Network
Question : ImageMagick in PHP, Windows/Apache
My situation:
Windows Vista
Apache 2
PHP 5.3
ImageMagick 6.6.3 Q16
ImageMagick works through the command line, and from php via passthru or exec.
problem: cannot get Imagick (the PHP extension class for communicating with ImageMagick) working.
phpinfo does not show the Imagick module.
When attempting to instance through PHP:
Fatal error: Class 'Imagick' not found
I’ve tried multiple DLLs, most recently one from
http://valokuva.org/?page_
id=50
.
This line is in php.ini:
extension=php_imagick.dll
php.ini extension dir is:
extension_dir=C:\PHP\ext
php_imagick.dll exists in C:\PHP\ext
added environment variable to apache, which shows up via phpinfo as:
_SERVER["MAGICK_HOME"] C:/ImageMagick
C:/ImageMagick is the correct installation directory
phpinfo show configuration file as:
C:\PHP\php.ini
this is the correct configuration file, and the file that reflects the edits mentioned above.
i'd be grateful for any advice
Answer : ImageMagick in PHP, Windows/Apache
Go to the command prompt.
Type ...
php -d display_startup_errors=1 --re imagick
Random Solutions
xp sp2 clients wont log or ping server 2003
How to close the controlsmenu after selecting the items from the combo box with out including any code behind.
How do I ensure different backup jobs append to the same tape(s) in a media set through the week Backup Exec 2010?
VS2008 - Help with preferences
Why does this xslt sort not work?
Java/J2EE class loading architecture
event ID 39 - 40 -41- 42- 47 winmgmt
RAID1 in MAX OSx
The object invoked has disconnected from its clients.
Get-Eventlog -> Export-CSV long eventmessages -> problem