Note:
This function can return NULL both when an error occurs or the program produces no output. It is not possible to detect execution failures using this function. exec() should be used when access to the program exit code is required.
Поэтому любой пользователей может создать собственный файл php.ini и разместить его в папке вызываемого срипта.