Re: Get PHP Configuration
| From: | Daniel Grace | Date: | Wed, 02 Jan 2002 02:42:50 +0000 |
| Subject: | Re: Get PHP Configuration | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-79199@lists.php.net to get a copy of this message | ||
"Larentium" <larentium@hosthive.com> wrote in message
news:001f01c19334$270c8940$1b3a6f0a@direcpc.com...
> How would you get the current PHP configuration information,
> more specifically, the exact command line used at compilation?
>
> I want to add --with-imap, but have no idea how to determine what the
current settings are.
>
>
> Larentium
phpinfo() shows you the configure command.
If you have the PHP CGI and are running on *nix or something like such, you
can also.
/path/to/php -i | grep ./configure
-- Daniel Grace
http://hosting.venura.net/ (STILL under construction)