Saturday, February 15, 2014

Creating Environment for PHP Programming

Creating PHP Environment | Installation in windows xp | Installation in Linux 

Hello... all we are going to discus about PHP Environments or we can say how to install php in windows as well as in Linux

PHP Prerequisites :

We just need to be bold & willing to learn....  Rest we need the practice to do :)

Here i am using :
here i am using xammp or wamp server for complete Environment instead of the complete package but for advance we also download mention package separately


  • Window xp & Linux CentOS -- OS
  • apache -- web server
  • PHP 5 -- Platform 
  • mysql 5 -- Database

Download complete package
Xampp -- here
wampp -- here

here again i am not going much more with theory classes we are going with practical work directly ...
just simply Download & Install these package for creating Environment in your own system

For Complete Installation in Linux Environment  LAMP ( Linux Apache Mysql PHP ) Installation study here

ok when you create your Complete Environment in Windows or in Linux then you get a web root directory in which you have to place your php files

In windows root directory :
C:\xampp\htdocs
C:\wamp\www

In Linux root directory :
/var/www/html

* Tips for Administrator :

here i want to clear it that please set file permission read only for other users then root/Administrator user of this directory for security perspective & one more thing i want to clear when you move in any directory then place index.php file in every directory so because always server ask for index file first then any other file in any directory . This avoid you from directory listening attack ;) but not fully :p

please remove unnecessary files from the root directory or set there permissions so that other user can't see these files openly

after setuping Environment Let's move to our next steps in next post ....

Share this post

0 comments

:) :-) :)) =)) :( :-( :(( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ :-$ (b) (f) x-) (k) (h) (c) cheer

© 2017 Friends Code
Designed by cyb3r.gladiat0r
Posts RSSComments RSS
Back to top
Hack for India, Code for India, Configuration for India, Die for India !