[PHP] webserver response-time, how?

2004-08-04 Thread Tobias Grønlund
Im trying to find a way of getting the responsetime from a remote 
webserver before it actually starts sending some output for your browser 
to read. Any ideas??

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] webserver for mac

2003-08-27 Thread Joel Rees
 I am doing some php work for a local company who uses a mac.  I was telling
 them that I use apache as my webserver and they want to know what they can
 use as their webserver.  I know nothing about Macs and don't think you an
 run apache but I may be all wrong...what do mac owners use for a webserver?

_A_ mac? Do I sense the fragrance of ancient hardware?

First place you want to look is apple.com. After reading the white pages
on Mac OS X and Mac OS X Server, you really should plug apple web
server and macintosh web server and other variants into your favorite
search site and look around. You might even run into the fact that a Mac
(pre-Mac OS X) was once considered practically impenetrable. (I don't
remember if that challenge was ever defeated, the industry just seems to
have moved on.)

More information than you probably want:

Mac OSses 8 and 9 have a personal web server built it. There are also
freeware/shareware servers available that will run on Mac OSses 7 and 8.
There are some commercial webservers, as well, some of which are being
maintained and updated for Mac OS X, one has already been mentioned.

I know of a live site being maintained professionally, serving FileMaker
files on the web with the personal web server under Mac OS 8.6. It's a
low-traffic site, of course.

I think there's still an SE running System 6 and serving (hobby) web
pages somewhere out there, too, just to show it can be done. Haven't
looked for a while.

But you should understand that the Mac OS previous to Mac OS X was
cooperative multitasking, and it was difficult to serve multiple
requests simultaneously on those machines. 

on-topic
It'd surprise me if you could serve php on a pre-Mac OS X machine, but
you can definitely serve perl (MacPerl) on them. As the others have said,
I'd recommend Mac OS X for your customer, for a couple of reasons:

First, php is already installed, or, at least, it was there on Mac OS X
10.2 when I got my copy of that. It needs to be updated for security
reasons, but it is already in place. All I did was uncomment a couple of
lines in httpd.conf and I was testing php pages on my iBook. (Perl is
there, too, of course. Perl 5.8 will probably make it into Panther. Java
is also there, and installing Tomcat/Struts, and the like is not all
that hard.)

Second, unless you need to build an absolutely impenetrable site, you
and your customer will prefer to have the full Unix-family OS underlying
Mac OS X. (Mac OS X is pretty secure, too, anyway. If you need more than
that, you might want to look at openbsd, which, incidentally, does run
on some Mac hardware.)

Third, your customer really doesn't want to serve their site on a box
that is also being used to run applications. So, even if the box they
are thinking of putting the site on isn't a Mac OS X box, they really
want another box, and they might as well get Mac OS X for that box.
/on-topic

-- 
Joel Rees, programmer, Systems Group
Altech Corporation (Alpsgiken), Osaka, Japan
http://www.alpsgiken.co.jp

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] webserver for mac

2003-08-27 Thread Justin French
On Wednesday, August 27, 2003, at 04:49  AM, Richard Baskett wrote:

on 8/26/03 10:50 AM, Edward Peloke at [EMAIL PROTECTED] wrote:

Hello all,

I am doing some php work for a local company who uses a mac.  I was 
telling
them that I use apache as my webserver and they want to know what 
they can
use as their webserver.  I know nothing about Macs and don't think 
you an
run apache but I may be all wrong...what do mac owners use for a 
webserver?

Thanks,
Eddie
My primary machine is a Mac OS X machine and I run Apache, whatever 
version
you would like, PHP, MySQL and all of the other fun stuff.  Plus I
administer a couple xserves and of course they can run it all also.  
Now if
you are using OS 9 then tell them they need to upgrade to OS X.  OS 9 
just
has too many problems and shouldnt be used as a webserver in my 
opinion.
Actually, to the best of my knowledge you cannot run a decent server on 
Mac OS  10 (X), and certainly can't run PHP/MySQL, which is the main 
reason I upgraded to OSX.

But if they're running anything less than a G4, Mac OSX may be too 
hungry?!?

Justin

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] webserver for mac

2003-08-27 Thread MIKE YRABEDRA
on 8/27/03 8:40 AM, Justin French at [EMAIL PROTECTED] wrote:

 Actually, to the best of my knowledge you cannot run a decent server on
 Mac OS  10 (X), and certainly can't run PHP/MySQL, which is the main
 reason I upgraded to OSX.
 
 But if they're running anything less than a G4, Mac OSX may be too
 hungry?!?
 
 Justin


Actually you can, 4D Webstar (4.5 on Mac Classic). So secure and stable that
the US Army used it for their web site.

Having said that, let me also say that WebSTAR is crap compared to Apache.
:-)



