corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Setting up a local instance of PHP and MySQL on Windows


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Setting up a local instance of PHP and MySQL on Windows
James
Member

Registered: 1st Jun 02
Location: Surrey
User status: Offline
20th Jun 12 at 01:14   View User's Profile U2U Member Reply With Quote

Is it me or is this one of the hardest things in the world to do?

It just seems to be a world of open source bollocks and hacking files in notepad and Googling about 100 error messages, applying a hack for each one, then finally getting it working.

I'm not a complete idiot, I've been a .Net developer for about 7 years. Now I'm trying to do something for my dad in PHP/MySQL and it's a fucking nightmare.

I'm trying to use XAMPP, which is supposed to simplify the process, but it's fucking painful.

Rant over.
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
20th Jun 12 at 05:20   View Garage View User's Profile U2U Member Reply With Quote

In my experience, setting up Apache to serve PHP and installing MySQL separately is a ball ache because you've got to faff about with the config files. Its not difficult as such but its not at all obvious what you need to do to make it all work.

XAMP and similar make it far easier, in fact last time I did it, I installed one of those, can't remember exactly which one but it worked straight away out of the box, mysqldump some database tables and drop the PHP script in webroot and it worked on IP there and then.

It shouldn't be difficult if you get a proper combined distribution of all the necessary bits.

What you currently stuck on? A lot of it will be simple crap that is very annoying that it holds you up.
Dom
Member

Registered: 13th Sep 03
User status: Offline
20th Jun 12 at 06:56   View User's Profile U2U Member Reply With Quote

Not sure how it's 'fucking painful' as Xamp/Xampp have always been (near enough anyway) 'Plug n Play'.

What issues are you having with it?
ed
Member

Registered: 10th Sep 03
User status: Offline
20th Jun 12 at 07:45   View User's Profile U2U Member Reply With Quote

XAMPP works perfectly out the box on my Mac and VertrigoServ worked perfectly out the box on my Windows PC, and still does actually.
Rob_Quads
Member

Registered: 29th Mar 01
Location: southampton
User status: Offline
20th Jun 12 at 07:49   View User's Profile U2U Member Reply With Quote

I've used WAMP on my work laptop and its worked fine.

One installer, click to launch and away you go.
AndyKent
Member

Registered: 3rd Sep 05
User status: Offline
20th Jun 12 at 08:00   View User's Profile U2U Member Reply With Quote

Was going to say, I've always used WAMP and found it a walk in the park.
noshua
Member

Registered: 19th Nov 08
User status: Offline
20th Jun 12 at 08:02   View User's Profile U2U Member Reply With Quote

Another XAMPP user here, A few tards at Uni couldn't get it working though, I didn't have to config anything though.
pow
Premium Member

Avatar

Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
20th Jun 12 at 08:08   View Garage View User's Profile U2U Member Reply With Quote

I think I've used XAMP before, was nice and easy
Dom
Member

Registered: 13th Sep 03
User status: Offline
20th Jun 12 at 08:20   View User's Profile U2U Member Reply With Quote

Only issue i've had was Apache not starting correctly but found selecting 'Install As Service' in the Xampp/Wamp menu sorted it.
noshua
Member

Registered: 19th Nov 08
User status: Offline
20th Jun 12 at 08:45   View User's Profile U2U Member Reply With Quote

Just for reference, you're opening the 'XAMPP Control Panel', pressing 'Start' on 'Apache' and 'MySQL' and then accessing the htdocs folder via: http://localhost right?
Sam
Moderator
Premium Member


Registered: 24th Dec 99
Location: West Midlands
User status: Offline
20th Jun 12 at 08:49   View User's Profile U2U Member Reply With Quote

I use XAMPP on my Mac, and previously when I had Windows I used WAMP on it.

Both setups were very easy to set up. I think for XAMPP the only thing I had to do was edit the MySQL config file for some reason (can't remember why) and that was it.
Nismo
Member

Registered: 12th Sep 02
User status: Offline
20th Jun 12 at 09:21   View User's Profile U2U Member Reply With Quote

I've always used XAMPP and its just one simple install? and sometimes its fucked up, I've just backed the directory up and re-installed.
James
Member

Registered: 1st Jun 02
Location: Surrey
User status: Offline
20th Jun 12 at 10:15   View User's Profile U2U Member Reply With Quote

I think most the issues were because I had IIS setup for .Net websites and it was conflicting with XAMPP. I'm just about there now though.
Dom
Member

Registered: 13th Sep 03
User status: Offline
20th Jun 12 at 10:36   View User's Profile U2U Member Reply With Quote

Port conflicts? Multiple VM dev enviroments FTW
ed
Member

Registered: 10th Sep 03
User status: Offline
20th Jun 12 at 10:40   View User's Profile U2U Member Reply With Quote

Can't have Apache and IIS both trying to use port 80
Rob_Quads
Member

Registered: 29th Mar 01
Location: southampton
User status: Offline
20th Jun 12 at 14:49   View User's Profile U2U Member Reply With Quote

https://solutionexchange.vmware.com/store/products/8168
DaveyLC
Member

Registered: 8th Oct 08
Location: Berkshire
User status: Offline
21st Jun 12 at 08:26   View User's Profile U2U Member Reply With Quote

There is an remote install version of PHP these days, its a piece of piss:

http://www.microsoft.com/web/gallery/install.aspx?appid=PHP53

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
Any programmers out there? Cosmo Geek Day 16 1873
28th Oct 05 at 16:46
by James
 
PHP database connection help! Planty02 Geek Day 13 963
10th Sep 06 at 21:51
by Planty02
 
SQL Server MarkW Geek Day 18 890
2nd Feb 07 at 20:38
by MarkW
 
php and mysql help please bigD21 Geek Day 4 431
30th Aug 08 at 16:46
by bigD21
 

Corsa Sport » Message Board » Off Day » Geek Day » Setting up a local instance of PHP and MySQL on Windows 28 database queries in 0.0108109 seconds