Problems with installation and Netpbm

irishblue

Joined: 2002-08-21
Posts: 19
Posted: Wed, 2002-08-21 07:52

URL to the Gallery: http://kitchan.host.sk/gallery/
Version of Gallery: 1.3
Version of PHP: 4.2.2
Operating system and hardware: the host or mine? I think the host is using Linux.
Web browser and version you are using: IE6

I tried uploading a .htaccess file. Although it transferred successfully, I do not find it in the file list even after refreshing. So I can't change the attributes with chmod.

I downloaded the netpbm for linux. Where do I upload the directory to? I currently placed it at gallery/netpbm. When you say install the binaries... how do you do that?

I also get alot of error messages in the configuration wizard like:
Warning: exec() has been disabled for security reasons in /mnt/host-users/kitchan/gallery/platform/fs_unix.php on line 32

The (Advanced) Status code is empty by default, however it gives an error message later on and I can't proceed with the installation.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2002-08-21 16:31
Quote:
Warning: exec() has been disabled for security reasons in /mnt/host-users/kitchan/gallery/platform/fs_unix.php on line 32

This is a deal breaker. Looks like your ISP won't let PHP scripts execute programs, which means that Gallery won't be able to call NetPBM so it won't be able to do any manipulation. Even if you get by all your other issues, this will stop you from doing anything reasonable.

This might be a good time to plug the <!-- BBCode Start --><A HREF="http://gallery.sourceforge.net/wiki.php?page=Web%20Hosting%20Referral%20Page" TARGET="_blank">Web Hosting Referral Page</A><!-- BBCode End --> :smile:

 
TheWatcher
TheWatcher's picture

Joined: 2002-08-21
Posts: 120
Posted: Wed, 2002-08-21 18:46
Quote:
>>Warning: exec() has been disabled for security reasons in /mnt/host-users/kitchan/gallery/platform/fs_unix.php on line 32
<<

This is a deal breaker. Looks like your ISP won't let PHP scripts execute programs, which means that Gallery won't be able to call NetPBM so it won't be able to do any manipulation. Even if you get by all your other issues, this will stop you from doing anything reasonable.

This might be a good time to plug the <!-- BBCode Start --><A HREF="http://gallery.sourceforge.net/wiki.php?page=Web%20Hosting%20Referral%20Page" TARGET="_blank">Web Hosting Referral Page</A><!-- BBCode End --> :smile:

The fs_unix.php will appear because of permission issue, technically because you can't CHMOD .htaccess file. If you have FTP access only to your webhost and they are not helping you ... time to leave...

If you have SSH access, go to your gallery path /var/www/html/gallery
command $>ls -al .htaccess [press enter], this will .htaccess and privileges even it is hidden...
command $> chmod 777 .htaccess [press enter] ...you're good to go, try setup again .. let me know...

Cheers,
TheWatcher

http://www.needname.net "you're next webhosting company, because we are geek"

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Thu, 2002-08-22 01:28

It's also possible that you cannot see the .htaccess file because
it begins with a period and your client is treating it as a 'hidden' file
(yes, I've seen some clients do this) and until you figure out how to
make it display those hidden files, you're at a loss.

As far as where the binaries go, gallery/netpbm is fine, just make sure
you point Gallery at the directory when and if you manage to get that far.

 
TheWatcher
TheWatcher's picture

Joined: 2002-08-21
Posts: 120
Posted: Thu, 2002-08-22 12:47
Quote:
It's also possible that you cannot see the .htaccess file because
it begins with a period and your client is treating it as a 'hidden' file
(yes, I've seen some clients do this) and until you figure out how to
make it display those hidden files, you're at a loss.

As far as where the binaries go, gallery/netpbm is fine, just make sure
you point Gallery at the directory when and if you manage to get that far.

Good add on information, thanks man.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2002-08-22 19:05

Guys, none of this is going to work for him. The key thing from his original report is:

Quote:
Warning: exec() has been disabled for security reasons

There's no way around this, except to use PHP as a CGI. So no matter what you do with permissions on the .htaccess file, etc -- it's not going to work. He's got to use PHP as CGI.