Web Development Thread, using mysql & php on a W2K SP2 server in Coding and Web Development; I'm currently hosting our school's website (what there is of it) in my own webspace so that I could get ...
-
21st June 2006, 08:27 AM #1 using mysql & php on a W2K SP2 server
I'm currently hosting our school's website (what there is of it) in my own webspace so that I could get my head around CMS Made Simple. the Head has now sent a newsletter out saying that the new site will be up and running in 2 weeks, so look out for it.
My host uses linux servers with mysql and php and the databases mostly set up. As you can guess, I want to try and replicate this on our W2K server in house. I could do with some help with this, or it's off to the east wing with a pearl handled revolver.
beeswax
-
-
IDG Tech News
-
21st June 2006, 08:37 AM #2 Re: using mysql & php on a W2K SP2 server
www.en.wampserver.com
Looks VERY smart by the way, good job
-
-
21st June 2006, 08:41 AM #3 Re: using mysql & php on a W2K SP2 server
Do you already have an internal web server?
Do you want to use Apache or IIS?
Is using a Linux server an option?
Do you want to be able to access the website externally?
-
-
21st June 2006, 08:44 AM #4
- Rep Power
- 0
Re: using mysql & php on a W2K SP2 server
you will be able to back up the whole of the mysql database by using the mysqldump function, and this will create a txt file holding all the SQL required to build the database back from scratch
Code:
mysqldump -u username -p password databasename > fileName.sql
the above is to back up the database, and the below is to recreate the database.... note that the sql needs to sit where the mysql.exe is.... and u run this at the command line.
Code:
mysqldump -u username -p password databasename < fileName.sql
thats for the database
as for the webserver..... i have set up PHP and mysql on 2K3 server using both IIS and apache..... which one are you going to be using?
-
-
21st June 2006, 08:48 AM #5 Re: using mysql & php on a W2K SP2 server
PHP runs very poorly on IIS, take our site for example :? Apache will be better.
-
-
21st June 2006, 08:48 AM #6 Re: using mysql & php on a W2K SP2 server
Hosting providers usually have PHPMyAdmin avalible too which will allow you to export the database easily.
You can transfer the files with FTP.
-
-
21st June 2006, 08:50 AM #7 Re: using mysql & php on a W2K SP2 server
Just remember not to use Apache 2.2 as php is still not built to work with it, I do have an alternate build at home that works, but there appears to be a memory leak in the apache version used. I'll probably go back to 2.0
-
-
21st June 2006, 08:53 AM #8 Re: using mysql & php on a W2K SP2 server
Why are you running SP2? That's a good couple of service packs old and must surely leave tthat vulnerable IIS box open to more attacks than a pointy stick may be pointed at!
BTW... php4 and mySQL have been fine for me on 2K in the past... never had much luck with php5 though :S
-
-
21st June 2006, 09:32 AM #9 Re: using mysql & php on a W2K SP2 server
my mistake. trying to get 25 hours out of every day. I meant SP4. thanks for taking the time to answer, and the compliments.
-
-
21st June 2006, 01:19 PM #10 Re: using mysql & php on a W2K SP2 server
http://apache2triad.net/
Have it running on a W2K3 box hosting demo moodle / intranet / gallery2 / and soon to be atmail. Works a treat.
-
-
21st June 2006, 01:59 PM #11 Re: using mysql & php on a W2K SP2 server
http://www.apachefriends.org/en/xampp.html
That's what i use if i've got to put AMP type stuff on a doze machine.
I used it to test a php website before committing a LAMP server to it.
-
-
21st June 2006, 02:10 PM #12 Re: using mysql & php on a W2K SP2 server
Yep, bear in mind the performance of Apache on Windows is terrible. Also consider the fact that PHP on IIS performance is similarly terrible.
Basically, if you need a high performance web server, you need a LAMP box.
-
-
21st June 2006, 02:11 PM #13 Re: using mysql & php on a W2K SP2 server
And for which i'd suggest Ubuntu Server because it has the option to install a basic LAMP server during the installation
-
-
21st June 2006, 02:33 PM #14 Re: using mysql & php on a W2K SP2 server

Originally Posted by
Joedetic And for which i'd suggest Ubuntu Server because it has the option to install a basic LAMP server during the installation

Seconded! Installed it last night, brilliant stuff
-
-
21st June 2006, 04:23 PM #15 Re: using mysql & php on a W2K SP2 server
I made similar enquiries last September/October/November regarding using linux based server(s) to host the school's website, and looked at several, including Debian. My worry, ok, my NM's worry, is security. If I have a machine running Ubuntu server to host our website (and eventually our moodle intranet) within the school, how do I go about securing it?
thanks again for your time
-
SHARE:
Similar Threads
-
Replies: 2
Last Post: 30th May 2008, 02:37 PM
-
By danIT in forum General Chat
Replies: 2
Last Post: 18th December 2007, 10:52 PM
-
By OutToLunch in forum Windows
Replies: 4
Last Post: 5th February 2007, 03:19 PM
-
By Gatt in forum Web Development
Replies: 3
Last Post: 29th November 2006, 11:32 PM
-
By iking in forum Books and Manuals
Replies: 0
Last Post: 11th July 2005, 03:35 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules