From owner-freebsd-questions@freebsd.org Fri Sep 16 03:39:37 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63936BDB66D for ; Fri, 16 Sep 2016 03:39:37 +0000 (UTC) (envelope-from amitabhkant@gmail.com) Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com [IPv6:2607:f8b0:4003:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2F3C630E for ; Fri, 16 Sep 2016 03:39:37 +0000 (UTC) (envelope-from amitabhkant@gmail.com) Received: by mail-oi0-x229.google.com with SMTP id r126so97280425oib.0 for ; Thu, 15 Sep 2016 20:39:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=e/cPJJOxv6LQtEPy1/mTogkIMsV+2+rbiiA1mOZ8p40=; b=suQR4FVCOarWjaNM8zZVT6eZBGaQCIYwADm4gLcGe2x+vQL+Qcft304UcpBxDnathG MgkAzgsZVrUD2Xro6Tcqq50b8iX6AZVHdru3XE/xxLtXLYr2ci5MFc6AVAQiLRUvKFlJ VN41XalN5XkYmQq5UAPBVNKJQoaoUrTzLHixKfZW1EDIZ58WncSBqK38JMc7blV8sWeM DQ5fBjW6TtCHyr+9LDyHcXJdfS4CypEuCg+tTT0n7uqhyziVF087GZ/UtvJyGLRojlGq M/w919RgMsnaWyY4JGrGzpoNfH/q+bSTBZXbHhdLNznJxlOWZ/6bm4XXGu62svclkO3V wE+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=e/cPJJOxv6LQtEPy1/mTogkIMsV+2+rbiiA1mOZ8p40=; b=akQNiJTHFt0OVAQr7Tk01UL4n3Yq6dr2cKrULglx52q/KLNtc1CgHTFHoerRPvVzis fl7ljL+YuG8XTxPKV+2wLHib7/R2c4NFprm/Tkz9mjKLfSmu8zZbe+0xDkWl7VA77Mn0 f7MyBkYTQ0sEDyfmW/khHozgv8vzFxUqRTI+F2i0IBLJh3tUzSYbxpN8DLtdYyAHV/4h 54nxEwYc0twtYH/mFWYi8RqcNUeYkDw58dgojY5S0tWC4PLD7NhWfIcoH/gKi327kxdW tqnh6cvhS65448V1om+o+3/bgr0EjKRUyhPE8IRM56758k9QJyXlPddElAs/Cxi36D56 TSig== X-Gm-Message-State: AE9vXwOVoIJHJzDGm1WEsupzjSOKIBuXmA6TfB++Bidozwk9dVOJ+h+rTN7/b1lobd5XMGGFFKnfJdrrh23dmg== X-Received: by 10.202.221.138 with SMTP id u132mr4512542oig.120.1473997176062; Thu, 15 Sep 2016 20:39:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.216.8 with HTTP; Thu, 15 Sep 2016 20:39:15 -0700 (PDT) In-Reply-To: References: <906bdfcd-4007-e7e7-452a-81ffbdcef4b9@parts-unknown.org> <0fe700f7-37ae-46bc-83f6-b80408d6e808@phess.net> <54f5f8a1-b0fe-db91-55d8-d10d9223a9a9@parts-unknown.org> From: Amitabh Kant Date: Fri, 16 Sep 2016 09:09:15 +0530 Message-ID: Subject: Re: phpinfo taking way too long, probably hanging To: David Benfell Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2016 03:39:37 -0000 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 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" > > >