Distant_storm Posted December 11, 2007 Share Posted December 11, 2007 How can I change the upload_max_filesize in the ini i don't believe I can use ini_set or out I think i have to do it some other way ? and also expose_php if that is set to on is that a problem it sounds bad ? Quote Link to comment Share on other sites More sharing options...
Lumio Posted December 11, 2007 Share Posted December 11, 2007 Do you have access to your php.ini? Quote Link to comment Share on other sites More sharing options...
atlanta Posted December 11, 2007 Share Posted December 11, 2007 Well its best for expose_php to be off . It being on allow malicious users to know which version of php you are using and in every request that PHP is being used. with this they can used vulnerabilities on you etc. Quote Link to comment Share on other sites More sharing options...
dbo Posted December 11, 2007 Share Posted December 11, 2007 You'll have to alter the setting in the php.ini file or a .htaccess file. ini_set works for some things... but not all. Quote Link to comment Share on other sites More sharing options...
Distant_storm Posted December 11, 2007 Author Share Posted December 11, 2007 I don't have access to my php ini How do i turn off expose php and increase the max upload limit Either using ini set or htaccess, im not clear how i do it with htaccess sorry ? Quote Link to comment Share on other sites More sharing options...
Distant_storm Posted December 11, 2007 Author Share Posted December 11, 2007 bump lo Quote Link to comment Share on other sites More sharing options...
Distant_storm Posted December 12, 2007 Author Share Posted December 12, 2007 |Can anyone answer my questions ? :-\ Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted December 12, 2007 Share Posted December 12, 2007 Put something like this in a .htaccess file: php_value upload_max_filesize *size_here* See: http://php.net/configuration.changes Quote Link to comment Share on other sites More sharing options...
Distant_storm Posted December 12, 2007 Author Share Posted December 12, 2007 What should i specify the size in bytes mb or ? Quote Link to comment Share on other sites More sharing options...
trq Posted December 12, 2007 Share Posted December 12, 2007 Its all covered in the man. Quote Link to comment 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.