Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: fixit on September 30, 2005, 04:49:14 AM

Title: ImageMagick trouble on sme7b4
Post by: fixit on September 30, 2005, 04:49:14 AM
Hi Greg, I know i should put this on the bug tracker, but i had trouble logging in

I am having trouble with ImageMagick & ImageMagick_Perl and mod perl, any program that depends on it is having problems, it is possible to remove ImageMagick and install an older version.

will any of the rpms from 6 work with 7

Regards, Russell
Title: ImageMagick trouble on sme7b4
Post by: gregswallow on October 02, 2005, 08:26:48 AM
No, ImageMagick is not part of SME7, so this is the right place to discuss it.

Will gd/php-gd work for the application you're using?  Those will be included in the next SME7 beta.  For now 'yum install php-gd gd', then post-upgrade and reboot will get them installed for you.

You can uninstall ImageMagick with 'yum remove ImageMagick'.  I wouldn't install any older versions.
Title: ImageMagick trouble on sme7b4
Post by: fixit on October 06, 2005, 12:10:55 AM
Hi Greg, is there any way to add index.pl to the Directory, where do i add this, i have looked in httpd.conf, it has all the other index listings except index.pl.

I can run perl from command line, but not from web browser.

do i have to create a custom-template for this to work

Thanks, Russell
Title: ImageMagick trouble on sme7b4
Post by: gregswallow on October 06, 2005, 02:27:05 AM
I guess you do have to make a custom template.  

The file
/etc/e-smith/templates/etc/httpd/conf/httpd.conf/50DirectoryIndex00PHP

...copy it to /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/50DirectoryIndex00PHP

...and edit the file and add in index.pl

then:
expand-template /etc/httpd/conf/httpd.conf
runsvctrl t httpd-e-smith

Consider writing a howto for whatever application you're getting going so no one else has to figure all this stuff out ;-)