Re: need help with apache22 and libphp5.so

2010-06-08 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/06/2010 03:58:13, Gary Kline wrote:
   question number one, which port builds the apache php5
   library?  number two; is there one that will resolve the
   missing 'ap_user_id'?

Do you now, or did you once have apache13 installed on this machine?  It
sounds as if your lang/php5 port has linked against the wrong apache
version.

There have been some pretty important changes to the apache ports
recently.  Principally nowadays you have to have a separate devel/apr1
port installed, instead of defaulting to the one bundled with apache.
See the 20100518 entry in /usr/ports/UPDATING.  If you follow the
instructions there to reinstall www/apache22, then reinstall lang/php5
and all php5- or pecl- modules it should work better.

Optionally, you can add APACHE_PORT= www/apache22 to /etc/make.conf
but it should come right without having to do that.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwN3FQACgkQ8Mjk52CukIyuKACcCZOooVkGIULlKoxEo2rgvSdl
dHYAoIVSn4pL8vkvUj6dVbmldiC+3Eb9
=bluo
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: need help with apache22 and libphp5.so

2010-06-08 Thread Gary Kline
On Tue, Jun 08, 2010 at 06:59:48AM +0100, Matthew Seaman wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 08/06/2010 03:58:13, Gary Kline wrote:
  question number one, which port builds the apache php5
  library?  number two; is there one that will resolve the
  missing 'ap_user_id'?
 
 Do you now, or did you once have apache13 installed on this machine?  It
 sounds as if your lang/php5 port has linked against the wrong apache
 version.


Yes, and it is beyond bizarre since i've been using apache22
since jan, '08.   i've followed the instructions in UPDATING
more than a dzn times since 6p.m. or so  i finally looked
[and Saw]  that libphp5.so was going into apache22 rather
than apache/; i.e.:
/usr/local/libexec/apache/libphp5.so.  i'm almost certain.

it took more than three months late last summer - fall to
move my server off an ancient hp tower and into a duo-core
dell.  in the end i jmay have done a wholesale copy of the
binaries and done many upgrades.  hours ago i did indeed have
to delete apache13.  
 
 There have been some pretty important changes to the apache ports
 recently.  Principally nowadays you have to have a separate devel/apr1
 port installed, instead of defaulting to the one bundled with apache.

Right.  AS of 18may or so i guess the default is to use the
portable runtime libs [pl].  prior to this i was not AFAIK.
I keep the apache22 ports reasonably current by default, and
had not realized that my last portmaster and portupgrades had
gione awry.  By sheer chance late afternoon i saw one of my
tabs was labelled with Error...  


 See the 20100518 entry in /usr/ports/UPDATING.  If you follow the
 instructions there to reinstall www/apache22, then reinstall lang/php5
 and all php5- or pecl- modules it should work better.
 
 Optionally, you can add APACHE_PORT= www/apache22 to /etc/make.conf
 but it should come right without having to do that.
 


I hath donne that, Sire.  {it may be a wee bit olde fashioned
to used /etc/make.conf to write such in stone, but by the
time apache22 is at, say, apache3x, i shall be long
departed!}


   Cheers,
 
si, and Proost or na zdravi!

gary

oh, and santay[sp?]



   Matthew
 
 - -- 
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
   Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
 -BEGIN PGP SIGNATURE-
 Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAkwN3FQACgkQ8Mjk52CukIyuKACcCZOooVkGIULlKoxEo2rgvSdl
 dHYAoIVSn4pL8vkvUj6dVbmldiC+3Eb9
 =bluo
 -END PGP SIGNATURE-

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

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


need help with apache22 and libphp5.so

2010-06-07 Thread Gary Kline

i'v been having trouble upgrading stuff for the past n weeks.  i
just noticed that my web server won't build.  or/when it does, it
won't start.  i just fired off /usr/local/sbin/apachetl -k start
and get:



httpd: Syntax error on line 104 of
/usr/local/etc/apache22/httpd.conf: Cannot load
/usr/local/libexec/apache22/libphp5.so into server: Cannot open
/usr/local/libexec/apache22/libphp5.so

When i try to locate this file, i find it in apache/libphp5.so:


r...@ethic:/usr/local/sbin# locate php5.so
/usr/local/libexec/apache/libphp5.so

Can anybody explain the recent changes?  i did read UPDATING, but
didn't get that much out of it...

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

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


Re: need help with apache22 and libphp5.so

