How to change settings in php.ini

I am trying to run a few cron jobs. In my shell commands, I’m trying to pass variables to my php file, but I suspect that register_argc_argv is not enabled in php.ini because parse_str($argv[1], $paramas) is showing as undefined in the cron error log.

Question: I actually found multiple php.ini in my server, how do I know which one is the one word press is using? Does wordpress support register_argc_argv in php? I wonder why it’s not enabled initially if it is allowed.

Read more here:: How to change settings in php.ini

Leave a Reply

Your email address will not be published. Required fields are marked *