php5 issue

2006-11-06 Thread Michael S
Good day all.

I am trying to install PHP5. For some reason it would
install the php interpreter, but not the Apache
module, and as a result Apache complains when I
restart it, about not being able to load libphp5.so. I
tried to make install (no clean) and find the module
in the work directory of the port, but no luck so far.
Any ideas?

Michael
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php5 issue

2006-11-06 Thread Jonathan Horne
On Monday 06 November 2006 11:56, Michael S wrote:
 Good day all.

 I am trying to install PHP5. For some reason it would
 install the php interpreter, but not the Apache
 module, and as a result Apache complains when I
 restart it, about not being able to load libphp5.so. I
 tried to make install (no clean) and find the module
 in the work directory of the port, but no luck so far.
 Any ideas?

 Michael
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

take a look at the make config in lang/php5 before you begin, and you will see 
how to get the apache module.

cheers,
jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php5 issue

2006-11-06 Thread Matthew Seaman
Michael S wrote:
 Good day all.
 
 I am trying to install PHP5. For some reason it would
 install the php interpreter, but not the Apache
 module, and as a result Apache complains when I
 restart it, about not being able to load libphp5.so. I
 tried to make install (no clean) and find the module
 in the work directory of the port, but no luck so far.
 Any ideas?

That is something that has been covered ad-nauseam in this and other
FreeBSD mailing lists over the last several months.

cd /usr/ports/lang/php5
make config
ensure that the Apache entry is checked
make
make deinstall
make install

Cheers

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: php5 issue

2006-11-06 Thread Michael S
Thanks Mathew,

I realized that, after having posted the question. I
find it kind of weird that the default was not to
install the module.

Thanks a lot.

--- Matthew Seaman [EMAIL PROTECTED]
wrote:

 Michael S wrote:
  Good day all.
  
  I am trying to install PHP5. For some reason it
 would
  install the php interpreter, but not the Apache
  module, and as a result Apache complains when I
  restart it, about not being able to load
 libphp5.so. I
  tried to make install (no clean) and find the
 module
  in the work directory of the port, but no luck so
 far.
  Any ideas?
 
 That is something that has been covered ad-nauseam
 in this and other
 FreeBSD mailing lists over the last several months.
 
 cd /usr/ports/lang/php5
 make config
 ensure that the Apache entry is checked
 make
 make deinstall
 make install
 
   Cheers
 
   Matthew
 
 -- 
 Dr Matthew J Seaman MA, D.Phil. 
  7 Priory Courtyard
 
  Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey   
  Ramsgate
 
  Kent, CT11 9PW
 
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php5 issue

2006-11-06 Thread cpghost

Michael S wrote:

Thanks Mathew,

I realized that, after having posted the question. I
find it kind of weird that the default was not to
install the module.
  


Perhaps to reduce build dependencies? Not everyone has Apache
installed and php-[f]cgi is also useful quite useful with lighttpd.

--
Cordula's Web. http://www.cordula.ws/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php5 issue

2006-11-06 Thread Joerg Pernfuss
On Mon, 06 Nov 2006 11:59:21 -0700
cpghost [EMAIL PROTECTED] wrote:

 Michael S wrote:
  Thanks Mathew,
 
  I realized that, after having posted the question. I
  find it kind of weird that the default was not to
  install the module.

I find it kind of weird that people click right through
`make config' without reading it. 

 Perhaps to reduce build dependencies? Not everyone has Apache
 installed and php-[f]cgi is also useful quite useful with lighttpd.

It probably makes the dynamic dependency on the installed apache
version easier, don't know. php-fcgi works ;)

Joerg
-- 
| /\   ASCII ribbon   |  GnuPG Key ID | e86d b753 3deb e749 6c3a |
| \ / campaign against |0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 |
|  XHTML in email  |.the next sentence is true.   |
| / \ and news | .the previous sentence was a lie.|


signature.asc
Description: PGP signature


Re: php5 issue

2006-11-06 Thread Michael S
Actually, I was installing SugarCRM, and php is one of
it's dependencies and I wasn't presented with a config
screen.

--- Joerg Pernfuss [EMAIL PROTECTED] wrote:

 On Mon, 06 Nov 2006 11:59:21 -0700
 cpghost [EMAIL PROTECTED] wrote:
 
  Michael S wrote:
   Thanks Mathew,
  
   I realized that, after having posted the
 question. I
   find it kind of weird that the default was not
 to
   install the module.
 
 I find it kind of weird that people click right
 through
 `make config' without reading it. 
 
  Perhaps to reduce build dependencies? Not everyone
 has Apache
  installed and php-[f]cgi is also useful quite
 useful with lighttpd.
 
 It probably makes the dynamic dependency on the
 installed apache
 version easier, don't know. php-fcgi works ;)
 
   Joerg
 -- 
 | /\   ASCII ribbon   |  GnuPG Key ID | e86d b753
 3deb e749 6c3a |
 | \ / campaign against |0xbbcaad24 | 5706 1f7d
 6cfd bbca ad24 |
 |  XHTML in email  |.the next sentence
 is true.   |
 | / \ and news | .the previous sentence
 was a lie.|
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php5 issue

2006-11-06 Thread Jeff Hinrichs - DMT


I find it kind of weird that people click right through
`make config' without reading it.


Actually, the apache module was the default until recently.  I
normally set any non-defaut options in pkgtools.conf and keep things
upgraded with portinstall/upgrade.  The change caught me as well.
(BATCH=YES)

Granted the fix was in 20060506 UPDATING, which should be the first
place to go if something goes amiss during an upgrade.  However, there
have been a number of changes to the php family of ports that impacted
people who already had the port installed.  I only wish that when
these types of changes are made to a popular port that the maintainer
would explain the reason for the pain -- due to the quality of the
work done by the port maintainers (excellent, in my opinion) I assume
it was for a good reason -- I just wish I was smart enough to figure
out why or that they would note it, so I could read it and be smarter
for it. g

-Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]