Install php locally

Is it possible to install php locally on a Windows7 machine?
hrolsonsAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
leakim971Connect With a Mentor PluritechnicianCommented:
Take a trial of PHPEd it will help you a lot.
Else PHP is just a set of files, always the same depending the version
So choose a good IDE, PHPEd is a very good one
0
 
leakim971PluritechnicianCommented:
0
 
PranjalShahCommented:
If you are planning to use Apache then WAMP is also an option...

http://www.wampserver.com/en/ 
0
2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

 
leakim971PluritechnicianCommented:
0
 
hrolsonsAuthor Commented:
I'm actually using it for this application:

http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_27291199.html

I'm manipulating .jpg files

Not sure which of the above would fit best for that.

Everything works fine on my web server, I just want to process the files locally.
0
 
hrolsonsAuthor Commented:
So, I installed phpED, but I'm having trouble.

In Visual Basic, I usually issue the command:
WebBrowser1.Navigate ("http://website.com/myfile.php")

Now, since I have it local, I thought I could do:
WebBrowser1.Navigate ("C:/directory/myfile.php")

But it does not run the php, it simply displays it as a text file.
0
 
leakim971PluritechnicianCommented:
When you run the page, you've the url to use or choose an rxternal browser instead phped browser
0
 
leakim971PluritechnicianCommented:
http://www.php.net/manual/en/features.commandline.php
php C:\directory\myfile.php

Open in new window

0
 
hrolsonsAuthor Commented:
capture
0
 
leakim971Connect With a Mentor PluritechnicianCommented:
check the link provided :

Add the location of the PHP executable (php.exe, php-win.exe or php-cli.exe depending upon your PHP version and display preferences) to the PATH environment variable. Read more about how to add your PHP directory to PATH in the corresponding FAQ entry.

php.exe should be under phped folder

the easy way to run it (php.exe) is to go to the folder and run from there (in this case you need to specify the full path to test.php of course)
0
 
hrolsonsAuthor Commented:
0
All Courses

From novice to tech pro — start learning today.