++
Mike Yrabedra (President)
323 Incorporated 
Home of MacDock.com, MacAgent.com and MacShirt.com
++
W: http://www.323inc.com/
P: 770.382.1195
F: 734.448.5164
E: [EMAIL PROTECTED]
I: ichatmacdock
++
Whatever you do, work at it with all your heart,
as working for the Lord, not for men.
~Colossians 3:23 {{{
++

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] webserver for mac

2003-08-26 Thread Edward Peloke
Hello all,

I am doing some php work for a local company who uses a mac.  I was telling
them that I use apache as my webserver and they want to know what they can
use as their webserver.  I know nothing about Macs and don't think you an
run apache but I may be all wrong...what do mac owners use for a webserver?

Thanks,
Eddie

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] webserver for mac

2003-08-26 Thread Larry E . Ullman
what do mac owners use for a webserver?
OS X users (Server and Client) use Apache 1.x, which is built-in. 
People with earlier versions of the operating system (OS 9 and earlier) 
used WebStar (I don't know if it supports PHP) or WebTen by Tenon 
(which is just a version of Apache and does support PHP). There may be 
others but those are the big two, I believe.

Larry

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] webserver for mac

2003-08-26 Thread Mark Bomgardner
[PHP] webserver for macIf your company is using MAC OS X, apache is the built in 
webserver.  If they are using less than that, apache is not going to work.  I would 
suggest that you have your client use OS X.  You can use the single user version if 
you are going to host just one site, if it's going to multiple site, user OS X Server.
  - Original Message - 
  From: [EMAIL PROTECTED] 
  To: [EMAIL PROTECTED] Php. Net 
  Sent: Tuesday, August 26, 2003 12:50 PM
  Subject: [PHP] webserver for mac


  Hello all, 

  I am doing some php work for a local company who uses a mac.  I was telling 
  them that I use apache as my webserver and they want to know what they can 
  use as their webserver.  I know nothing about Macs and don't think you an 
  run apache but I may be all wrong...what do mac owners use for a webserver? 

  Thanks, 
  Eddie 

  -- 
  PHP General Mailing List (http://www.php.net/) 
  To unsubscribe, visit: http://www.php.net/unsub.php 


Re: [PHP] webserver for mac

2003-08-26 Thread andu
On Tue, 26 Aug 2003 13:50:27 -0400
[EMAIL PROTECTED] (Edward Peloke) wrote:

 Hello all,
 
 I am doing some php work for a local company who uses a mac.  I was
 telling them that I use apache as my webserver and they want to know
 what they can use as their webserver.  I know nothing about Macs and
 don't think you an run apache but I may be all wrong...what do mac
 owners use for a webserver?

MacOS X runs Apache PHP MYSQL and probably anything else that you can
run on Linux/BSD. Actually it comes with Apache as default server.

 
 Thanks,
 Eddie
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] webserver for mac

2003-08-26 Thread Richard Baskett
on 8/26/03 10:50 AM, Edward Peloke at [EMAIL PROTECTED] wrote:

 Hello all,
 
 I am doing some php work for a local company who uses a mac.  I was telling
 them that I use apache as my webserver and they want to know what they can
 use as their webserver.  I know nothing about Macs and don't think you an
 run apache but I may be all wrong...what do mac owners use for a webserver?
 
 Thanks,
 Eddie

My primary machine is a Mac OS X machine and I run Apache, whatever version
you would like, PHP, MySQL and all of the other fun stuff.  Plus I
administer a couple xserves and of course they can run it all also.  Now if
you are using OS 9 then tell them they need to upgrade to OS X.  OS 9 just
has too many problems and shouldn¹t be used as a webserver in my opinion.

Cheers!

Rick

Do all the good you can, By all the means you can, In all the ways you can,
In all the places you can, At all the times you can, To all the people you
can, As long as ever you can. - John Wesley

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Webserver-Administration

2002-10-28 Thread Jochen Kächelin
How can I use PHP to admin my Apache over the browser?

How do big providers allow their customers to admin their
subdomains, forwarders, ftp-accounts  over the webbrowser?

Apache should not run under the root account, or?!


-- 
Jochen Kaechelin


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Webserver-Administration

2002-10-28 Thread Adam Williams
look up webmin on your favorite search engine.

Adam

On Mon, 28 Oct 2002, [ISO-8859-1] Jochen Kächelin wrote:

 How can I use PHP to admin my Apache over the browser?

 How do big providers allow their customers to admin their
 subdomains, forwarders, ftp-accounts  over the webbrowser?

 Apache should not run under the root account, or?!





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] WebServer

2001-12-29 Thread Brent Rieck

Ricardo,
  I'd bet that behind a 256kbps connection you'll run out of bandwidth
long before you run out of CPU, memory, or disk on any machine that
costs more than about $500USD - but your mileage may vary depending on
your application.  My personal experience is that behind my DSL
connection, I run out of bandwidth far before I run out of CPU and
memory on my PII 233 that's running a reasonably complex web app with 
heavy DB usage.  

--Brent


On Fri, 2001-12-28 at 05:30, rick wrote:
  
 Dear Members  ,
 
   Does anybody of you have a webserver at home 
 using ADSL or other connections ?
 
 If any , could you tell me What would be the acceptable Hardware to run 
 5 or more sites  at home with an
 256 k ADSL ? (Memory , proccesor , etc etc )
 
 
 Do I have to have Two Servers ? (The WebServer ) and the Intranet Server 
 to access through my computer ?
 
 Would you help me please in a near future with a few questions about how 
 to set up and so on .???
 
 
 Thanks  guys in advance
 
 Ricardo
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] WebServer

