Power line communication – Home control (narrowband)Battle of Fisher Bay Part 3 - Sharp Practice Wargame Campaign AARTopic: semi- structured interview with an entrepreneur who has recently started a business Custom PaperCheapServerDeals

How to change/add configuration on php.ini?

Dear all,

I have a question how i can change/add extra command on php.ini? My problem is is using a web hosting (Linux+Cpanel) where i can’t manipulate php.ini to do any configuration since that server is own by hosting provider/company?

I just want to add this:

php_value post_max_size 10M
php_value upload_max_filesize 10M
post_max_size = 12M
upload_max_filesize = 12M

So how i can do it?

Thanxs

Use the ini_set() function at the start of your PHP code.

Hope this helps,

Daniel Dutton
Shore Dutton Internet Consultancy


Technorati Tags: , , , , , , , , ,


2 Responses to “How to change/add configuration on php.ini?”

  1. SeeYouLater_Zee says:

    AFAIK, you can’t. If you need bigger files allowed, try contacting your webhosting provider. It doesn’t put any burden on their servers, unlike php_value max_execution_time does.
    References :

  2. Shore Dutton says:

    Use the ini_set() function at the start of your PHP code.

    Hope this helps,

    Daniel Dutton
    Shore Dutton Internet Consultancy
    References :
    http://uk.php.net/ini_set

Leave a Reply

Best Website Hosting for Small Business Best Website Hosting Ready Made Web Hosting

Power line communication – Home control (narrowband)Battle of Fisher Bay Part 3 - Sharp Practice Wargame Campaign AARTopic: semi- structured interview with an entrepreneur who has recently started a business Custom PaperCheapServerDeals