phpinfo taking way too long, probably hanging

Amitabh Kant amitabhkant at
Thu Sep 15 03:53:05 UTC 2016

Hi David

Does "php -i" command also hang on terminal? If yes, then try using the
command with -c switch to specify a custom php.ini file with extensions
removed or pruned to bare minimum, and keep on adding till you get to the
problem extension.


On Thu, Sep 15, 2016 at 7:29 AM, David Benfell <benfell at>

> Hi Amitabh,
> On 09/14/2016 10:51 AM, Amitabh Kant wrote:
> > Not very sure on this, but have you tried disabling  extensions that
> > might be configured to load along with PHP.  One of the extensions
> > might be be the problem which is preventing phpinfo to hang.
> I certainly can't rule this out. It'd help if I had some way to narrow
> down the list of possible offenders. This is a production system and
> most extensions are critical to my web services.
> Thanks!

More information about the freebsd-questions mailing list