[PHP] help-regarding installation

2002-12-30 Thread celia rexselin
hi all,
 i jus can't get php to work.i've installed apache web
server in windows 2000 platform and tried to run a php
script which is in
d:/work/sample.php.but the browser prints out a
http:404 error saying that the page cannot be
displayed.
in the httpd.conf file,
i 've given the scriptAlias
as ScriptAlias d:/work/ to be treated as /first/

so, when i jus type in http:/localhost/ i get the
screen one usually gets when the apache is sucessfully
installed.and when i type in http://localhost/first/,
those files under the d:/work/ directory get
succesfully listed.but the problem starts when i click
on those scripts.
please help
Thank you.
Celia


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




[PHP] help with installation

2002-09-09 Thread R'twick Niceorgaw

Sure I'm missing some thing silly here but its monday morning :)
I have just installed php 4.2.3 with apache 1.3.26.
I have all loadmodule/addmodule as well as AddType x-httpd-php .php
directives present in httpd.conf. http://myhost/server-info  shows I have
php module loaded. But, when I browse a .php page, it asks me to save/open
the file and if I open it contains the actual source ofthe php file.

Any hints to fix it ?

R'twick



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




RE: [PHP] help with installation

2002-09-09 Thread Matt Schroebel

 From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, September 09, 2002 10:32 AM
 Subject: [PHP] help with installation
 
 Sure I'm missing some thing silly here but its monday morning :)
 I have just installed php 4.2.3 with apache 1.3.26.
 I have all loadmodule/addmodule as well as AddType x-httpd-php .php

Isn't it:
Addtype application/x-httpd-php .php


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




Re: [PHP] help with installation

2002-09-09 Thread R'twick Niceorgaw

I'm sorry.
but that's what I have in the config file. I just wrote it wronge here.
Here's my complete php related configuration


IfDefine PHP4
LoadModule php4_moduleextramodules/libphp4.so
/IfDefine

IfDefine PHP4
AddModule mod_php4.c
/IfDefine

AddType aplication/x-httpd-php .php
AddType application/x-httpd-php-source .phps

- Original Message -
From: Matt Schroebel [EMAIL PROTECTED]
To: 'R'twick Niceorgaw' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, September 09, 2002 10:37 AM
Subject: RE: [PHP] help with installation


  From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED]]
  Sent: Monday, September 09, 2002 10:32 AM
  Subject: [PHP] help with installation
 
  Sure I'm missing some thing silly here but its monday morning :)
  I have just installed php 4.2.3 with apache 1.3.26.
  I have all loadmodule/addmodule as well as AddType x-httpd-php .php

 Isn't it:
 Addtype application/x-httpd-php .php





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




Re: [PHP] help with installation

2002-09-09 Thread @ Edwin

Of course, you restarted Apache?

Also, try leaving this out --- IfDefine PHP4/IfDefine and just write

  LoadModule php4_moduleextramodules/libphp4.so

(Applies to AddModule as well...)

And make sure that the extramodules folder does exists!

- E

On Monday, September 09, 2002 11:43 PM
R'twick Niceorgaw wrote:
 I'm sorry.
 but that's what I have in the config file. I just wrote it wronge here.
 Here's my complete php related configuration
 
 
 IfDefine PHP4
 LoadModule php4_moduleextramodules/libphp4.so
 /IfDefine
 
 IfDefine PHP4
 AddModule mod_php4.c
 /IfDefine
 
 AddType aplication/x-httpd-php .php
 AddType application/x-httpd-php-source .phps

/snip

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