This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
Most likely, your PHP configuration is setting "apc.shm_segments" -- and you're simply receiving a warning stating that the setting will be ignored in the mode you're using.
If you can find where that's being set, you should be able to comment it out to prevent the warning.
That said, using FCGID is the Virtualmin default, and is a fast and efficient PHP Execution Mode -- if you aren't having problems with that, that might be a good way to go.
Howdy,
Either setting would work. However, we typically recommend using FCGI or CGI, as it allows PHP scripts to be executed as the Virtual Server owner.
-Eric
Ok, thnak you. Is Apahce mod fastest?
Both FCGID and mod_php are fast. I don't know the specific benchmarks as to which is faster -- but you could always run some tests to find out :-)
You could use tools such as Apache Benchmark (ab) to test any speed differences.
-Eric
just FYI
if you want to try mpm worker (which is supposed to be faster than the default prefork), then you can not use mod_php
Thanks both :)
Whats mpm worker, how do i use that?
If i use CGI wrapper, i get this error: PHP Warning: PHP Startup: apc.shm_segments setting ignored in MMAP mode in Unknown on line 0
But, changing to FCGId fixes it.
Howdy,
It sounds like an APC configuration issue.
Most likely, your PHP configuration is setting "apc.shm_segments" -- and you're simply receiving a warning stating that the setting will be ignored in the mode you're using.
If you can find where that's being set, you should be able to comment it out to prevent the warning.
That said, using FCGID is the Virtualmin default, and is a fast and efficient PHP Execution Mode -- if you aren't having problems with that, that might be a good way to go.
-Eric