View Single Post
  #1   (View Single Post)  
Old 27th January 2010
mgreen mgreen is offline
New User
 
Join Date: Jan 2010
Posts: 6
Default Apache 2.2.14 and PHP

Hello
I am new on NetBSD so I apologise in advance if my questions are tiresome.

I installed apache-2.2.14 and it works fine. Now I am trying to install PHP. I installed libxml2-2.7.6 and xmlcatmgr-2.2.nb1 . Now when I try to pkg_add ap2-php5-5.2.12nb1 I get

A different version of apache-2.0.63nb5 is already installed:apache-2.2.14
Can't install dependency apache>=2.0.51<2.2

Ok so I may have the wrong ap2-php5 package but I cant see any others ?

When I first installed apache I went to ftp.netbsd.org but somewhere in there which I cant now find a README said for 5.0.1 release use
nyftp.netbsd.org and that is where I have got everything from so far.

Is that correct ?

Also when I did pkg_add for apache it never installed the dependency packages and I had to go get them (apr-1.3.9 apr-util-1.3.9) where as in the PHP case it is worrying about the apache version. Is this just a case of how the particular package has been built or should I be using more parameters to pkg add ?

Finally may I ask Am I installing the correct PHP package anyway ?
My goal is to enable PHP in both ways with my apache 2.2.14

mgreen
Reply With Quote