[Ilugc] PHP setup in Etch

  • From: parth.technofreak@xxxxxxxxx (Parthan S R)
  • Date: Mon Sep 3 10:22:38 2007

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Zico wrote:

The steps which i followed at the time of setup of PHP5.

1. apt-get install php5
2. apache2 was installed before [ apache2 is running/ok ]
3  i followed the link:
http://www.howtoforge.com/perfect_setup_debian_etch_p6
4. I put my "first.php" in /var/www

And then... i tried to open my "first.php" with epiphany. But nothing
happens....
1. As Kumar replied, you need libapache2-mod-php5
2. Open your browser and try "http://localhost/first.php";

Suggestion: Instead of putting things into /var/www and trying it out,
use a VirtualHost to some location in your /home dir so you can just
work from there without worrying much about permissions or moving the
files to /var/www every time (and su'ing to do the same).

- --
With Regards,
Parthan aka Technofreak

[webhome] http://technofreak.in
[irc] teKnofreak @ irc.freenode.net (#linux-india)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG25Kzk4vYYS/wECYRAgEQAKCEXUoLcNGkFVZyU+0ytd+ocLV2UwCeO30w
fw6KKbCZjbfE0XudSJI9Yz0=
=si+P
-----END PGP SIGNATURE-----

Other related posts: