Re: PHP4 & Apache

2000-10-11 Thread will trillich
On Wed, Oct 11, 2000 at 01:35:18PM +, Steve Simons wrote: > Could someone please explain, in idiot-level detail, how to get a .php > file to display correctly in Netscape. > > I apt-get installed PHP4 (which included Apache) a few days ago. I've > started Apache okay with: > > LoadModule php

Re: PHP4 & Apache

2000-10-11 Thread will trillich
On Wed, Oct 11, 2000 at 02:56:49PM +, Steve Simons wrote: > > > On Wed, 11 Oct 2000, Liam Ward wrote: > > > I'm currently using PHP3 and my config files have similar stuff to > > yours (but without the PHP4 bits, obviously enough). > > > > You're looking in the wrong place here. Netscape d

Re: PHP4 & Apache

2000-10-11 Thread Steve Simons
On Wed, 11 Oct 2000 15:10:50 Andrew Sullivan wrote: > called, either. I think you'd need to convince apache that php=php4, > by adding a line > > application/x-httpd-php4 php > > (and, I guess, adjusting the other line that includes "php" not to > include that extension).

Re: PHP4 & Apache

2000-10-11 Thread Andrew Sullivan
On Wed, Oct 11, 2000 at 03:52:43PM +, Steve Simons wrote: > I'm now using PHP.net's own example: > > > Example > > > > echo "Hi, I'm a PHP script!"; > ?> > > > Yes, that ought to work. > > Do yo

Re: PHP4 & Apache

2000-10-11 Thread Steve Simons
On Wed, 11 Oct 2000, Andrew Sullivan wrote: > Are you sure your script is good? (Did you try a script with _just_ > phpinfo() in it, plus exit;?) I'm now using PHP.net's own example: Example > Does apache h

Re: PHP4 & Apache

2000-10-11 Thread Andrew Sullivan
On Wed, Oct 11, 2000 at 02:56:49PM +, Steve Simons wrote: > Nope - that doesn't work either, it doesn't want to download it, but > nothing is displayed. Are you sure your script is good? (Did you try a script with _just_ phpinfo() in it, plus exit;?) Does apache have the php module loaded?

Re: PHP4 & Apache

2000-10-11 Thread Steve Simons
On Wed, 11 Oct 2000, Liam Ward wrote: > I'm currently using PHP3 and my config files have similar stuff to > yours (but without the PHP4 bits, obviously enough). > > You're looking in the wrong place here. Netscape does not need to > know anything special to process PHP. It's Apache that spot

Re: PHP4 & Apache

2000-10-11 Thread Liam Ward
Steve, On 11 Oct 2000, at 13:35, Steve Simons wrote: > Could someone please explain, in idiot-level detail, how to get a .php > file to display correctly in Netscape. I'm currently using PHP3 and my config files have similar stuff to yours (but without the PHP4 bits, obviously enough). (BTW, I

RE: PHP4 & Apache

2000-06-22 Thread Brooks R. Robinson
In addition to adding the types check to make sure that apache has loaded the php module. For php3, In your /etc/apache/httpd.conf you need a line similar to: LoadModule php3_module /usr/lib/apache/1.3/libphp3.so But of course your mileage may vary. Have fun, Brooks > -Or

Re: PHP4 & Apache

2000-06-22 Thread Lee Willis
"Dr. Orange" <[EMAIL PROTECTED]> writes: > I just installed php4. Having restarted apache i connect to the site with > > my browser and it indicates that i've started a file of type > > "application/x-httpd-php3"