chinmay.sahoo
New member
Unlike ordinary web pages, you can’t just double-click PHP pages in Windows Explorer or Finder on a Mac and view them in your browser. They need to be parsed—processed—through a web server that supports PHP. If your hosting company supports PHP, you can just upload your files to your website and test them there. However, you need to upload the file every time you make a change. In the early days, you’ll probably find you have to do this often because of some minor mistake in your code. As you become more experienced, you’ll still need to upload files frequently because you’ll want to experiment with different ideas.
If you want to get working with PHP straight away, by all means use your remote server as a test bed. However, I’m sure you’ll soon discover the need to set up a local PHP test environment. The rest of this chapter is devoted to showing you how to do it, with separate instructions for Windows and Mac OS X.
If you want to get working with PHP straight away, by all means use your remote server as a test bed. However, I’m sure you’ll soon discover the need to set up a local PHP test environment. The rest of this chapter is devoted to showing you how to do it, with separate instructions for Windows and Mac OS X.