This is a simple task.
CVSup-Gl 2-H cvsup.freebsd.org/usr/share/examples/CVSup/ports-supfile
CD/usr/ports/lang/PhP5 (or:/usr/ports/www/mod_php5)
Make install clean
However, the result shows that the handler cannot run and an error is reported, indicating that the function cannot be found. Google knows that this function is provided in a library called PCRE (Perl Compatible Regular Expressions. Install PhP5 in WindowsProgramIt is already included by default, but it is not included in the default options installed with ports. I had to check the materials, repeatedly unload and unload PhP5, but it was always wrong, whether it was installing PhP5 or mod_php5 (later I checked the makefile of mod_php5, it also depends on the installation of PhP5 ). I have also tried to re-compile Apache several times with some options, but it never works. This PCRE does not seem to be in PhP5 or Apache.
It turns out that it is not included in the two, but a separate installation. -_-|
CD/usr/ports/devel/PCRE
Make install clean
CD/usr/ports/lang/PhP5
VI makefile
(Add -- With-PCRE-RegEx at the end of configure_args = and save and exit)
Make install clean
You can add PCRE support for PhP5.
BTW: After the installation is successful, the supervisor still has the problem that you need to re-log on to any operation after logon. Check that it is because of a file permission problem. Just click CHMOD.