Jump to content

How create a php.ini to remove the php flags in a .htaccess file


birdland

Recommended Posts

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!

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.