Gather requirements - know what users want, what the application should do, what the goals are. Design your database structure. Create basic PHP scripts and libraries. Create an interface, create pages using HTML, CSS, Javascript. Finally, test and deploy your web application.