Having an issue with the APC Loader on my file upload system..

Ok Heres whats happening… We moved hosts last week, so where on a new server. I wasn’t the person who installed APC on the old one and didn’t even know that was running the uploader… So I have installed APC, Changed the settings which I found for php.ini meaning making the memory higher and the file size to 600MB

the loader is Working uploading the file but its stuck at 1% on the progress bar. Now this was working correclty before the move… and from what I’m told they did a move before where they just reinstalled the APC and everything was fine with the loader…

So my question is does anything seem wrong with these settings that would stop it from showing the status??

[php]Configuration
apc
APC Support enabled
Version 3.1.9
APC Debugging Disabled
MMAP Support Enabled
MMAP File Mask no value
Locking type pthread mutex Locks
Serialization Support php
Revision $Revision: 308812 $
Build Date Nov 7 2012 13:47:15

Directive Local Value Master Value
apc.cache_by_default On On
apc.canonicalize On On
apc.coredump_unmap Off Off
apc.enable_cli Off Off
apc.enabled On On
apc.file_md5 Off Off
apc.file_update_protection 2 2
apc.filters no value no value
apc.gc_ttl 3600 3600
apc.include_once_override Off Off
apc.lazy_classes Off Off
apc.lazy_functions Off Off
apc.max_file_size 1M 1M
apc.mmap_file_mask no value no value
apc.num_files_hint 1000 1000
apc.preload_path no value no value
apc.report_autofilter Off Off
apc.rfc1867 Off Off
apc.rfc1867_freq 0 0
apc.rfc1867_name APC_UPLOAD_PROGRESS APC_UPLOAD_PROGRESS
apc.rfc1867_prefix upload_ upload_
apc.rfc1867_ttl 3600 3600
apc.serializer default default
apc.shm_segments 1 1
apc.shm_size 32M 32M
apc.slam_defense On On
apc.stat On On
apc.stat_ctime Off Off
apc.ttl 0 0
apc.use_request_time On On
apc.user_entries_hint 4096 4096
apc.user_ttl 0 0
apc.write_lock On On

[/php]

Any ideas… ?? also the new server was Suphp, Not sure what the old one was but DSO gave me all permission errors so I kept it on cgi because then it showed in PHP Info

Now Im on Fast CGI, so I don’t get the DSO errors…

My File Uploader now just shows NAN% and still updates…

Any suggestions?

Issue is fixed…
Had to be in DSO to work…

Had to change Permissions…

cd /tmp chown nobody:nobody sess_* => * mean all the session files :)

Incase if someone runs into this issue… Switch it to DSO and use this in the root access to change the permission

Sponsor our Newsletter | Privacy Policy | Terms of Service