disabled exec() disabled exec()
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

disabled exec()

Started by xsivejeff, July 17, 2005, 07:57:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xsivejeff

On my host server...... exec() is disabled for security reasons.  Will Coppermine run like that?
The board I use..... bbBoard v2 uses image magick but it uses it as a perl module Image::Magick.

Joachim Müller

With exec being disabled, you can use coppermine with GD (if you have it, most servers do support GD, as it comes with regular PHP distributions). Please refer to the FAQ to find out.

kegobeer

Ask your host if curl is enabled.  If so, there's a workaround already posted on our forum.  Search the forum for curl.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Nibbler

exec() is used to run ImageMagick, it has nothing to do with disabled URL fopen. You can replace it in the code with passthru() if that is not also disabled. I think there are instructions for that somewhere.

xsivejeff

Replaced exec() with passthru().  Now I get:

Warning: Wrong parameter count for passthru() in /home/xsivejef/public_html/fiatgallery/include/picmgmt.inc.php on line 162

Nibbler

Yes, that's why I said to look for instructions as opposed to blindly changing bits of code.

http://forum.coppermine-gallery.net/index.php?topic=5287