![]() |
PHP.ini Headache
ok in php.ini in root ive set the max upload to 8 megs yet when uploading a single rar though vb3 i get this error
RTCWmap1.rar: File Too Large. Exceeds PHP's limit of 2.00 MB. yet its set to 8 megs - is there any php files in vb3 i also need to change ? Also i sent email to host and they checked and global php is set to 16megs. "memory_limit = 16M" on your domains php.ini as well as global php.ini is set to 16M, we do not beleive this issue to be related to the max memory limit of php` This is doing me nut in as i need it to allow a single file upload of between 2 and 3 megs. |
Quote:
|
ok so where do i go from here - its all new to me
here is what i changed in php.ini ;;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;; max_execution_time = 60 max_input_time = 60 ; Maximum amount of time each script may spend parsing request data memory_limit = 16M ; Maximum amount of memory a script may consume (8MB) ; Maximum allowed size for uploaded files. upload_max_filesize = 8M now as u can see ive set it to 8 yet im still having problems so need help on what to do next or even if its possible |
Quote:
|
in root in etc folder all i see is my.cnf so i download that to edit it and here is the contents
[client] port=3306 nothing in there to edit - so where to now :) |
Quote:
Code:
[mysqld] |
i wish LOL
doubt i can restart sql as i dont have that right but i will ask my host to do it if possible also zachery appreciate your help on this and thank u for your time :) i may be back in few days if this dont work :) EDIT - replaced code and sent email to host to restart MYSQL |
Quote:
if you hav access to edit my.cnf you can probaly restart mysql |
ive checked CP on server and is no option to start or stop server - i have access to my.cnf as its in the root of the server thats all.
|
my.cnf should be in /etc/ since you have access console wise to root you should be able to start the service by command line
|
zach ive sent email to host and only time ive used console is telnet to backup and restore databse but if aint got this problem fixed after xmas will get back in touch with u as off for a few days now but cheers for help and enjoy your festive holiday m8
|
well looks like im out of luck on this one as just got this email
`my.cnf config on our servers is a global configuration, so changes affect all sites on the server and not just yours. Therefore you cannot specify your own configuration to use. If you require a small change to our configuration we can consider it, but you cannot make major changes in a shared hostign environment (you would need your own dedicated server). The MySQL configuration file would not be affecting a file upload. Regards, |
all sorted now Zachery thanks for help m8 - but was down to host to fix as even after i edited the php.ini file to 8 megs it still would`nt allow any size over 2 megs.Sent email to host and they fixed it.
|
Quote:
|
All times are GMT. The time now is 04:44 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|