Username:

Password:

Author Topic: Installing PHP on Windows  (Read 964 times)

chase

  • WebDes1gn Staff
  • Administrator
  • Full Member
  • *****
  • Karma: +100/-0
  • Posts: 110
    • WWW
Installing PHP on Windows
« on: July 24, 2009, 10:10:11 PM »
Need any help installing PHP on Microsoft Windows? Ask your questions in this forum and the other users and I will try to assist you!

gerdonhanry

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 3
Re: Installing PHP on Windows
« Reply #1 on: April 22, 2010, 04:55:42 AM »
First of all, You have to Download the install file from the PHP website. Then, You can go for step by steps like,

1. Make a directory on your computer for PHP 5 . Open the folder you want to want to save the directory in. Right-click in the open window. Click "New Folder." Name the folder "PHP" or "php5." For example "c:\php5." Substitute your directory for "c:\php5" whenever it appears in this article.

2. Locate and move the files from the sub directory Windows created for PHP in Step1 to the directory created in Step 2. Windows normally places the files in "php-5.x.x-Win32." To move the files, click "Edit" and then click "Select All." To copy the files, right-click and choose "Copy" or hold down the "Ctrl" key and the "C" key at the same time. Open your new directory, c:\php5. Hold down the "Ctrl" key and the "V" key at the same time or right-click and choose "Paste."

3. Find the file "php.ini-recommended" in the directory. Open the file in Notepad. Replace the following if they are not correct. Look for "error_reporting" and change it to "error_reporting = E_ALL & ~E_NOTICE." If your scripts don't work as intended, locate "register_globals" and change it to "register_globals = On." Find "register_argc_argv" and change it to "register_argc_argv = On." If your scripts pass information in strings like index.php?var1=value1&var2=value2, replace "doc_root" with the path to your Apache web directory. For example, "doc_root = C:\Apache2\htdocs." Find 'extension_dir"' and change it to 'extension_dir = "C:\php5\ext".' The SMTP line needs to read "SMTP = smtp.yourISP.com." And last is,

4. Save the edited file in the PHP 5 directory. For example, save as "php.ini" in "c:php5."

jedc53

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 4
Re: Installing PHP on Windows
« Reply #2 on: May 14, 2010, 11:12:13 PM »
PHP remains the most widespread and popular server-side programming language on the web.You can PHP 5 ZIP package file.After you can extract the files in any drive.You can configure php.ini file.
Logged

johnsmith

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 7
Re: Installing PHP on Windows
« Reply #3 on: May 21, 2010, 10:53:48 PM »
Need any help installing PHP on Microsoft Windows? Ask your questions in this forum and the other users and I will try to assist you!
If you want to install PHP on windows so You just used Xampp server.
It's free of cost and You no need to install other thing like Apache server or MYSQL.
In to that all the things are install automatically.
Logged
mistakes are the portals of discovery

rogerjack

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 4
Re: Installing PHP on Windows
« Reply #4 on: July 13, 2010, 11:35:25 PM »
There are so many software which can easily install PHP on windows such as you have to used Xampp server it is one of the best software to install the PHP on windows.

johnderby

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 5
Re: Installing PHP on Windows
« Reply #5 on: July 15, 2010, 08:57:13 PM »
Wonderful post. There are plenty of installation packages there, but to tell you the truth, if I'm running a server for public use I want to do everything by hand and have a good system administrator run any.
Logged