|
|
#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:
|
|
|
|
|
|
|
#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. |
|
|
|
|
|
#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. |
|
|
|