php in sid

2004-10-07 Thread Antonio Rodriguez
My system is not recognizing page.php, or script.php, tries to
download it. I have these lines in httpd.conf

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

Would anyone post the corresponding lines, if different?
TIA


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: php in sid

2004-10-07 Thread Sergio Basurto
On Thu, 7 Oct 2004 06:24:01 -0400, Antonio Rodriguez
wrote:

> 
> My system is not recognizing page.php, or script.php,
> tries to
> download it. I have these lines in httpd.conf
> 
> AddType application/x-httpd-php3 .php3
> AddType application/x-httpd-php3-source .phps
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
> 
> Would anyone post the corresponding lines, if
different?
> TIA

If what you are saying is that you want to run a php
script in your apache web server, you can try in
httpd.conf:
LoadModule php4_module /usr/lib/apache/libphp4.so

In fact I think this is not a Linux question. You also
can try:
www.php.net installation manual.

If I have seen further it is by standing on the 
shoulders of giants. (Isaac Newton)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: php in sid

2004-10-07 Thread Sergio Basurto
On Thu, 7 Oct 2004 06:24:01 -0400, Antonio Rodriguez
wrote:

> 
> My system is not recognizing page.php, or script.php,
> tries to
> download it. I have these lines in httpd.conf
> 
> AddType application/x-httpd-php3 .php3
> AddType application/x-httpd-php3-source .phps
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
> 
> Would anyone post the corresponding lines, if
different?
> TIA

If what you are saying is that you want to run a php
script in your apache web server, you can try in
httpd.conf:
LoadModule php4_module /usr/lib/apache/libphp4.so

In fact I think this is not a Linux question. You also
can try:
www.php.net installation manual.

If I have seen further it is by standing on the 
shoulders of giants. (Isaac Newton)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: php in sid

2004-10-07 Thread [KS]
Did you try restarting Apache. I had similar problems
after an update(apt-get upgrade). All php files were
being asked for download by the browser. However, it
was fixed without any editing of config files by
me(everything was fine before update). Possibly the
server restart was responsible for that.

Also, reading /usr/share/doc/php4/README.Debian might
help.

/KS



___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]