[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Install php locally

Posted on 2011-09-07
12
Medium Priority
?
201 Views
Last Modified: 2012-05-12
Is it possible to install php locally on a Windows7 machine?
0
Comment
Question by:hrolsons
  • 6
  • 5
12 Comments
 
LVL 83

Expert Comment

by:leakim971
ID: 36499366
0
 
LVL 8

Expert Comment

by:PranjalShah
ID: 36499400
If you are planning to use Apache then WAMP is also an option...

http://www.wampserver.com/en/ 
0
 
LVL 83

Expert Comment

by:leakim971
ID: 36499412
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:hrolsons
ID: 36499603
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
 
LVL 83

Accepted Solution

by:
leakim971 earned 2000 total points
ID: 36499638
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
 

Author Comment

by:hrolsons
ID: 36500534
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
 
LVL 83

Expert Comment

by:leakim971
ID: 36500550
When you run the page, you've the url to use or choose an rxternal browser instead phped browser
0
 
LVL 83

Expert Comment

by:leakim971
ID: 36517571
http://www.php.net/manual/en/features.commandline.php
php C:\directory\myfile.php

Open in new window

0
 

Author Comment

by:hrolsons
ID: 36517991
capture
0
 
LVL 83

Assisted Solution

by:leakim971
leakim971 earned 2000 total points
ID: 36518001
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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses
Course of the Month19 days, 23 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question