Shero Support

How can we help?


Server Stats and Info

Here is a little set of server info tools I occasionally install on dev.


Please note: 

  1. modify the .htaccess files if you need to add another ip address to the list.  Do NOT remove the restrictions.
  2. Only install on dev, never staging or live!!!
  3. Create a directory[I use info] and extract the files there

Once installed, you can browse to http://dev.sitedomain/info and you will have a list of directories, one for each tool.  If you don't know what a tool does, you don't need it.


invokes the apache mod_info function.  Occassionaly useful to see how the server is configured.   If you don't understand it, you don't need it.



invokes the apache_modinfo status function.  The main thing to look at here is the big block of letters and dots.  These represent every potential client connection the server can handle simultaneously.  Lots of dots is good, that means their idle and can handle new requests.  Few dots is bad.

info/php : shows phpinfo() 

Things to check here: 

PHP Version: at top of page

Little known php feature:



In the section labeled "Core"



All the various file 'stat' functions are cached and that cache persists from connection to connection.  A stat function things like whether the file exists, the last time it was updated, etc.   It is possible to clear the stats by clearstat using


disabled_functions:  defaults to



The biggies that screw things up are eval and shell_exec [ also sometimes called just exec ] 

Disabled functions generally just fail silently, no log message, often it won't even result in a white screen, it just doesn't do what you expect it to.

exec is used by some extensions in order to clean their cache, so when you clear the cache through the admin it reports success while doing nothing for that extension.

Despite this, do not ask nexcess to remove one of these functions without checking!  These functions are disabled because they are security risks.

What I do when I need one of these functions is execute my script through ssh.  If you do so with php <filename> it will still not work.  You have to check phpinfo for the line 'Loaded configuration file'

Then on the server copy that file to a subfolder in the home directory.  Edit the copy and remove the functions you need from disabled_functions

Now you can call php and tell it to use your custom php.ini

php -c [inipath]/[inifilename]  [scriptname]