Jump to content

Offline Php


Shade
 Share

Recommended Posts

helloI do not want to have a server on my PC, nor do I want to install php, apache bundles etc. Still I need to test php files offline.I used easyphp but it doesn't responds to certain php functions. do you know any alternative way/method for that ?shade.

Link to comment
Share on other sites

I'm guessing the link I'm about to give you is what you don't want, however you can only test php pages via a server, as php is a server side language and unfortunately you need to install php to use it (I'm pretty sure..). But if you use windows, and haven't tried wamp, then give it a go : WAMPI find it works well, and if you don't like it it's easy to uninstall.After installing, go to http://localhost/ and copy files you want to use and there you go, easy as pie.If you mean 'offline' php as in you don't need a host, not viewable over the internet etc then yeah wamp can just run 'locally' and it will do the trick.Otherwise I'm not sure of a solution.Sorry about the ramble and hope this helps..

Link to comment
Share on other sites

PHP isn't going to integrate with an IDE very well. Since PHP needs a web server to execute, you're not going to get a real-time update in the IDE, about the best you can do is save it and open it in a browser from the server. Your IDE might have a way to automate that with a macro or something.

Link to comment
Share on other sites

What is the reason you want to test offline? If it's just that you want it to be secure you could have it only allow your IP or make it so you have to log in (sessions)... if it's because you don't want to pay for a host, here is a free one that allows php and mysql... otherwise the only reason not to do it online is because you do not always have access to the internet?

Edited by smerny
Link to comment
Share on other sites

It's a lot quicker to develop when you're developing directly on the server instead of needing to upload everything first. Most development servers are not publicly accessible.

Edited by justsomeguy
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...