JaiswalTraining

Get the online training



Corejava Servlet Jsp  Php  Hibernate  Ajax Web Service   Ejb2.1 Ejb3.0 Struts Struts2  JPA Spring Ibatis   JSF    JSF2.0  CoreJavaDesignPattern    Jquery  Flex J2EE-Design-Patterns  Jboss7  Maven  Contact Me                                                                                                                                                                        
            IGNOU SMU PTU Project                                           Training                                                                                                                              
              

Contact Us  0091- 9210721663         jaiswaltraining@gmail.com




Corejava
Servlet
Jsp
Php
Hibernate
Ajax
Web Service
Ejb2.1
Ejb3.0
Struts  
Struts2
JPA
Spring
Ibatis
JSF
JSF2.0
CoreJavaDesignPattern
Jquery
Flex
J2EE-Design-Patterns
Jboss7
Maven







Download eclipse
PHP is the open source language. It is free for all operating system.
It is avaialble for all  platforms.It has easy syntax.
So it is  easy to learn the php.

Installation
  • Window
    • For window there is WAMP,XAMPP and php triad.
    • All software contains the apache server, mysql server and
      php, perl compiler in one bundle.
    • Download any of the given software.
    • Unzip it. Double click on its setup.
    • It will install the required software in its location.
    • There is no requirement to make any configuration as was in earlier version.

  • Linux
Php in linux can be installed in two ways.

First way

  • For linux there is xampp software in tar.gz form.
  • Just extract it.It gives lampp directory.
  • Copy lampp directory to the /opt/  directory in the linux.

Second  way

Php software is also installed by the yum command.
It requires the internet connection.
You have to install each software i.e. php,mysql,apache server one by one.

  • su -c 'yum -y install httpd'
    It installs the apache server, php,perl   compiler.
  • su -c 'yum -y install mysql-server'
   It installs the mysql server.

Starting the software

  • Window
    • In window by default the apache  and mysql server starts up automatically.
    • Apache server is the server for php and perl.
    • It can be opened by the system tray icon also.
    • wamp, xammp and php triad  all  have  window services .
    • So these all starts up automatically when ever window  starts up.
    • But they can be stopped and started by the system tray icon also.


  • Linux

    xampp


     If there is xampp intalled then
    • open the terminal
    • Give the command
$bash  su -c '/opt/lampp/lampp start'

It starts the php and mysql server.
Check its startup on the internet browser by typing the url

 http://localhost/

Default or installed by the yum

Software installed by the yum command or by the linux dvd are installed as Linux services.

So start the apache servser and mysql server by the command on the terminal

  • $bash  su -c 'service httpd start'
It starts up the  apache server
  • $bash  su -c 'service mysqld start'
It starts up the mysql server

Apache  Server runs on default port no 80.
So you don't need to give the port no.

http://localhost/
or
http://localhost:80

Both runs the same page.

It will run in the internet browser as given below


 




Home                                                                                                                                                                       Next