DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Package System (pkgsrc)

NetBSD Package System (pkgsrc) Installation and upgrading of packages on NetBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th January 2010
mgreen mgreen is offline
New User
 
Join Date: Jan 2010
Posts: 6
Thanked 0 Times in 0 Posts
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
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP 5.2.6 and Apache 1.3 dialeight OpenBSD Packages and Ports 1 15th June 2009 03:04 AM
Upgrade Apache 1.3 mod_ssl to Apache 2.2 beandip FreeBSD Ports and Packages 11 26th March 2009 09:12 PM
Apache 1.3 vs. 2.2 windependence FreeBSD General 4 16th June 2008 10:10 PM
Apache & PHP themaster FreeBSD General 2 14th June 2008 05:49 PM
Apache SSL mike171562 FreeBSD General 0 5th May 2008 09:41 PM


All times are GMT. The time now is 05:52 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick