Im trying to set up Apache 2.2 to use the PHP 5 module.
I first of all installed the PHP5 package with
When I try to make the port I get an error saying that the PHP5 package is already installed, but when I run
Running
I'm still new to FreeBSD having come from Linux, but my understanding is presumably if an update to PHP5 or the Apache package is released I will have to rebuild the module? What is the reasoning for this? In Debian apt will keep everything nicely up to date and I was hoping to be able to do the same thing here by using the binary packages
I first of all installed the PHP5 package with
pkg_add -r php5
but then discovered that this doesn't include an Apache module and it appears there isn't a binary package of the Apache module for some reason, I have to build it myself. I can't quite understand the logic of that, given that the core PHP language is provided as a package and Apache is also available as a package, along with umpteen Apache modules for other things, but anyway....When I try to make the port I get an error saying that the PHP5 package is already installed, but when I run
pkg_delete php5
it claims its not installed.Running
pkg_version
shows it listed as installed so how do I delete it? I'm still new to FreeBSD having come from Linux, but my understanding is presumably if an update to PHP5 or the Apache package is released I will have to rebuild the module? What is the reasoning for this? In Debian apt will keep everything nicely up to date and I was hoping to be able to do the same thing here by using the binary packages