Howto add in extra PHP module support into pfsense
sash99 last edited by
Here a howto add in extra php support into pfsense
you need to add extra php module support int pfsense for database manipulation or what have you.
here is the easiest way to do it
your software is found here:
you use php52 modules for pfsense
the biggest problem with pfsense is that installing php modules directly will break it.
for some strange reason if certain file are reinstalled it breaks pfsense..
so you will have to step through the install skipping files that are already installed.
the easiest way to do it is with the use of pkg_add -rfi and pkg_info -r
pkg_info -r http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/8.1-RELEASE/packages/All/php52-XXXXX.tbz of the package you want to install ( XXXXX representing the name of the package )
pkg_add -rfi http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/8.1-RELEASE/packages/All/php52-XXXXX.tbz
(this forces only to install the PHP portion of the package )
this will list the broken dependency
compare the broken dependency name to the pkg_info list if you can not determine which file it belongs to do a google search to determine it
once you determined the file copy and paste the name from the pkg_info list to where the XXXXX are in the line below and enter .
then do a
it will list the next dependency
now repeat step 2 until no more broken dependencies
now do a
(YYYY being the name of the module minus the version/release numbers)
when you are back at the shell main menu screen , if all went well the it should look normal if something got broke you usually displays an error here..
restart the computer all should be work fine afterwards
the background software such as mysql server can usually be installed normally with
pkg_add -r http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/8.1-RELEASE/packages/All/ZZZZZZ.tbz
if by some chance it does break it (has not happen to me yet) you most likely will have to step through the installation the same way as mention above
good luck have fun :)