Welcome to WebmasterWorld Guest from 54.226.62.251

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

start 1st page php with dreamweavwer

start 1 page

     

wnshops

1:02 pm on Nov 3, 2011 (gmt 0)

10+ Year Member



I am beginner Php
I have dreamweaver in my computer
I just create 1 page . But I like to see this as view on the browser . But I can not. Why do I need to install some thing
Help

rocknbil

4:39 pm on Nov 3, 2011 (gmt 0)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member



You'd need to install php locally or upload it to a server.

SlimMillipede

11:33 am on Nov 5, 2011 (gmt 0)



To use PHP your webpage needs to be delivered by a server running PHP. This is an extra layer of complexity over plain HTML but it isn't difficult to set up. It will run quite happily on your PC alongside Dreamweaver etc.

The most popular set up is AMP, which stands for Apache (the webserver, though PHP will also run on IIS), mySQL (the database) and PHP (the programming language). A few minutes in Google will find you all sorts of options with names like XAMPP, WAMP , MAMP etc.

The simplest option is to install a package like XAMPP which does everything you need but I prefer to install the various components separately so I can upgrade or modify them as required.

Try to set up your development server so it is as similar as possible to your live server so that you don't get any nasty surprises when you deploy your site. And remember that you can get away with any case for filenames on your Windows development machine but if your live server is Linux based then it will be case sensitive and filenames that worked in development will return errors in live.