The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
The coorrect place for the overrided php.ini
I am planning to increase size the "post_max_size"; my webhost says that I can change my php settings using php.ini file and apache settings using .htaccess file.
1. my trail with .htaccess file: I tried add the following in my .htaccess that comes with VB5: php_value post_max_size "15M" but keeping giving me "Internal Server Error". I did the same with VB4 and it works just fine! 2. my trail with adding php.ini: My webhost says the following: Quote:
Quote:
My question now is which one is better to change? I have feeling that VB5 deals with .htaccess differently so please what is the correct way? or if I go to php.ini (it is recommended), which place is correct to place my new php.ini? |
#2
|
||||
|
||||
These are questions for your webhost
|
#3
|
|||
|
|||
The php.ini file is located before the public_html folder
|
#4
|
||||
|
||||
imo best way is to edit the php.ini file on the server if you have ssh access
|
#5
|
|||
|
|||
Dear Zachery.
believe me I did a lot I am confused and lost. my Webhost allows me to change both php.ini or .htaccess and provides for me the limits that I should not exceed. My question to you why when I edited the .htaccess in VB4 it worked well but in VB5 it gave me "Internal Server Error"? @ForceHSS and WEBDosser; I can not edit the global php.ini, my webhost allows me to override the global php.ini but I don't know where I have to place the override php.ini. i.e. in which directory VB5 needs this file to be placed? |
#6
|
||||
|
||||
Try this:
Create a file called php.ini and include this in it. upload_max_filesize = "15M" post_max_size = "15M" Then save it in the same location as your .htaccess file. |
#7
|
|||
|
|||
Quote:
According to the webhost that any PHP files in subfolders will not recognize the changes I have made in the main folder. this sentence made me confuse and ask where is the right location. |
#8
|
|||
|
|||
Any confirmation for the above?
|
#9
|
||||
|
||||
You might want to ask your web host to change the values in your main php.ini file for the server if you do not have direct access to it. It would depend on what type of host setup you have as to whether you would have access to this or not.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|