icon Learn how to get the most out of Surmunity - read our forum tips here! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » PHPsuexec » Gallery Setup with new PHPsuexec

PHPsuexec Information and tips

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old April 28th, 2006, 10:43 PM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Aug 2004
27 posts
Gave thanks: 0
Thanked 0 times
Gallery Setup with new PHPsuexec

I'm trying to set up a new website with an addon domain, posknuke and gallery. I can't seem to get pass the 3 setups issues for register_globals, php magic quotes, and htaccess processed by apache. I see on my old sites these settings are all warnings also but I figured since this PHP change was for security it didn't make much sense I can't get these things correct now. I thought I had to add lines for register globals and magic quotes to a php.ini file but I've put them in the addon domain root and the gallery folder and they are never recognized. I also tried to add this to an htaccess file in my gallery root and I just get an error 500:
Quote:
<Directory /home/user/public_html/path_to_gallery>
AllowOverride Options FileInfo
</Directory>
If anyone has recently set this up and got past these warnings I'd appreciate any help you can offer.
sndinc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 27th, 2006, 4:00 PM   #2 (permalink)
Registered User
Fresh Surpasser
 
Joined in Nov 2004
3 posts
Gave thanks: 0
Thanked 0 times
make a php.ini file with the following info:
magic_quotes_gpc = Off
register_globals = off
MAX_EXECUTION_TIME = 2400
MEMORY_LIMIT = 128M
POST_MAX_SIZE = 128M
UPLOAD_MAX_FILESIZE = 128M


place the php.ini file in your gallery and setup directory. You should be good to go. If you figure out how to upload files greater than 2 mB let me know.
richlee91 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 27th, 2006, 4:14 PM   #3 (permalink)
Registered User
Fresh Surpasser
 
Joined in Aug 2004
27 posts
Gave thanks: 0
Thanked 0 times
I never put one in my setup folder so that was probably why nothing worked for me. Works now...Thanks!

I have a different php upload script I use and needed to get pass the 2 MB limit. I created a php.ini file in that folder and put just this line in it.

upload_max_filesize = 10M

That seemed to work for me.
sndinc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On