Re: Problem with attaching file (from a form) to email in PHP [message #172776 is a reply to message #172757] |
Mon, 28 February 2011 21:17 |
Deadly Dirk
Messages: 2 Registered: January 2011
Karma:
|
Junior Member |
|
|
On Sun, 27 Feb 2011 20:18:31 -0500, Jerry Stuckle wrote:
> No, PEAR and PECL are NOT distributed with PHP. The classes are
> available from the PHP site, but they are still not part of the PHP
> code, and are written by external developers.
Look at the configure file. You have to specify "without pear" if you
don't want PEAR included. I configured my PHP like this:
../configure' '--with-apxs2=/usr/local/bin/apxs' '--enable-sigchild' '--
disable-pdo' '--without-sqlite' '--without-mysql' '--with-config-file-
path=/usr/local/lib/php' '--without-oci8' '--with-pgsql=/usr/pgsql-9.0'
PEAR was included. I am not sure what are you using, but PEAR comes with
PHP. My PHP is brand new:
php -v
PHP 5.3.5 (cli) (built: Jan 6 2011 16:42:33)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
[mgogala@lpo-postgres-01 ~]$
--
The missionaries go forth to Christianize the savages -
as if the savages weren't dangerous enough already.
|
|
|