Do you have a line like this in your httpd.conf file?

   AddType application/x-httpd-php .php

This line says that any files ending with .php will be parsed for PHP
tags.  Your index.html.en file does not end in .php and will thus not be
parsed for PHP tags.

-Rasmus

 On Sat, 17 Feb 2001, Larry Marshall wrote:

> Using apache_1.3.17 and php-4.0.4pl1 source on a RedHat 7.0 system. I issue
> the following commands, with no apparent errors:
>
>   cd apache_1.3.17/
>   ./configure --prefix=/www
>   cd ../php-4.0.4pl1/
>   ./configure --with-mysql --with-apache=../apache_1.3.17/
> --enable-track-vars
>   make
>   make install
>   cd ../apache_1.3.17/
>   ./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a
>   make
>   make install
>
> php.ini is in the /usr/local/lib directory. I start the server and the
> standard initial page is accessible from another in-house client. However,
> the embedded string:
>
>   <?phpinfo()?> or any other <?php xxxxx?> command is not echoed at all from
> the index.html.en page.\
>
> I have tried this so many times! What am I doing wrong?
>
> --
> PHP Install 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 Install 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]

Reply via email to