php-install Digest 19 Aug 2003 13:43:43 -0000 Issue 1507

Topics (messages 11448 through 11459):

Re: php 4.3.2 + mysql 4.0.14 + apache 1.3.14 + openssl 0.9.6 + RedHat 6.1
        11448 by: Edgar Bonet
        11455 by: Charlie Smith

RH8 Apache 2.0.40 php4 problem
        11449 by: Richard Gillman

Re: Wicked screensaver
        11450 by: trent.low.ru
        11454 by: majordomo.lists.tislabs.com
        11458 by: jason.php.net

Re: Your application
        11451 by: maligui.mvillage.com

Thank you!
        11452 by: rasmus.php.net

rights problem with php and apache
        11453 by: Tetzner, Andreas

Re: My details
        11456 by: nick.easysoft.com

test
        11457 by: James Cox

Re: Approved
        11459 by: group.php.net

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Hello!

On Tuesday August 19, 00:22, James Hughbanks wrote:
> [...] go to the bottom of your config, or after any Line that has 
> AddType in it, and add the following if not in the file:
> AddType       application/x-httpd-php .php
> This will tell apache that .php is not just a file, but to hand it off 
> to PHP to parse.

And isn't there any way to tell Apache to parse this file through
mod_php, _without_ changing the file type? I am still annoyed by the
problem exposed in message
<[EMAIL PROTECTED]>.

Regards,

Edgar.

--- End Message ---
--- Begin Message ---

On 08/19/03 05:49AM, "Edgar Bonet" <[EMAIL PROTECTED]>  wrote:
Hello!

On Tuesday August 19, 00:22, James Hughbanks wrote:
> [...] go to the bottom of your config, or after any Line that has 
> AddType in it, and add the following if not in the file:
> AddType       application/x-httpd-php .php
> This will tell apache that .php is not just a file, but to hand it off 
> to PHP to parse.

And isn't there any way to tell Apache to parse this file through
mod_php, _without_ changing the file type? I am still annoyed by the
problem exposed in message
<[EMAIL PROTECTED]>.

Regards,

Edgar.



Re:
I noticed an item in some documentation on PHPEsp that indicates:
... RedHat 8.0 APache 2.x RPMS have the output filter set (SetHoutputFilter directive) 
and MUST NOT have the above AddType directive added.   Could anyone verify this?


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




------------------------------------------------------------------------------
This message may contain confidential information, and is intended only for the use of 
the individual(s) to whom it is addressed.


==============================================================================


--- End Message ---
--- Begin Message --- I can't get PHP working.

I've got Apache 2.0.40 on a RedHat 8 system. /usr/lib/httpd/modules/libphp4.so exists. Both are straight out of the box Redhat 8 distribution.

/etc/httpd/conf.d contains a file php.conf, which contains apache command
LoadModule php4-module modules/libphp4.so

I understand php.conf is read by Apache at startup, and causes the php module to be loaded. (Before I worked this out, I had the same LoadModule in /etc/httpd/conf/httpd.conf, and got the message "module php4-module is already loaded, skipping" whenever I started Apache.)

If I go to my /server-info URL, there is no mention of php; other modules appear to have loaded OK.

If I point my browser to my test.php page, I get blank, not even source. The access is logged to to the Apache access log, there is no error reported in the error log.

Any help would be appreciated.

Reply directly to me; I will summarise to the list.

Thanks in advance, Dick


-- Richard Gillman iTSS UNIX Systems Group, Maclean Building, Wallingford OX10 8BB Tel: 01491 - 692 339


--- End Message ---
--- Begin Message ---
See the attached file for details

--- End Message ---
--- Begin Message ---
Please see the attached file for details.

--- End Message ---
--- Begin Message ---
See the attached file for details

--- End Message ---
--- Begin Message ---
Please see the attached file for details.

--- End Message ---
--- Begin Message ---
Please see the attached file for details.

--- End Message ---
--- Begin Message ---
I have a problem with PHP and Apache 1.3.27. A little PHP script reads a
.txt file and shows it. The user have to write some numbers into the text
and the script wrote the whole text into the file by press a button. This is
the script:

----------------------------------------------------------------
<? php;
$dateiname = "Messdaten.txt" ;

if($nachricht!=""){
$nachrichts = stripslashes($nachricht);
$di = fopen($dateiname, "w+" );
fwrite ($di, $nachrichts);
fclose($di);
echo "<b>Aenderungen gespeichert!<br></b>";
}
else {
echo "<b>Bitte die Messwerte eintragen, aber sonst nichts
veraendern!<br></b>";
}
;

$dii = fopen($dateiname, "r" );
$te = fread( $dii, filesize($dateiname));
echo "<form action=$PHP_SELF method=\"post\"><TEXTAREA name=\"nachricht\"
cols=\"80\" rows=\"12\" wrap=\"hard\">$te</TEXTAREA><br><input type=submit
name=\"Speichern\" value=\"OK Abspeichern\"></form>";
fclose($dii);

?>

-------------------------------------------------------------------
and this is the error message:

-------------------------------------------------------------------


Forbidden
You don't have permission to access
/DOKU/307017/3070177_Pos3_31_NA_sl_hrc/3070177__Pos3.31neu_160603/Messpunkte
/method="post" on this server.

----------------------------------------------------------------------------
----

Apache/1.3.27 Server at nc-srv1 Port 80



Hope there is anyone who helps me!
I´m not a PHP professional.


Andreas 



---------------------------------------
Bitte beachten Sie, dass diese Email vertrauliche und/oder rechtlich geschuetzte 
Informationen enthalten kann. Der Inhalt ist ausschliesslich fuer den bezeichneten 
Adressaten bestimmt. Wenn Sie nicht der richtige Adressat oder dessen Vertreter sind, 
setzen Sie sich bitte mit dem Absender der Email in Verbindung. Jede Form der 
Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts fehlgeleiteter Emails 
ist unzulaessig.

Es wird darauf hingewiesen, dass diese Email durch MAILsweeper von Clearswift auf 
Content Security-Gefahren und Viren geprueft wurde.
---------------------------------------


--- End Message ---
--- Begin Message ---
Please see the attached file for details.

--- End Message ---
--- Begin Message ---
This is just a test to see who bounces back at me.

 -- [EMAIL PROTECTED]

--
James Cox :: james at imajes dot info :: http://imajes.info/ 
Was I helpful?
http://www.amazon.co.uk/exec/obidos/wishlist/23IVGHQ61RJGO/

Roses are red Violets are blue Some poems rhyme But not this 



--- End Message ---
--- Begin Message ---
See the attached file for details

--- End Message ---

Reply via email to