Re: PHP functions missing
| From: | Stefan Schiller | Date: | Sun, 16 Jan 2005 13:52:40 +0000 |
| Subject: | Re: PHP functions missing | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-15015@lists.php.net to get a copy of this message | ||
Hi Daniel,
As described in UPDATING (in your PORTS-collection):
20040719:
AFFECTS: users of PHP
AUTHOR: ale@FreeBSD.org
The old lang/php4 and lang/php5 ports have been splitted into 'base' PHP,
PEAR, and shared extensions to allow more flexibility and add new
features.
Upgrading your current PHP installation will result in a 'base' PHP
installation (no PEAR and no extensions).
PEAR can be found in the new devel/php4-pear and devel/php5-pear ports,
while
the set of PHP extensions to install can be choosen via the meta-ports
lang/php4-extensions and lang/php5-extensions, or installing singular
extensions individually.
If you have a previous php.ini configuration file, be sure to comment out
the extension_dir parameter, since the correct path is statically compiled
into the PHP binary.
For an overview of the modules used with the old PHP binary, use
the command "php -m".
The 'base' PHP compieles with '--disable-all'. Use the 'metaport' in
lang/php4-extensions to install the needed extensions.
#more /usr/ports/lang/php4-extensions/pkg-descr
This is a "meta-port" to install the extensions for PHP 4.
Defaults to:
ctype, mysql, overload, pcre, posix, session, tokenizer, xml and zlib.
WWW: http://www.php.net/
Greetings from Germany
Stefan Schiller
"Daniel Martin-Fabiani" <danielfabiani@yahoo.es> schrieb im Newsbeitrag
news:<20050112110138.66624.qmail@web26502.mail.ukl.yahoo.com>...
> Hello!
>
> I've installed Apache 1.3 on a FreeBSD port and
> mod_php4. The installation goes well, but most of the
> PHP functions give an error when called:
>
> Fatal error: Call to undefined function: preg_match()
> in /web/data/euitt/euitt.inc.php on line 25
>
> And so with Postgres functions. In fact just phpinfo()
> works.
>
> I would appreciate any help.
>
> Thanks in advance,
>
> Daniel
>
>
>
> ______________________________________________
> Renovamos el Correo Yahoo!: ¡250 MB GRATIS!
> Nuevos servicios, más seguridad
> http://correo.yahoo.es