Re: firefox, mozilla won't display PHP (Was: Re: firefox, extensions, and *.php pages)

2007-02-03 Thread Ted Mittelstaedt

- Original Message - 
From: Gary Kline [EMAIL PROTECTED]
To: Joe Holden [EMAIL PROTECTED]
Cc: Gary Kline [EMAIL PROTECTED]; FreeBSD Mailing List
freebsd-questions@freebsd.org
Sent: Friday, February 02, 2007 11:08 PM
Subject: Re: firefox, mozilla won't display PHP (Was: Re: firefox,
extensions,and *.php pages)


 On Sat, Feb 03, 2007 at 06:38:10AM +, Joe Holden wrote:
  Gary Kline wrote:
  On Fri, Feb 02, 2007 at 04:53:39PM -0800, Gary Kline wrote:
  
  
  
   Well, the fact that my trying seever firefox addson and the
   failure of firefox and mozilla to display my PHP  files just
   happened to be co-incident.  As of this writing, none of my
   browsers displays my php pages.   I am rebuilding php5; php4
   refuses to build.
  
   If anybody knows if I ought to be building php4, please let me
   know. --I've surfed the web looking for answers; so far,
   nothing-works
  
   (***)
  
   You have chosen to open
  
   [  ]  (blank)
  
   which is a: appplication/x-httpd-php
   from http://www.thought.org
  
 What should Firefox do with this file?
  
   The one of three options *not* greyed out is:
  
   (*) Save to Disk
  
  
   What's going on?  And/or: how did I shoot myself in the foot?
  
   thanks for any insights; a couple of these addon are useful...
  
   gary
  
 
  You've added AddType lines to config, but the module is missing, or
  isn't being loaded presumably.



 Right; after a couple hours tracing, I find that for some reason,
 devel/libtool15 says that regex/regcomp.lo isn't valid.


 output
 [EMAIL PROTECTED]:/usr/ports/lang/php4/work/php-4.4.4# k
 Makefile, line 496: warning: duplicate script for target
 main/internal_functions.lo ignored
 /bin/sh /usr/local/bin/libtool --preserve-dup-deps --mode=link cc
 -export-dynamic -pipe -g -Wall regex/regcomp.lo regex/regexec.lo

 [[ ... ]

 Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo
 Zend/zend_strtod.lo Zend/zend_canary.lo Zend/zend_execute.lo
 sapi/cgi/libfcgi/fcgi_stdio.lo sapi/cgi/libfcgi/fcgiapp.lo
 sapi/cgi/libfcgi/os_unix.lo sapi/cgi/cgi_main.lo sapi/cgi/getopt.lo
 main/internal_functions.lo -lcrypt -lcrypt -lm -lcrypt -lcrypt  -o
 sapi/cgi/php
 libtool: link: `regex/regcomp.lo' is not a valid libtool object
 *** Error code 1

 /output

 I have php4 and apache running on other servers, and there,
 when I point mozilla at a php file, it works, of course..
 --So: nothing to do with the extensions; for unknown reasons,
 php4 will not build.

 Has anybody else experienced this snufu??


Yes.  I assume your building php from the ports?

What you have to do is do a make deinstall in -all- the php4
directories, as well as apache, then cvsupdate your ports,
then do a make install to put everything back together.

If you don't go through the correct make deinstall procedure and you
just try overwriting stuff you will end up with a mess.  That is
probably what happened here.

Ted

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


Re: firefox, mozilla won't display PHP (Was: Re: firefox, extensions, and *.php pages)

2007-02-03 Thread Gary Kline
On Sat, Feb 03, 2007 at 09:28:06AM -0800, Ted Mittelstaedt wrote:
 
 - Original Message - 
 From: Gary Kline [EMAIL PROTECTED]
 To: Joe Holden [EMAIL PROTECTED]
 Cc: Gary Kline [EMAIL PROTECTED]; FreeBSD Mailing List
 freebsd-questions@freebsd.org
 Sent: Friday, February 02, 2007 11:08 PM
 Subject: Re: firefox, mozilla won't display PHP (Was: Re: firefox,
 extensions,and *.php pages)
 
 
  On Sat, Feb 03, 2007 at 06:38:10AM +, Joe Holden wrote:
   Gary Kline wrote:
   On Fri, Feb 02, 2007 at 04:53:39PM -0800, Gary Kline wrote:
   
   
   
Well, the fact that my trying seever firefox addson and the
failure of firefox and mozilla to display my PHP  files just
happened to be co-incident.  As of this writing, none of my
browsers displays my php pages.   I am rebuilding php5; php4
refuses to build.
   
If anybody knows if I ought to be building php4, please let me
know. --I've surfed the web looking for answers; so far,
nothing-works
   
(***)
   
You have chosen to open
   
[  ]  (blank)
   
which is a: appplication/x-httpd-php
from http://www.thought.org
   
  What should Firefox do with this file?
   
The one of three options *not* greyed out is:
   
(*) Save to Disk
   
   
What's going on?  And/or: how did I shoot myself in the foot?
   
thanks for any insights; a couple of these addon are useful...
   
gary
   
  
   You've added AddType lines to config, but the module is missing, or
   isn't being loaded presumably.
 
 
 
  Right; after a couple hours tracing, I find that for some reason,
  devel/libtool15 says that regex/regcomp.lo isn't valid.
 
 
  output
  [EMAIL PROTECTED]:/usr/ports/lang/php4/work/php-4.4.4# k
  Makefile, line 496: warning: duplicate script for target
  main/internal_functions.lo ignored
  /bin/sh /usr/local/bin/libtool --preserve-dup-deps --mode=link cc
  -export-dynamic -pipe -g -Wall regex/regcomp.lo regex/regexec.lo
 
  [[ ... ]
 
  Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo
  Zend/zend_strtod.lo Zend/zend_canary.lo Zend/zend_execute.lo
  sapi/cgi/libfcgi/fcgi_stdio.lo sapi/cgi/libfcgi/fcgiapp.lo
  sapi/cgi/libfcgi/os_unix.lo sapi/cgi/cgi_main.lo sapi/cgi/getopt.lo
  main/internal_functions.lo -lcrypt -lcrypt -lm -lcrypt -lcrypt  -o
  sapi/cgi/php
  libtool: link: `regex/regcomp.lo' is not a valid libtool object
  *** Error code 1
 
  /output
 
  I have php4 and apache running on other servers, and there,
  when I point mozilla at a php file, it works, of course..
  --So: nothing to do with the extensions; for unknown reasons,
  php4 will not build.
 
  Has anybody else experienced this snufu??
 
 
 Yes.  I assume your building php from the ports?
 
 What you have to do is do a make deinstall in -all- the php4
 directories, as well as apache, then cvsupdate your ports,
 then do a make install to put everything back together.
 
 If you don't go through the correct make deinstall procedure and you
 just try overwriting stuff you will end up with a mess.  That is
 probably what happened here.
 


Thanks for the clue!!  Now, is there any way to automagically 
deinstalll all php4 ports?  And:: is php5 worth going for?
From what I've seen of php5, I Like it.

gary



 Ted
 

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: firefox, mozilla won't display PHP (Was: Re: firefox, extensions, and *.php pages)

2007-02-03 Thread Andrew Pantyukhin

On 2/3/07, Gary Kline [EMAIL PROTECTED] wrote:

Thanks for the clue!!  Now, is there any way to automagically
deinstalll all php4 ports?  And:: is php5 worth going for?
From what I've seen of php5, I Like it.


Hi Gary,

why do you indent text in your letters that much?

I'd try pkg_delete -rx php4 and then install php
and everything else that depends on it from scratch.

As for php5, go for it if the apps you use don't
require php4. You'll find support for php5 in most
open-source php-based projects.

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


Re: firefox, mozilla won't display PHP (Was: Re: firefox, extensions, and *.php pages)

2007-02-03 Thread Gary Kline
On Sun, Feb 04, 2007 at 12:11:28AM +0300, Andrew Pantyukhin wrote:
 On 2/3/07, Gary Kline [EMAIL PROTECTED] wrote:
 Thanks for the clue!!  Now, is there any way to automagically
 deinstalll all php4 ports?  And:: is php5 worth going for?
 From what I've seen of php5, I Like it.
 
 Hi Gary,
 
 why do you indent text in your letters that much?


:-)  I'm used to typewriters and tabs.  [[ google `typewriters'
if you are under 55! ]]  

 
 I'd try pkg_delete -rx php4 and then install php
 and everything else that depends on it from scratch.
 
 As for php5, go for it if the apps you use don't
 require php4. You'll find support for php5 in most
 open-source php-based projects.


