PHP CLI execution |
phpMIB is a shell script, this means that in order to
execute it you have to set up the CLI version of PHP on
the enviroment phpMIB runs on.
We won't provide here a specific documentation about PHP
usage from commandline. Please look at the
official documentation
for installation, configuration and usage of the CLI version. This is all you have to know just for start executing phpMIB:
Parameters:
|
phpMIB configuration |
We haven't provided a configuration file for phpMIB yet
(the feature will be ready soon), so you'll need to change
some values directly in the script's source.
Here's a list of the values you would change (line, variable, description):
|
How to load a module |
Until now you can load one module at time in phpMIB.
We will soon provide a full modules loader to avoid this
limitation (and add other modules' management features).
The modules' sources you can download from Sourceforge.net
need to be added manually to the Core source in order to run
them. Follow step by step this instruction after you have downloaded phpMIB's Core and the module you want to load:
|
Start building your own modules |
The steps to create your own modules are really simples.
phpMIB provides an intuitive and easy API that let you
code only the function you need. We will make a short example examining how to create a module. |