I am a rookie in PHP so i found big problem... What is the easiest way to test PHP is working correct ON MY LOCAL MACHINE (my PC)?? Without having to upload files to webspace provider which supports PHP??? PHP (latest) and an old version of Personal Web server are installed on my local machine!
Do i need extra software??
Please...help me..!!! Help and contact me via e-mail! 😕 😕 😕
which webserver do you use? make a new file i.e test.php in it, type <?php phpinfo(); ?> save it, and put it into your webserver-directory open your browser, type localhost/test.php when u can see the page correctly, it means, it works
Install Apache and edit the confg file to parse PHP pages. Then, do phpinfo() like bernouli said.
Now you have a local web server where you can test your code. I would also suggest installing mySQL and configure it the same as your hosting company. This will save you a bunch of time.
or you can use this free server! the package is much smaller than apache, and since it seems like you're only gonna develop your pages on it, then this is much easier to use than apache! how long would it take to configure php with apache? 30 minutes? well, with this server it takes at top 5 mins... I'm using it for development, and it's really good!
http://www.aprelium.com/abyssws/index.html