Remove all php on FreeBSD 10

Just quick note for my self. New php application use php 5.3+ and FreeBSD box have php 5.2 installed.

# pkg info | grep php
php52-5.2.17_15                PHP Scripting Language
php52-ctype-5.2.17_15          The ctype shared extension for php
php52-curl-5.2.17_15           The curl shared extension for php
php52-dom-5.2.17_15            The dom shared extension for php
php52-filter-5.2.17_15         The filter shared extension for php
php52-pcre-5.2.17_15           The pcre shared extension for php
php52-simplexml-5.2.17_15      The simplexml shared extension for php
php52-spl-5.2.17_15            The spl shared extension for php

Remove all php package (php 5.2) :

# pkg delete -x php
Deinstallation has been requested for the following 8 packages:


The deinstallation will free 8 MB

Proceed with deinstalling packages [y/N]: y
[1/8] Deleting php52-ctype-5.2.17_15… done
[2/8] Deleting php52-curl-5.2.17_15… done
[3/8] Deleting php52-dom-5.2.17_15… done
[4/8] Deleting php52-filter-5.2.17_15… done
[5/8] Deleting php52-spl-5.2.17_15… done
[6/8] Deleting php52-pcre-5.2.17_15… done
[7/8] Deleting php52-simplexml-5.2.17_15… done
[8/8] Deleting php52-5.2.17_15…[preparing module `php5′ in /usr/local/etc/apache22/httpd.conf]

# pkg info
apache22-2.2.26                Version 2.2.x of Apache web server with prefork MPM.
apr-                Apache Portability Library
autoconf-2.69                  Automatically configure source code on many Un*x platforms
autoconf-wrapper-20131203      Wrapper script for GNU autoconf
ca_root_nss-           The root certificate bundle from the Mozilla Project
curl-7.33.0_1                  Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers
db42-4.2.52_5                  The Berkeley DB package, revision 4.2
dialog4ports-0.1.5_2           Console Interface to configure ports
expat-2.1.0                    XML 1.0 parser written in C
freetype2-              Free and portable TrueType font rendering engine
gdbm-1.10                      GNU database manager
gettext-               GNU gettext package
gmake-3.82_1                   GNU version of ‘make’ utility
help2man-1.43.3_1              Automatically generating simple manual pages from program output
libtool-2.4.2_2                Generic shared library support script
libxml2-2.8.0_3                XML parser library for GNOME
m4-1.4.17,1                    GNU m4
p5-Locale-gettext-1.05_3       Message handling functions
pcre-8.33                      Perl Compatible Regular Expressions library
perl5-5.16.3_4                 Practical Extraction and Report Language
pkg-1.2.4_1                    New generation package manager
pkgconf-0.9.3                  Utility to help to configure compiler and linker flags