Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2016 09:09:15 +0530
From:      Amitabh Kant <amitabhkant@gmail.com>
To:        David Benfell <benfell@parts-unknown.org>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: phpinfo taking way too long, probably hanging
Message-ID:  <CAPTAQBKostCz3VzwwqaV86xoqBJgDM5KBZ_Z6GNfbMbsK7Uw2w@mail.gmail.com>
In-Reply-To: <e6a742d1-7772-5d49-6cf1-d650e69399f7@parts-unknown.org>
References:  <906bdfcd-4007-e7e7-452a-81ffbdcef4b9@parts-unknown.org> <0fe700f7-37ae-46bc-83f6-b80408d6e808@phess.net> <54f5f8a1-b0fe-db91-55d8-d10d9223a9a9@parts-unknown.org> <CAPTAQBJhApXUfbOx6G1nCykL-TW4vvTQT4QKueaOXr-Zmgcurg@mail.gmail.com> <d9c6af01-5415-2db4-9535-c750ddd6a4bf@parts-unknown.org> <CAPTAQB%2B3x9KxGhB6USb2RDYWxZAgbQTMdj4SHJesxeJDXNvQDQ@mail.gmail.com> <fba3e4c2-2928-3560-c87f-8bb5f200bd3b@parts-unknown.org> <CAPTAQBJ0dmN8xiqOHEU9=6RJVYw5F0jahTGHcQPG5Q96ojVX2A@mail.gmail.com> <e6a742d1-7772-5d49-6cf1-d650e69399f7@parts-unknown.org>

next in thread | previous in thread | raw e-mail | index | archive | help
That is a whole lot of extensions. Not sure where to start here. Maybe
geoip.so would a good candidate to start with. Beyond that, you will have
to experiment.

Maybe you can start off with slicing the extensions into two parts, loading
the first half for one iteration and the second half for second iteration.
This would narrow it down. You can continue splitting it, till you find the
problematic extension.

Amitabh

On Thu, Sep 15, 2016 at 11:36 AM, David Benfell <benfell@parts-unknown.org>
wrote:

> On 09/14/2016 09:23 PM, Amitabh Kant wrote:
> > Yes, it produces the same output.
> >
> > How is PHP being called by the web server? What are the extensions loaded
> > by default?
> This would be apache 2.4 from the port, currently apache24-2.4.23_1
> working with mod_php (I've tried but never succeeded in getting php-fpm
> to work with apache). As to the modules, I'm loading most of them
> because it's hard to tell which ones I don't need. I think I'm loading
> all of the following:
>
> apcu.so
> bcmath.so
> bz2.so
> calendar.so
> ctype.so
> curl.so
> dom.so
> exif.so
> fileinfo.so
> filter.so
> ftp.so
> gd.so
> geoip.so
> gettext.so
> gmp.so
> hash.so
> iconv.so
> igbinary.so
> imagick.so
> imap.so
> intl.so
> json.so
> ldap.so
> mbstring.so
> mcrypt.so
> memcache.so
> memcached.so
> mssql.so
> mysql.so
> mysqli.so
> odbc.so
> openssl.so
> pam.so
> pcntl.so
> pdf.so
> pdo.so
> pdo_dblib.so
> pdo_mysql.so
> pdo_odbc.so
> pdo_pgsql.so
> pdo_sqlite.so
> pgsql.so
> phar.so
> posix.so
> pspell.so
> readline.so
> session.so
> shmop.so
> simplexml.so
> soap.so
> sockets.so
> sqlite3.so
> sybase_ct.so
> sysvmsg.so
> sysvsem.so
> sysvshm.so
> tokenizer.so
> twig.so
> uploadprogress.so
> wddx.so
> xml.so
> xmlreader.so
> xmlrpc.so
> xmlwriter.so
> xsl.so
> zip.so
> zlib.so
>
> Thanks!
> >
> > Amitabh
> >
> > On Thu, Sep 15, 2016 at 9:39 AM, David Benfell <
> benfell@parts-unknown.org>
> > wrote:
> >
> >> Hi Amitabh,
> >>
> >> On 09/14/2016 08:52 PM, Amitabh Kant wrote:
> >>> Hi David
> >>>
> >>> Does "php -i" command also hang on terminal?
> >> No, and is this supposed to be the same or similar output as phpinfo()?
> >> (Based on rather hazy memory and a loose interpretation both of the
> >> output and the man page, it sorta kinda looks like it.) It produced
> >> quite a lot of output within a very few seconds.
> >>
> >>
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-
> unsubscribe@freebsd.org"
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPTAQBKostCz3VzwwqaV86xoqBJgDM5KBZ_Z6GNfbMbsK7Uw2w>