PHP INSTALLATION

Sujitha

INSTALLATION FOR PHP

You can install php by using the neet and prompt and typing "sudo apt-get install php" on linux. On windows you download a php installer and run it.

To install php in you're system

1.Check Requirement

            Before installing php, make sure your system need minimum requirement.

2.Choose php version:

           decide on the php version you want to install.it's recommended to use the latest version  for security and performance reason.

3.Install php:

          the installation process various depending on your operating system.

4.Windows

          You can use Pre-packaged solutions like Xampp or Wamp Server, or install PHP manually by downloading the PHP binaries from the PHP website and configuring it with your web server (e.g., Apache).  
  • Linux: Install PHP using the package manager specific to your Linux distribution.
  • MacOS:PHP comes pre-installed mac OS.you can update to and install additional extension using package manager like homebrew 
  • Configure PHP: after installation might neet to adjust PHP setting in php.init configuration file,depending on your requirement.

5. Testing installing

          create a simple php file(e.g.,test.php)containing '<? php phpinfo(); ?>', and place it in your web server's document root directory

6. Web server integration:

          To run php files you need a web server like Apache  or Nginx.

Tags
Our website uses cookies to enhance your experience. Learn More
Accept !

GocourseAI

close
send