Hi, all. I just bought a windows vps from http://rytechhosting.com/ To be honest I wasn't expecting an actual OS....anyway I looked at some tutorials and got ftp working. I can connect to the files from another computer. I loaded an html page and when a php function was called it just displayed text. I'm guessing it's because I don't have it installed. On google it says to type: yum -y install httpd php mysql mysql-server php-mysql to install it, but where do I type that? http://i33.tinypic.com/2emikjk.png That is what the ftp looks like (that's also me on the VPS) Can you guys help?
"yum -y install httpd php mysql mysql-server php-mysql" That is a linux command, and you're saying you got a Windows VPS... somehow this doesn't make sense...
To answer your question... Download PHP 5.2.14 from this page: http://www.php.net/downloads.php But considering you don't know much about this stuff I would suggest you get a package containing all the things you need, apache, php, mysql, ftp, mail... http://www.apachefriends.org/en/xampp-windows.html Good Luck!
Don't install Apache (unless you have a reason to) on Windows. Windows has IIS which is a brilliant stable and secure web server - particularly if your VPS runs 2008. You can download the free Web Platform Installer from Microsoft - http://www.microsoft.com/web/downloads/platform.aspx - and it automatically installs a number of applications for you, including .NET, PHP, MS SQL, MySQL, WordPress etc etc. Don't know how good a job it makes of it, or how securely it does the setup, but it will help you out at the moment. You need to make sure your server is secure. 2008 is pretty secure out the box, but not ideal for shared hosting. 2003 (IIS 6.0) needs a little more work but can be made very secure. There are plenty of articles on the internet about securing IIS, and a quick search of Google will find them for you.
Ok I can use php now! Thanks, but that's connecting to 127.0.0.1, any idea how to let others connect?
Woo it works. Thank you very much....too bad I'm using this for a php dos shell experiment and it's doing 100 pps...lol