Jump to content

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


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!

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.