2001-12-29 Thread LaserJetter

AOL UK say their ADSL service isnt good for hosting because it is
asymmetrical: you can download data faster than you can send it out which is
fine for surfing the net but not so useful for running a server.(I just
think AOL dont want people hosting servers using their service though!)
We have a PHP webserver at school: It doesnt get heavy useage but we run
VNC, a chat server, ftp server, MySQL and Apache/PHP on Win98 and dont have
any problems with performance!



Brent Rieck [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Ricardo,
   I'd bet that behind a 256kbps connection you'll run out of bandwidth
 long before you run out of CPU, memory, or disk on any machine that
 costs more than about $500USD - but your mileage may vary depending on
 your application.  My personal experience is that behind my DSL
 connection, I run out of bandwidth far before I run out of CPU and
 memory on my PII 233 that's running a reasonably complex web app with
 heavy DB usage.

 --Brent


 On Fri, 2001-12-28 at 05:30, rick wrote:
 
  Dear Members  ,
 
Does anybody of you have a webserver at home
  using ADSL or other connections ?
 
  If any , could you tell me What would be the acceptable Hardware to run
  5 or more sites  at home with an
  256 k ADSL ? (Memory , proccesor , etc etc )
 
 
  Do I have to have Two Servers ? (The WebServer ) and the Intranet Server
  to access through my computer ?
 
  Would you help me please in a near future with a few questions about how
  to set up and so on .???
 
 
  Thanks  guys in advance
 
  Ricardo
 
 




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] WebServer

2001-12-28 Thread rick

 
Dear Members  ,

  Does anybody of you have a webserver at home 
using ADSL or other connections ?

If any , could you tell me What would be the acceptable Hardware to run 
5 or more sites  at home with an
256 k ADSL ? (Memory , proccesor , etc etc )


Do I have to have Two Servers ? (The WebServer ) and the Intranet Server 
to access through my computer ?

Would you help me please in a near future with a few questions about how 
to set up and so on .???


Thanks  guys in advance

Ricardo





Re: [PHP] WebServer

2001-12-28 Thread Miles Thompson

Rick,

Comments intersperesed below ...
On Friday 28 December 2001 09:30 am, rick wrote:
 Dear Members  ,

   Does anybody of you have a webserver at home
 using ADSL or other connections ?

The answer is that depends For example my telco has me behind their own firewall, 
and the IP number my NIC is seeing is 10.38.73.5 but the outside world sees as
142.177.238.56. Ah, the magic of NAT.

This can be overcome by using one of the, for lack of a better term, IP aliasing 
services, 
like dynamicdns.org.  Their software constantly monitors the IP you come from and 
maintains
a routing table. Thus someone looking for www.mysite.ca, would first of all be 
directed to them, 
and then to my IP.

If you are fortunate enough to have a fixed IP number, the above is moot.


 If any , could you tell me What would be the acceptable Hardware to run
 5 or more sites  at home with an
 256 k ADSL ? (Memory , proccesor , etc etc )

Depends on traffic and what you're serving and the level of traffic. If mostly static 
web 
pages, almost anything from a P100 on up. RAM is always good. Many phone companies
meter traffic and allow only so many free gigabytes permonth, then they start 
charging. 

If you're not supposed to be running a web server on your connection, that's how 
they'll find you.

 Do I have to have Two Servers ? (The WebServer ) and the Intranet Server
 to access through my computer ?

This is really off  topic for the list, and better addressed through a security site. 
Do a Google
search on firewall DMZ and you will find some very comprehensive articles, ranging 
from
general overviews to specific recommendations.

Generally the stuff at risk is on the web server and beyond, or on, your firewall 
machine. 
Important stuff is behind the firewall. 

 Would you help me please in a near future with a few questions about how
 to set up and so on .???

That's not really PHP specific, and would be better addressed on a security or 
webserver
list. (Note how apolitical I'm being, not assuming you are using Linux or BSD and 
Apache.)

 Thanks  guys in advance

You're welcome. There is some really good stuff out there.

Miles Thompson

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Webserver response lockup

2001-10-23 Thread Viktor Kollarik

Hi all,

I'm using Apache 1.3.22 with PHP 4.0.6 running on linux with kernel 2.4.12.
Some PHP pages very often get my server into the state show below:
This an example from my server-status
  8-9  12249  0/0/0  W  0.00  2451  1196595285  0.0  0.00  0.00
212.55.224.66  shadow.ana.sk  POST /admin/page_detail.php HTTP/1.0


After some amount of time - within an hour - all my server threads are in
the state W - i.e. Sending Reply and the webserver starts responding
unexpectedly, mainly PHP scrips are run uncorrectly.
Has anyone experienced a problem like this? Can anybody give a hint?

Thank You all

Viktor Kollarik




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]