2010-06-07 Thread Gary Kline
On Mon, Jun 07, 2010 at 06:21:11PM -0700, Gary Kline wrote:
 
 i'v been having trouble upgrading stuff for the past n weeks.  i
 just noticed that my web server won't build.  or/when it does, it
 won't start.  i just fired off /usr/local/sbin/apachetl -k start
 and get:
 
 
 
 httpd: Syntax error on line 104 of
 /usr/local/etc/apache22/httpd.conf: Cannot load
 /usr/local/libexec/apache22/libphp5.so into server: Cannot open
 /usr/local/libexec/apache22/libphp5.so
 
 When i try to locate this file, i find it in apache/libphp5.so:
 
 
 r...@ethic:/usr/local/sbin# locate php5.so
 /usr/local/libexec/apache/libphp5.so
 
 Can anybody explain the recent changes?  i did read UPDATING, but
 didn't get that much out of it...
 

{*}


guys, i understand that it is 'improper' to reply to one's
own post, esp'ly the first reply, but i have discovered more
of what is ggoing on.  

First, i tried to start apache22 with the script in
/usr/local/etc/rc.d; same outcome, just same results are
starting the binary directly.  nonetheless,  i edited the
httpd.conf in /usr/local/etc/apache22.  i corrected the
libphp.so directory to read 'apache' rather than 'apache22'.

so the library is presumably loaded, then something else is
missing.  i cannot find ap_user_id; neither locate nor a
recursive grep finds this string.  

when i exec the /usr/local/etc/rc.d/apache22 with 'configtest'
as an arg i get this:


Performing sanity check on apache22 configuration:
httpd: Syntax error on line 104 of /usr/local/etc/apache22/httpd.conf: Cannot 
load /usr/local/libexec/apache/libphp5.so into server: 
/usr/local/libexec/apache/libphp5.so: Undefined symbol ap_user_id
r...@ethic:/usr/local/etc/rc.d# 
 


question number one, which port builds the apache php5
library?  number two; is there one that will resolve the
missing 'ap_user_id'?

several months ago i built a friend's website; he is is
contruction which is hurting; i figured having a website
might give him an edge.  no ..  this was gratis.  not dime,
dollar, nor favor is involved.  i would like to get apache up
for myself and my friend.  gotta say that this port wasn't
handled very well in /usr/ports/UPDATING.  OR, too, i may be
the idiot de jour.  i only care that my webserver gets up
again, so thanks for any clues!

gary


 
 
 
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

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


Re: need help with apache22 and libphp5.so

2010-06-07 Thread Jeremy Johnston
On 06/07/10 19:58, Gary Kline wrote:
 On Mon, Jun 07, 2010 at 06:21:11PM -0700, Gary Kline wrote:
   
 i'v been having trouble upgrading stuff for the past n weeks.  i
 just noticed that my web server won't build.  or/when it does, it
 won't start.  i just fired off /usr/local/sbin/apachetl -k start
 and get:



 httpd: Syntax error on line 104 of
 /usr/local/etc/apache22/httpd.conf: Cannot load
 /usr/local/libexec/apache22/libphp5.so into server: Cannot open
 /usr/local/libexec/apache22/libphp5.so

 When i try to locate this file, i find it in apache/libphp5.so:


 r...@ethic:/usr/local/sbin# locate php5.so
 /usr/local/libexec/apache/libphp5.so

 Can anybody explain the recent changes?  i did read UPDATING, but
 didn't get that much out of it...

 
 {*}


   guys, i understand that it is 'improper' to reply to one's
   own post, esp'ly the first reply, but i have discovered more
   of what is ggoing on.  

   First, i tried to start apache22 with the script in
   /usr/local/etc/rc.d; same outcome, just same results are
   starting the binary directly.  nonetheless,  i edited the
   httpd.conf in /usr/local/etc/apache22.  i corrected the
   libphp.so directory to read 'apache' rather than 'apache22'.

   so the library is presumably loaded, then something else is
   missing.  i cannot find ap_user_id; neither locate nor a
   recursive grep finds this string.  

   when i exec the /usr/local/etc/rc.d/apache22 with 'configtest'
   as an arg i get this:


 Performing sanity check on apache22 configuration:
 httpd: Syntax error on line 104 of /usr/local/etc/apache22/httpd.conf: Cannot 
 load /usr/local/libexec/apache/libphp5.so into server: 
 /usr/local/libexec/apache/libphp5.so: Undefined symbol ap_user_id
 r...@ethic:/usr/local/etc/rc.d#   



   question number one, which port builds the apache php5
   library?  number two; is there one that will resolve the
   missing 'ap_user_id'?

   several months ago i built a friend's website; he is is
   contruction which is hurting; i figured having a website
   might give him an edge.  no ..  this was gratis.  not dime,
   dollar, nor favor is involved.  i would like to get apache up
   for myself and my friend.  gotta say that this port wasn't
   handled very well in /usr/ports/UPDATING.  OR, too, i may be
   the idiot de jour.  i only care that my webserver gets up
   again, so thanks for any clues!

   gary


   


 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
   

the lang/php5 (or lang/php52) port builds the apache module. you will
need to rebuild the php port.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org