The last I checked--months--php5 had some more C-like functions.
I had to code workarounds to get the functionality I needed.
Meanwhile, I'm sticking with pre-hacked code; almost everything
is out there somewhere.

 
 Good luck!

thank you.

gary


-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


firefox, mozilla won't display PHP (Was: Re: firefox, extensions, and *.php pages)

2007-02-02 Thread Gary Kline
On Fri, Feb 02, 2007 at 04:53:39PM -0800, Gary Kline wrote:



Well, the fact that my trying seever firefox addson and the 
failure of firefox and mozilla to display my PHP  files just
happened to be co-incident.  As of this writing, none of my
browsers displays my php pages.   I am rebuilding php5; php4
refuses to build.  

If anybody knows if I ought to be building php4, please let me
know. --I've surfed the web looking for answers; so far,
nothing-works  

(***)

 
   You have chosen to open 
 
   [  ]  (blank)
 
   which is a: appplication/x-httpd-php
   from http://www.thought.org
 
 What should Firefox do with this file?
 
   The one of three options *not* greyed out is:
 
   (*) Save to Disk
 
 
   What's going on?  And/or: how did I shoot myself in the foot?
 
   thanks for any insights; a couple of these addon are useful...
 
   gary
 
 
 
 
 -- 
   Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
 

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: firefox, mozilla won't display PHP (Was: Re: firefox, extensions, and *.php pages)

