Jump to content

Need some help with .htaccess file/PHP.INI


gamerxgirl

Recommended Posts

Last night I was able to configure a custom PHP.ini through PuTTY to increase the max upload size (set by my webhost at which is 7M) to 250M, it looked like I succeeded and everything went fine and I checked with phpinfo and it was set correctly. Considering I've never touched PuTTY or linux before I was pretty proud of myself to have gotten that far (with google's help of course).

 

But then I found that the required .htaccess file in my main web directory is causing me to not be able to login to my forums and I receive an error message saying that I must enter my username (which I did, and I also tried clearing my cookies). So I renamed .htaccess to disable it, and then everything is fine, but then my max upload size is back to 7M :(

 

This is the tutorial I used to create my custom php.ini and php.cgi. And the following is the contents of my .htaccess that is giving me problems.

 

Options +ExecCGI
AddHandler php-cgi .php
Action php-cgi /cgi-bin/php.cgi

 

I also then remembered that for that domain I had FastCGI enabled, so I disabled that and still had problems.

 

If anyone can give suggestions on what I should do please let me know :-\ I'd love to be able to fix this.

Link to comment
Share on other sites

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.