I have a script in which I am trying to load a custom If I go directly to PHP does not like arguments debate with Shebang only One allows to be present You can still trick it by leaving the space for the first argument parameter: (Clearly, this method works only with one compromised argument for the same parameter.) php.ini file I am Script * nix system on a
#! / Usr / bin / php -qc /path/to/php.ini headers. While doing so, PHP reports that the loaded
php.ini file is not present, i.e. no one has been loaded.
php -qc / path / command line / php.ini / path / to / script , this will be
php.ini Raises - Is it possible to override
php.ini #!
#! file using notation
#! / Usr / bin / php -qc / etc / php5 / my.ini
Comments
Post a Comment