2007-02-02 Thread Joe Holden

Gary Kline wrote:

On Fri, Feb 02, 2007 at 04:53:39PM -0800, Gary Kline wrote:



	Well, the fact that my trying seever firefox addson and the 
	failure of firefox and mozilla to display my PHP  files just

happened to be co-incident.  As of this writing, none of my
browsers displays my php pages.   I am rebuilding php5; php4
	refuses to build.  


If anybody knows if I ought to be building php4, please let me
know. --I've surfed the web looking for answers; so far,
	nothing-works  


(***)

	You have chosen to open 


[  ]  (blank)

which is a: appplication/x-httpd-php
from http://www.thought.org

  What should Firefox do with this file?

The one of three options *not* greyed out is:

(*) Save to Disk


What's going on?  And/or: how did I shoot myself in the foot?

thanks for any insights; a couple of these addon are useful...

gary



You've added AddType lines to config, but the module is missing, or 
isn't being loaded presumably.

--
Joe Holden
Telephone: +44 (0) 207 100 9593
Email: [EMAIL PROTECTED]
Website: http://www.joeholden.co.uk
IRC: [EMAIL PROTECTED]/#FreeBSD
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox, mozilla won't display PHP (Was: Re: firefox, extensions, and *.php pages)

2007-02-02 Thread Gary Kline
On Sat, Feb 03, 2007 at 06:38:10AM +, Joe Holden wrote:
 Gary Kline wrote:
 On Fri, Feb 02, 2007 at 04:53:39PM -0800, Gary Kline wrote:
 
 
 
  Well, the fact that my trying seever firefox addson and the 
  failure of firefox and mozilla to display my PHP  files just
  happened to be co-incident.  As of this writing, none of my
  browsers displays my php pages.   I am rebuilding php5; php4
  refuses to build.  
 
  If anybody knows if I ought to be building php4, please let me
  know. --I've surfed the web looking for answers; so far,
  nothing-works  
 
  (***)
 
 You have chosen to open 
 
 [  ]  (blank)
 
 which is a: appplication/x-httpd-php
 from http://www.thought.org
 
   What should Firefox do with this file?
 
 The one of three options *not* greyed out is:
 
 (*) Save to Disk
 
 
 What's going on?  And/or: how did I shoot myself in the foot?
 
 thanks for any insights; a couple of these addon are useful...
 
 gary
 
 
 You've added AddType lines to config, but the module is missing, or 
 isn't being loaded presumably.



Right; after a couple hours tracing, I find that for some reason,
devel/libtool15 says that regex/regcomp.lo isn't valid.


output
[EMAIL PROTECTED]:/usr/ports/lang/php4/work/php-4.4.4# k
Makefile, line 496: warning: duplicate script for target
main/internal_functions.lo ignored
/bin/sh /usr/local/bin/libtool --preserve-dup-deps --mode=link cc
-export-dynamic -pipe -g -Wall regex/regcomp.lo regex/regexec.lo

[[ ... ]

Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo
Zend/zend_strtod.lo Zend/zend_canary.lo Zend/zend_execute.lo
sapi/cgi/libfcgi/fcgi_stdio.lo sapi/cgi/libfcgi/fcgiapp.lo
sapi/cgi/libfcgi/os_unix.lo sapi/cgi/cgi_main.lo sapi/cgi/getopt.lo
main/internal_functions.lo -lcrypt -lcrypt -lm -lcrypt -lcrypt  -o
sapi/cgi/php
libtool: link: `regex/regcomp.lo' is not a valid libtool object
*** Error code 1

/output

I have php4 and apache running on other servers, and there,
when I point mozilla at a php file, it works, of course..
--So: nothing to do with the extensions; for unknown reasons, 
php4 will not build.   

Has anybody else experienced this snufu??

thanks, Joe.

gary


 -- 
 Joe Holden
 Telephone: +44 (0) 207 100 9593
 Email: [EMAIL PROTECTED]
 Website: http://www.joeholden.co.uk
 IRC: [EMAIL PROTECTED]/#FreeBSD
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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