I am looking over a tutorial site, and they mentioned that I need to install Apache on my system before I can install PHP. My question is, I know TCH supports and has Apache already- so, am I just installing PHP on my hard drive?<!--content-->
Hi,<br /><br />Apache is the program which sits on the linux server and transforms all the coding and intructions into the web pages you see. It is available for a free download but it will not have any of the nice cpanel bits which you get here.<br /><br />If you want to use php on your own computer, its not a problem, just code away in notepad or something. If you wish to see it working, you can either upload to your website on Total Choice web Hosting account or get your own home web server to test it out on before uploading to Total Choice web Hosting account.<br /><br />Jim<!--content-->
I was using Dreamweaver to look at a very simple script, and it told me I needed some sort of server to do so. So if I understand correctly, each time I want to preview a script in a browser, I need to upload the script first? If so, that's fine, I just wasn't sure how the whole server thing worked.<!--content-->
Hi,<br /><br />Yes thats correct. You can see it in dreamweaver, but to actually test it if you got working code, you will need the server<br /><br />Jim<!--content-->
Well, I am starting off completley fresh... So- what do I need to do here? Do I need to download Apache to my system, or do I need to upload each file before they can be viewed?<br />I tried to set the server in Dreamweaver to preview, but it didn't seem to work.<!--content-->
SGarrett, you don't need to set up a server with Dreamweaver. I code PHP with Dreamweaver all day long and I just upload my code to the site to see how it's working.<br /><br />Now, you won't be able to see what the script or code is doing until it's on a server. so like I said, just write your code, and upload it to TCH. Go visit the webpage, and you'll see your code in action.<br /><br />Dreamweaver preview isn't really going to work effectively with PHP. It's server side code... which means it needs a server.<br /><br />I'm sure some folks out there have tweaked their home system to have their computer work as a server.... but let's keep things simple.<br /><br />Create this file in Dreamweaver<br /><br /><?php<br />print("Hello World");<br />?><br /><br />And upload the file to your website. <br /><br />Once you get that process down, it's the same no matter how big the script.<!--content-->
Yes, you don't have to do anything on your end with Apache/PHP install. They are already installed for you. <br /><br />Like was said, just write your code in Dreamweaver, starting your PHP scripts with <?php and ending with ?> , and save your file as a .php file. Then just upload to TCH and you'll see the results. <br /><br /><br />Sarah<br /> <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><!--content-->
<!--QuoteBegin-Sarah+Jul 23 2003, 09:40 PM--><div class='quotetop'>QUOTE(Sarah @ Jul 23 2003, 09:40 PM)</div><div class='quotemain'><!--QuoteEBegin-->Yes, you don't have to do anything on your end with Apache/PHP install. They are already installed for you. <br /><br />Like was said, just write your code in Dreamweaver, starting your PHP scripts with <?php and ending with ?> , and save your file as a .php file. Then just upload to TCH and you'll see the results. <br /><br /><br />Sarah<br /> <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><br /><div align="right"><a href="http://www.totalchoicehosting.com/forums/index.php?act=findpost&pid=23472"><img src='http://www.totalchoicehosting.com/forums/style_images/1/post_snapback.gif' alt='*' border='0' /></a></div><!--QuoteEnd--></div><!--QuoteEEnd--><!--content-->
Hi,<br /><br />Apache is the program which sits on the linux server and transforms all the coding and intructions into the web pages you see. It is available for a free download but it will not have any of the nice cpanel bits which you get here.<br /><br />If you want to use php on your own computer, its not a problem, just code away in notepad or something. If you wish to see it working, you can either upload to your website on Total Choice web Hosting account or get your own home web server to test it out on before uploading to Total Choice web Hosting account.<br /><br />Jim<!--content-->
I was using Dreamweaver to look at a very simple script, and it told me I needed some sort of server to do so. So if I understand correctly, each time I want to preview a script in a browser, I need to upload the script first? If so, that's fine, I just wasn't sure how the whole server thing worked.<!--content-->
Hi,<br /><br />Yes thats correct. You can see it in dreamweaver, but to actually test it if you got working code, you will need the server<br /><br />Jim<!--content-->
Well, I am starting off completley fresh... So- what do I need to do here? Do I need to download Apache to my system, or do I need to upload each file before they can be viewed?<br />I tried to set the server in Dreamweaver to preview, but it didn't seem to work.<!--content-->
SGarrett, you don't need to set up a server with Dreamweaver. I code PHP with Dreamweaver all day long and I just upload my code to the site to see how it's working.<br /><br />Now, you won't be able to see what the script or code is doing until it's on a server. so like I said, just write your code, and upload it to TCH. Go visit the webpage, and you'll see your code in action.<br /><br />Dreamweaver preview isn't really going to work effectively with PHP. It's server side code... which means it needs a server.<br /><br />I'm sure some folks out there have tweaked their home system to have their computer work as a server.... but let's keep things simple.<br /><br />Create this file in Dreamweaver<br /><br /><?php<br />print("Hello World");<br />?><br /><br />And upload the file to your website. <br /><br />Once you get that process down, it's the same no matter how big the script.<!--content-->
Yes, you don't have to do anything on your end with Apache/PHP install. They are already installed for you. <br /><br />Like was said, just write your code in Dreamweaver, starting your PHP scripts with <?php and ending with ?> , and save your file as a .php file. Then just upload to TCH and you'll see the results. <br /><br /><br />Sarah<br /> <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><!--content-->
<!--QuoteBegin-Sarah+Jul 23 2003, 09:40 PM--><div class='quotetop'>QUOTE(Sarah @ Jul 23 2003, 09:40 PM)</div><div class='quotemain'><!--QuoteEBegin-->Yes, you don't have to do anything on your end with Apache/PHP install. They are already installed for you. <br /><br />Like was said, just write your code in Dreamweaver, starting your PHP scripts with <?php and ending with ?> , and save your file as a .php file. Then just upload to TCH and you'll see the results. <br /><br /><br />Sarah<br /> <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><br /><div align="right"><a href="http://www.totalchoicehosting.com/forums/index.php?act=findpost&pid=23472"><img src='http://www.totalchoicehosting.com/forums/style_images/1/post_snapback.gif' alt='*' border='0' /></a></div><!--QuoteEnd--></div><!--QuoteEEnd--><!--content-->