Script Garage

 

What is the easiest way to install apache on your desktop to run php scripts?

Hi i want to run php scripts on my desktop and i was wondering can someone please provide a link to a tutorial of the easiest , simplest way to do it please or give me some tips. as my knowledge is very low of installing apache and running it for php scripts.

Public Comments

  1. Apache when installed will be known as localhost on your system when run with Perl.I'm not sure with PHP.
  2. google for: install php apache Here's one good link below to get you started. It uses an installer,so after downloading it to desktop, just click the icon Goog luck.
  3. WAMP, and make sure you are running your page under localhost. Their site seems to be down now, which is very rare.
  4. Wamp can really make things easier for you.
  5. Personally if I am going to use WAMP or XAMPP I would use XAMPP. Otherwise download PHP .msi installer, choose not to configure server, install into something like C:\php Install apache using the .msi into something like C:\www Open httpd.conf (eg. C:\www\Apache2.2\conf\httpd.conf) using notepad. Scroll down to bottom of this file and add: LoadModule php5_module "C:/php/php5apache2_2.dll" AddType application/x-httpd-php .php PHPIniDir "C:/php" Now restart apache and your done.
  6. When I installed Apache and PHP on my PC, I used this article http://www.wikihow.com/Install-Apache,-MySQL,-PHP,-and-phpMyAdmin-on-a-Windows-PC ... It discusses how to install Apache, PHP, mySQL and phpMyAdmin. It worked great and easy to follow.
  7. It's pretty the same way as Perl method.
Powered by Yahoo! Answers