exec () function

felangood

Joined: 2005-08-10
Posts: 4
Posted: Wed, 2005-08-10 22:24

I have been trying to instal Gallery 1 but my host will not enable the exec () function.

I'm considering installing Gallery 2 instead. Does Gallery 2 require the exec () function to be enabled?

TIA

John

Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 32356
Posted: Wed, 2005-08-10 22:31

yes it does. without exec, g2 *should* work, but you'll lose a few features.

Login or register to post comments
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8598
Posted: Thu, 2005-08-11 02:48

you'll need Gd in your php if you want thumbnails.. this is the only toolkit that doesn't use exec.

Login or register to post comments
centurionf

Joined: 2005-08-15
Posts: 2
Posted: Mon, 2005-08-15 03:50

What's Gd? My site is hosted at discountasp.net (windows servers) and I'm getting the "cannot fork" errors/warnings with exec() when I upload pics.

Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 32356
Posted: Mon, 2005-08-15 11:37

centurionf, then you you should search with the forum search function for the windows / cannot fork issues.

gd is an image toolkit similar to imagemagick and netpbm, with the difference, that it can be built-in into php. when you can activate the gd module in G2, it should work for you. then you can deactivate the imagemagick and netpbm modules and GD will do the thumbnail creation etc for you.

but gd is known to be more error-prone for most users, that's why we recommend it only as the last resort. and it requires a huge memory limit. 20mb++ might be recommended if you use GD.

Login or register to post comments