Booyah! Finally got PHP working on my Mephis server – apt-get’ed php4, uncommented out thest 2 lines in /etc/apache/httpd.conf:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Restarted apache, restarted browser, cleared cache, made sure *.php files were chmod 755,
and it’s up, up, and away!

Next, did simple include of an html footer:

<h2>This PHP page should include a disclaimer!</H2>
include ‘’

NOTE: For Apache2, also had to apt-get install libapache2-mod-php4!

And that’s all there is to it!



Feel Free to Comment (Name/Email/Website optional):

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: