Webmaster Forum

Go Back   Webmaster Forum > Web Development > Web Design Lobby

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.

Thread Tools Display Modes
Share |
Old 02-26-2009, 09:42 AM
2939195631902 2939195631902 is offline
Contributing Member
Join Date: 12-14-08
Posts: 140
iTrader: 0 / 0%
Lightbulb Changing php config without access to main frame... .htacess? sub php.ini?

Changing php config without access to main frame... .htacess? sub php.ini?

I need to change the following config:

upload_max_filesize to 30mb
max_input_time to 600
memory_limit to 256mb
post_max_size to 31mb
max_execution_time to 600

While i do not have access to the main frame php.ini file, I was told there may be a way of doing so by using a secondary php.ini for my domain specifically.

Another way to do this is by using .htaccess, but i'm not sure if it can do max_execution_time and i really don't know anything about it.
I prefer secondary php.ini if it's possible

any comment is apprecaited it.

Reply With Quote



Old 02-26-2009, 10:04 AM
ScriptMan's Avatar
ScriptMan ScriptMan is offline
Super Moderator
Join Date: 02-10-07
Location: Central Kentucky
Posts: 14,038
iTrader: 4 / 100%
Some servers force you to do it in the .htaccess and others force you to do it in php.ini.

The determining factor is whether php is ran as an Apache process or not. Also it depends on whether allow_overide is on or off in the master config file.

Looking at some of the things you want to change I doubt very seriously you are going to be sucessful.

The syntax for the .htaccess file is:
php_flag action you want

Edit: I was unable to do some of what you want to do on a shared sever on my local machine where I could write to the master file. There are some hard limits that you can not overcome.

Last edited by ScriptMan; 02-26-2009 at 10:15 AM.
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forum of a main website is being spammed will that effect the main website SEO. shahab6 SEO Forum 4 03-02-2009 11:05 PM
How do you find the price for such config? DennisBerc Dedicated Servers 6 04-04-2008 01:33 AM
PHP script config problem Optix Coding Forum 5 04-29-2007 05:18 AM
Cent Os Firewall Config Albert Tai Dedicated Servers 5 01-04-2007 05:26 AM

V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory

All times are GMT -7. The time now is 04:16 PM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC