Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Dec 2004 12:14:34 -0800
From:      "whitevamp" <whitevamp47@hotmail.com>
To:        <freebsd-questions@freebsd.org>, <freebsd-ports@freebsd.org>
Subject:   php modules
Message-ID:  <BAY103-DAV16B9582D2500366BE0B5F4A19D0@phx.gbl>

next in thread | raw e-mail | index | archive | help
I didnt know where to post this to so im posting it to quistions@ and =
ports@

i have compiles and installed php 4.3.10 and i was needing to install =
pcre ,so i did on the command line make PHP_MODNAME=3Dpcre install
and then i noticed that it didnt install pcre it just compiled in =
support for it so i did some looking around for pcre and found php4-pcre
so i installed it and when it got done installing it i got a message =
saying that the=20
Libraries have been installed in:
  /usr/ports/devel/php4-pcre/work/php-4.3.10/ext/pcre/modules

( why dose it leave the libraies in the ports dir?? )

so i moved them to a folder for php to find more esaly and with out =
getting wiped out when i do a portupgrade, and i set the module path in =
the php.ini file=20
IE:/usr/local/php-modules=20
now in the php log file it saying this=20

[31-Dec-2004 01:27:25] PHP Notice:  Constant PREG_PATTERN_ORDER already =
defined in Unknown on line 0                                          =20
[31-Dec-2004 01:27:25] PHP Notice:  Constant PREG_SET_ORDER already =
defined in Unknown on line 0                                             =
 =20
[31-Dec-2004 01:27:25] PHP Notice:  Constant PREG_OFFSET_CAPTURE already =
defined in Unknown on line 0                                         =20
[31-Dec-2004 01:27:25] PHP Notice:  Constant PREG_SPLIT_NO_EMPTY already =
defined in Unknown on line 0                                         =20
[31-Dec-2004 01:27:25] PHP Notice:  Constant PREG_SPLIT_DELIM_CAPTURE =
already defined in Unknown on line 0                                     =

[31-Dec-2004 01:27:25] PHP Notice:  Constant PREG_SPLIT_OFFSET_CAPTURE =
already defined in Unknown on line 0                                   =20
[31-Dec-2004 01:27:25] PHP Notice:  Constant PREG_GREP_INVERT already =
defined in Unknown on line 0                                             =

[31-Dec-2004 01:27:25] PHP Warning:  Function registration failed - =
duplicate name - preg_match in Unknown on line 0                         =
 =20
[31-Dec-2004 01:27:25] PHP Warning:  Function registration failed - =
duplicate name - preg_match_all in Unknown on line 0                     =
 =20
[31-Dec-2004 01:27:25] PHP Warning:  Function registration failed - =
duplicate name - preg_replace in Unknown on line 0                       =
 =20
[31-Dec-2004 01:27:25] PHP Warning:  Function registration failed - =
duplicate name - preg_replace_callback in Unknown on line 0              =
 =20
[31-Dec-2004 01:27:25] PHP Warning:  Function registration failed - =
duplicate name - preg_split in Unknown on line 0                         =
 =20
[31-Dec-2004 01:27:25] PHP Warning:  Function registration failed - =
duplicate name - preg_quote in Unknown on line 0                         =
 =20
[31-Dec-2004 01:27:25] PHP Warning:  Function registration failed - =
duplicate name - preg_grep in Unknown on line 0                          =
 =20
[31-Dec-2004 01:27:25] PHP Warning:  pcre:  Unable to register =
functions, unable to load in Unknown on line 0                   =20


so my quistin's are

1. should i have left it in the ports dir?
2. did i not move something that it needs ??
3. as sad above ( why dose it leave the libraies in the ports dir?? )
4. am i doing this right ?? or all wrong??
5. why am i getting this error ?

this is for an apache mod=20
the reason im trying to get this to work is becouse i have a CMF that is =
complaining about Call to undefined function: preg_match_all()
and the coders sugested that i install pcre. wich dont make sence to me =
becouse i didnt have it installed before i did a portupgrade on php and =
apache, any how im bableing now.

and thanks for any help on this inadvance





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY103-DAV16B9582D2500366BE0B5F4A19D0>