Re: [PHP]I know I know, but quick Apache/PHP question

2001-12-06 Thread The Big Roach

Chris,

I'm a bit lost... what exactly is your question?

Chris Cocuzzo [EMAIL PROTECTED] wrote in message
010e01c17e0d$d28e72b0$ae687780@webs224">news:010e01c17e0d$d28e72b0$ae687780@webs224...
hey-

I have php 4.0.6 on Win 2k with Apache 1.3.20 ... I figure I'm close to
getting this installed correctly. I've edited my httpd.conf file to the
point where if I call the php file I want, I get the source in the browser

here's what my .conf file says?

ScriptAlias /php/ c:/php/

and then further down in the file...

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php C:/php/php.exe

can someone point me in the right direction ..?

-chris-




-- 
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]I know I know, but quick Apache/PHP question

2001-12-06 Thread Chris Cocuzzo

my apologies.

my question is, how do i solve the problem of having the source show up in
my browser when i call a php page based on the information i provided, or
didn't provide that I should've modified in the .conf file

chris

- Original Message -
From: The Big Roach [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 06, 2001 8:42 AM
Subject: Re: [PHP]I know I know, but quick Apache/PHP question


 Chris,

 I'm a bit lost... what exactly is your question?

 Chris Cocuzzo [EMAIL PROTECTED] wrote in message
 010e01c17e0d$d28e72b0$ae687780@webs224">news:010e01c17e0d$d28e72b0$ae687780@webs224...
 hey-

 I have php 4.0.6 on Win 2k with Apache 1.3.20 ... I figure I'm close to
 getting this installed correctly. I've edited my httpd.conf file to the
 point where if I call the php file I want, I get the source in the browser

 here's what my .conf file says?

 ScriptAlias /php/ c:/php/

 and then further down in the file...

 AddType application/x-httpd-php .php
 AddType application/x-httpd-php-source .phps
 Action application/x-httpd-php C:/php/php.exe

 can someone point me in the right direction ..?

 -chris-




 --
 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 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]I know I know, but quick Apache/PHP question

2001-12-06 Thread Sam2


Un-comment lines like this:

#AddType application/x-httpd-php .php

and these should be there:

AddModule mod_php4.c
LoadModule php4_modulelibexec/libphp4.so

Unless you're using the cgi.

And there might be some stuff I forgot.


-- 
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]I know I know, but quick Apache/PHP question

2001-12-06 Thread Chris Allen

hmm looks right ...are you loading thru the server or are you doing a
file://c/:doc_root/file.php ?


heres the relevant info from my httpd.conf file on windows:

ScriptAlias /php4/ C:/php/
Action application/x-httpd-php4 /php4/php.exe
AddType application/x-httpd-php4 .php


whats a url to check it out ?


-- 
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]