Quote:
Originally Posted by zoom
how do I override PHP flag settings on the server?
and in case I have suphp ,
-where I find the customized php.ini?
-what code will php.ini needs inside?
-how do I customize it?
|
In your public_html, create a file phpinfo.php with the following code:
PHP Code:
<? phpinfo(); ?>
then check the output as
http://yourdomain.com/phpinfo.php and look for value for "Server API". If its CGI then you can customize php settings in php.ini otherwise you will have to use .htaccess..
In case its CGI, the best option would be requesting your host to copy server level php.ini to your account and you can then modify it as per needs.
In case its not CGI, you will have to use .htaccess to customize php settings e.g to increase
upload_max_filesize to 300M you will have to set following in .htaccess:
Quote:
|
php_value upload_max_filesize 300M
|
Hope that helps.