PHP Ports have been updated in July, I am now installing this instruction to install MySQL Apache PHP, if there is an error, please correct, thank you:
CD / usr / ports / databases / mysql323-server
Make with_linuxthreads = yes install
CD / USR / PORTS / WWW / APACHE13
Make with_apache_suexec = yes apache_perf_tuning = yes install
CD / USR / PORTS / WWW / MOD_FASTCGI
Make Install
CD / USR / PORTS / WWW / MOD_GZIP
Make Install
CD / USR / PORTS / LANG / PHP4
Make batch = yes install
CD / USR / PORTS / LANG / PHP4-EXTENSIONS
Make batch = yes without_x11 = yes with_bz2 = yes /
WITH_CALENDAR = YES with_cType = yes with_curl = yes /
WITH_DOMXML = YES with_ftp = yes with_gd = yes /
WITH_GETTEXT = YES with_ICONV = YES with_IMAP = YES /
WITH_MCAL = YES with_MCRYPT = yes with_mysql = yes /
WITH_OVERLOAD = yes with_pcre = yes with_pdf = yes /
WITH_POSIX = YES with_SESSION = yes with_sockets = yes /
WITH_TOKENIZER = YES with_XML = YES with_zlib = yes install
CD / usr / ports / deb / us-pear
Make Install
CD / USR / PORTS / DEVEL / ZENDOPTIMIZER
Make Install
PS: ZendOptimizer, download it first to / usr / ports / distfiles /