gamerxgirl Posted March 26, 2008 Share Posted March 26, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/98027-need-some-help-with-htaccess-filephpini/ 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.