coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: weinman on November 11, 2004, 08:23:54 PM

Title: My webhost is changing to PHPSUEXEC
Post by: weinman on November 11, 2004, 08:23:54 PM
According to my web host, they are in the process of "upgrading."

Also according to them:

"PHPSUEXEC runs php files as cgis. The reason for php running as a cgi rather than Apache module is to increase security while running php applications. This helps us track hackers and spammers."

One of the "known issues" is:
"3. Setting php file or directories to 777 will cause a 500 error."

Will there be a way around this problem for me once their upgrade is complete, or do I just say good-bye to Coppermine?
(Actually, I cannot stomach the thought and would more likely move my site to a new host.)

Pete
Title: Re: My webhost is changing to PHPSUEXEC
Post by: Nibbler on November 11, 2004, 08:33:46 PM
It is not a problem. Change your 777s to 755s and you should be fine.
Title: Re: My webhost is changing to PHPSUEXEC
Post by: Tranz on November 11, 2004, 08:45:44 PM
Nibbler and I have the same host running SUPHP and we have no problems running CPG. Just do as he suggested. In fact, this setting is better because we can edit php.ini and change the max file size that scripts can handle, among other settings.
Title: Re: My webhost is changing to PHPSUEXEC
Post by: weinman on November 12, 2004, 02:53:02 PM
Thanks, I'm glad to hear I will not have problems.. I have only limited knowledge and experience with scripts/php, etc, and was afraid all my efforts were about to go to waste!  I figured if I could not set the proper permissions I was going to be screwed...
Thanks for clearing it up for me.
Pete
Title: Can't upload pictures to a gallery in a server with suphp recently activated
Post by: pznet on May 23, 2009, 12:11:20 AM
Hi.  First of all, I was looking how to add a new topic but I was just unable to find where or how!!  I saw a link to do that but then I couldn't find the links here...  :-[

With that said, I've been struggling for more than 4 days to upload pictures in a gallery the way we have always do:

- upload files to a folder within "domain.com/galerias/albums/album-name"
- create an album as admin
- upload pictures to the album using the batch feature

This way has always worked before.  But last week for security reason people where I have the server activated the suPHP feature and I believe that's what is causing problems.  Also, as recommended, I moved from  <!--Coppermine Photo Gallery 1.4.16 (stable)--> to 1.4.20, but I think we need to update to 1.4.23.

This is what I usually do when uploading pictures:

Login here

http://www.perezzeledon.net/galerias/login.php?referer=index.php

then I go to the batch process to upload many pictures at once and search the folder I need and get this URL

http://www.perezzeledon.net/galerias/searchnew.php?startdir=15-mayo-2009

I can see the thumbnails and all of that and every picture get automatically selected, but at the bottom (with debug activated) I get:

=====================================================

USER:
------------------
Array
(
    [ID] => bc51bad2d98c0f53a7ce097a133d2191
    [am] => 1
    [lang] => spanish
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin
    [groups] => Array
        (
           
Title: Re: My webhost is changing to PHPSUEXEC
Post by: Joe Carver on May 23, 2009, 01:28:27 AM
Upgrade ASAP - then start a new thread here - http://forum.coppermine-gallery.net/index.php/board,48.0.html (http://forum.coppermine-gallery.net/index.php/board,48.0.html) - don't post debug unless you are asked - Upgrade!
Title: Re: My webhost is changing to PHPSUEXEC
Post by: Joachim Müller on May 23, 2009, 04:28:46 PM
Locking.