How execute from checkcommands a php file?

Hello everybody,

I’ve a small issue. I’ve seen that there is some plugins done in php for nagios and they work when you lunch in shell php mypage.php -H …

But in check_commands.cfg file, it doesn’t work and lunching it as ./mypage.php doesnt work too.

Do you have any idea on how I could make it work???

Many thanks in advance,

Kindly Regards.

PoY