dragontear Posted October 28, 2008 Share Posted October 28, 2008 Hello, I am completely new on php, mysql ajax and all this jazz. I got a few ? for you. 1. I got a php site , zipped, I want to test ti before I upload it on my web site, how can I do that? (I run windows vista 32bit enviroment, can geta linux if needed (prefer ubuntu)). Like perhaps, what other Html Editor programs did, compile it, run it on my computer, make corrections, then upload it. Can I do that? WHich programs do you suggest? 2. I understand when uploading via ftp, I have to set my DB in mysql, how can I do that? 3. The small read me, on the zipped file said I have to press install on the site, I did, nothing happened... Do I have to notify site techs to compile the php site? Thank you I will return with more ? once you answer these 3:) Thank you for your time to read this, and I apretiate the effort you will put if you have any answers to give me. I am in books reading about php and trying to find a short of an all in one newbie friendly program to help my first attempt. Thanks again. Quote Link to comment https://forums.phpfreaks.com/topic/130470-starting-out-a-site/ Share on other sites More sharing options...
MadTechie Posted October 28, 2008 Share Posted October 28, 2008 I use WAMPSERVER to test things locally.. and most sites i use have phpmyadmin in the cPanel to allow me to setup and edit the MySQL database, for basic editing you can use a ton of thing notepad++ is nice for general and filezilla is a nice FTP.. now all of the programs are free.. (which helps) for HTML design i use dreamweaver (its not bad, but you can probably get a free one, just saves time with some html design).. as for the problem your facing.. well you don't complie php (you can but in general we don't) its an interpreted language.. so your need to have the file on a machine that has PHP installed. (or wampserver or xamp etc etc) and your need to open if from the browser it http://localhost/theThing/install.php hope that helps to start with.. i'm sure its not going to solve the problem but should point you in the correct direction EDIT: oh and welcome Quote Link to comment https://forums.phpfreaks.com/topic/130470-starting-out-a-site/#findComment-676829 Share on other sites More sharing options...
Andy-H Posted October 28, 2008 Share Posted October 28, 2008 Duno about your questions, http://unix.com.ua/orelly/ Is a good place for programming books. http://unix.com.ua/orelly/webprog/php/index.htm ^^^ Quite old but covers the basics of PHP well, Co-written by Rasmus Lerdorf Quote Link to comment https://forums.phpfreaks.com/topic/130470-starting-out-a-site/#findComment-676830 Share on other sites More sharing options...
dropfaith Posted October 28, 2008 Share Posted October 28, 2008 another good option although i do love notepad++ is coffeecup html edit or taco , hyperedit if your a mac user notepad seems to be more all around for languages tho so ive been leaning towards it oh and tizag.com is my fav tutorial site Quote Link to comment https://forums.phpfreaks.com/topic/130470-starting-out-a-site/#findComment-676834 Share on other sites More sharing options...
wildteen88 Posted October 28, 2008 Share Posted October 28, 2008 . I got a php site , zipped, I want to test ti before I upload it on my web site, how can I do that? (I run windows vista 32bit enviroment, can geta linux if needed (prefer ubuntu)). Like perhaps, what other Html Editor programs did, compile it, run it on my computer, make corrections, then upload it. Can I do that? WHich programs do you suggest? You do not need a specific OS to run PHP. PHP is crosse platform compatible. You'll need to install what is known as the AMP stack in order to test a site locally on your computer. To easily install AMP on Windows download WAMP. When WAMP is installed move your site to C:/WAMP/www. Make sure WAMP is running then go to http://localhost/ to run your PHP. You can use any editor to edit your PHP scripts. PHP is not compliled 2. I understand when uploading via ftp, I have to set my DB in mysql, how can I do that? You cant create MySQL databases via FTP. Your host should provide a facility for creating databases, usually from your sites Control Panel. Always ask your host if you're not sure 3. The small read me, on the zipped file said I have to press install on the site, I did, nothing happened... Do I have to notify site techs to compile the php site? Not sure what you mean here. You'll need to check with your host whether or not they allow you to use PHP with your hosting account. You should also get in contact with the original developers of the script you're using for support. Quote Link to comment https://forums.phpfreaks.com/topic/130470-starting-out-a-site/#findComment-676835 Share on other sites More sharing options...
Andy-H Posted October 28, 2008 Share Posted October 28, 2008 I use EditPlus 3, free to download http://www.topdownloads.net/software/view.php?id=142155 Quote Link to comment https://forums.phpfreaks.com/topic/130470-starting-out-a-site/#findComment-676841 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.