neddy Posted September 22, 2006 Share Posted September 22, 2006 i search the forum before posting and couldnt find a solution that worksfirst off i cannot change my php.ini, because my host doesnt allow me to.. ive requested it to be changed, but no reply yet, and i read somewhere hosts dont like changing it..anyway im on linux hosting and my phpinfo says Server API - CGI so im guessing its the cgi version of php (?)ive tried adding the changes to a .htaccess file and get a 500 error, but then read later that it doesnt work on the cgi version of php..now ive read that i can make another php.ini in my webs root and add upload_max_filesize = 10M to it but that makes other things on my site not work... i dont change anything other then upload the php.iniis there anywhere in the phpinfo that will tell me that a new php.ini wont work? im thinking the servers reading it but not working properly... but im completly confused ???also is there a setting i can stick in the new php.ini that will tell me if the new php.ini is working without causing to much hassle?cheersNeddyEDIT: even if i upload an empty php.ini other parts of my site stop working properly...EDIT2: ive added all the settings that can be changed by PHP_INI_PERDIRsession.use_trans_sid = 0zlib.output_compression = 0allow_call_time_pass_reference = 1asp_tags = 0magic_quotes_gpc = 1output_buffering = 0output_handler = NULLregister_argc_argv = 1register_globals = 1short_open_tag = 1arg_separator.input = &auto_append_file = NULLauto_prepend_file = NULLupload_max_filesize = 10Mpost_max_size = 15Malways_populate_raw_post_data = 0and my pages seem to be working properly but that doesnt change the upload_max_filesize ??? Quote Link to comment Share on other sites More sharing options...
markbett Posted September 23, 2006 Share Posted September 23, 2006 check your hosts FAQ's normally they will give you proper settings when creating this file 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.