Hi Daniel, As described in UPDATING (in your PORTS-collection):
20040719: AFFECTS: users of PHP AUTHOR: [EMAIL PROTECTED] 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" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:<[EMAIL PROTECTED]>... > 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