You are here: Apache2 Not Recognizing PHP « PHP Programming Language « IT news, forums, messages
Apache2 Not Recognizing PHP

Posted by solitary.wanderer52 on 11/05/06 03:52

I just finished installing PHP5 on Linux (Debian/Ubuntu/Mepis)/Apache2
using Synaptic. I have tried creating simple html pages, placing them
in /var/www and pointing the browser at http://127.0.0.1/(those pages)
and they are displayed correctly.

I have created a basic PHP page (abc.php) and it looks like:

<?
phpinfo();
?>

This page also exists in the /var/www directory and when I point the
browser to http://127.0.0.1/abc.php, the page gets loaded into a text
editor.

How can I fix this?


TIA, Steve

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация