[HPADM] apache 2 & php

From: BAKHSHESH Kazem (BAKHSHEK@ESSILOR.fr)
Date: Thu Dec 30 2004 - 05:08:47 EST


Hi admins,
 
Does anyone know how can I execute a php instructions in a file with html
extension.
Php works only if the file have .php extension.
 
 
Server: HP B.11.00
Server version: Apache/2.0.49 HP-UX_Apache-based_Web_Server
Server built: Apr 6 2004 21:20:33
 
Here my index.html file
<HTML> <HEAD>
<P> Test for cgi </p>
<FORM action=" <http://fret0063/cgi-bin/test-cgi>
http://fret0063/cgi-bin/test-cgi" method=POST>
<INPUT type="submit" value="Lancer le programme"> </FORM>
<? echo "======================="; echo "Hello world"; ?> ==> Does
not work
<?php echo "======================="; echo "Hello world"; ?> ==> Does
not work

<P>test PHP </p>
<FORM action=" <http://fret0063/index.php> http://fret0063/index.php"
method=POST>
<INPUT type="submit" value="Lancer le programme">
</FORM> </BODY> </HTML>

Cordialement(Best regards)

Kazem Bakhshesh(Administrateur Système : HP-UX)

E-Mail : bakhshek@essilor.fr <mailto:bakhshek@essilor.fr>

Tel : 01.72.94.73.09

 

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:45 EDT