Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to install without compiling them through the ports? I installed Apache from packages and it works, but pkg_add -r php53 doesn't install mod_php5.so/libphp5.so. I experiment on FreeBSD 9.1-RELEASE.

share|improve this question
up vote 1 down vote accepted

I believe you only have two options:

  1. Compile the apache22 port with the php5 option on your server.
  2. Compile the apache22 port on a local machine, create your own custom package, and install that on your server.
share|improve this answer

Simply you can use these commands:

# portsnap fetch
# portsnap extract
# portsnap upgrade
# pkg install apache24
# pkg install phpmyadmin
# pkg install php5

So everything will be installed successfully right to go ahead.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.