Re: [PHP-MIGRATION] PHP Script not working

[email protected] (Michael & Michele Dean) Fri, 16 Jun 2000 07:42:28 -0500
Newsgroups php.migration
Message-ID <[email protected]>
Tahir Ata Barry wrote:

> I have just installed Caldera's eDesktop 2.4 Linux. When I installed it,
> Apache and PHP were also installed.
> Now if I save a simple HTML page as .php3 it works. But if I save a page
> with php script, it does not execute PHP script. Only html part is shown
> and if I view the source of the page from the browser, I can even see
> the PHP tags.

If .php3 is working and .php is not, it appears that you would have php3
installed on the machine.  You need to edit the httpd.conf file for Apache
and add .php to the list of extensions for the php handler.  Just search
for php3 to find it.

Note that php is typically an extension for PHP 4 scripts nowadays, so if
you download any scripts with that extension, you will have to verify
compatibility with PHP 3.

Mike