Solved

Install php locally

Posted on 2011-09-07
12
188 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 82

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 82

Expert Comment

by:leakim971
ID: 36499412
0
 

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 82

Accepted Solution

by:
leakim971 earned 500 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 82

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
 

Author Comment

by:hrolsons
ID: 36517511
0
 
LVL 82

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 82

Assisted Solution

by:leakim971
leakim971 earned 500 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
 

Author Comment

by:hrolsons
ID: 36520692
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Paypal 502 Error 3 63
form button worked now it doesnt anymore 9 36
How to loop through records  using SELET COUNT 2 13
PHP get array item with custom id 4 19
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

930 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now