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 |

Posts: 32356
yes it does. without exec, g2 *should* work, but you'll lose a few features.
Posts: 8598
you'll need Gd in your php if you want thumbnails.. this is the only toolkit that doesn't use exec.
Posts: 2
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.
Posts: 32356
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.