birdland Posted October 9, 2008 Share Posted October 9, 2008 Hello to all. I have a problem here, i´m not a coder so if you guys could give me a hand... Thing is, i´m trying to install a script but i´m getting a 500 server error. My host´s support staff said i´m not able to place php flags in the .htaccess file, so he suggests i create a php.ini file to handle this. I don´t even know what a php flag is ... Here is my .htaccess file code: Options +ExecCGI +FollowSymLinks RewriteEngine On #php_value upload_max_filesize 50M #php_value post_max_size 50M RewriteRule ^hosted-videos video_listing.php RewriteRule ^submit-user-link.html submit_userlink.php RewriteRule ^submit-user-link-1.html submit_userlink.php?sucess=1 RewriteRule ^submit-user-link-2.html submit_userlink.php?exist=1 RewriteRule ^submit-user-video.html submit_video.php RewriteRule ^submit-user-video-1.html submit_video.php?sucess=1 How can i remove the php flags in this file and place them in a php.ini ? Thanks a lot for any help! Quote Link to comment https://forums.phpfreaks.com/topic/127766-how-create-a-phpini-to-remove-the-php-flags-in-a-htaccess-file/ Share on other sites More sharing options...
PFMaBiSmAd Posted October 10, 2008 Share Posted October 10, 2008 upload_max_filesize = 50M post_max_size = 50M Quote Link to comment https://forums.phpfreaks.com/topic/127766-how-create-a-phpini-to-remove-the-php-flags-in-a-htaccess-file/#findComment-661510 Share on other sites More sharing options...
birdland Posted October 10, 2008 Author Share Posted October 10, 2008 Thanks Guru! Quote Link to comment https://forums.phpfreaks.com/topic/127766-how-create-a-phpini-to-remove-the-php-flags-in-a-htaccess-file/#findComment-661926 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.