Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> PHP5 Conversion Issues From PHP4
Author Message
mds
Client



Joined: Dec 24, 2004
Posts: 194
Location: Michigan

PostPosted: Sun Dec 02, 2007 6:23 pm Reply with quote

I use menalto's gallery version 1.X and upon my site coming back online i recieved a internal server error i think it was lol....anyway click into your gallery directory and make a new file called php.ini...then click on the .htaccess file copy the following from the top
Code:
php_value post_max_size 20971520

php_value upload_max_filesize 20971520
php_value magic_quotes_gpc off
php_value session.save_handler files
php_value register_globals off

and paste into the php.ini file you just created.

go back to your .htaccess file and remove/delete tho's lines from the .htaccess

you should be good to go and your gallery should come back up....

Hope this helps someone and i posted it in the correct spot ...
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Dec 02, 2007 8:18 pm Reply with quote

You can't just paste the code into your php.ini. You have to change the syntax also.
Code:
post_max_size = 20971520

upload_max_filesize = 20971520
magic_quotes_gpc = off
session.save_handler = files
register_globals = off


But, in your case, you don't need the php.ini at all because all of the defaults are already doing these Smile
 
View user's profile Send private message
mds







PostPosted: Sun Dec 02, 2007 8:50 pm Reply with quote

so i could delete these all together then from htaccess and the php.ini file i made ?
Code:
post_max_size = 20971520 

upload_max_filesize = 20971520
magic_quotes_gpc = off
session.save_handler = files
register_globals = off


this exactly how the php.ini file i made looked and it worked to bring my gallery back online lol
Code:
php_value post_max_size 20971520 

php_value upload_max_filesize 20971520
php_value magic_quotes_gpc off
php_value session.save_handler files
php_value register_globals off
 
Raven







PostPosted: Sun Dec 02, 2007 8:54 pm Reply with quote

Quote:
this exactly how the php.ini file i made looked and it worked to bring my gallery back online lol


That's because your php.ini file was ignored. Delete it and you will see what I mean.
 
mds







PostPosted: Sun Dec 02, 2007 9:04 pm Reply with quote

ok thank you very much
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> PHP5 Conversion Issues From PHP4

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©