By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,278 Members | 1,357 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,278 IT Pros & Developers. It's quick & easy.

How to Configure PHP-5.2 to integrate with mysql?

P: 97
Hi, I'm a newbie on this so I would like to know in simple terms how I can integrate my version PHP with mysql...Any help would be greatly appreciated
Feb 7 '08 #1
Share this Question
Share on Google+
3 Replies


nathj
Expert 100+
P: 938
Hi, I'm a newbie on this so I would like to know in simple terms how I can integrate my version PHP with mysql...Any help would be greatly appreciated

Hi,

What OS are you running on? I only know about Windows Vista. During the install there is a step to select the extras you want to install. One of these is MySQL, select this and complete the install. Then load the config file and change the section marked 'Extensions' so that MySQL is no longer commented out. (; at the start of a line denotes a comment).

If you are on Windows and you have already run the install simply go to progams and features on the control panel and double click php. This will look for the original msi file and then will give you the chance to select your desired extensions.

If you are not on Windows then I haven't a clue and I'm sorry to have wasted your time.

Cheers
nathj
Feb 7 '08 #2

P: 97
Hi,

What OS are you running on? I only know about Windows Vista. During the install there is a step to select the extras you want to install. One of these is MySQL, select this and complete the install. Then load the config file and change the section marked 'Extensions' so that MySQL is no longer commented out. (; at the start of a line denotes a comment).

If you are on Windows and you have already run the install simply go to progams and features on the control panel and double click php. This will look for the original msi file and then will give you the chance to select your desired extensions.

If you are not on Windows then I haven't a clue and I'm sorry to have wasted your time.

Cheers
nathj
Yeah I'm using windows xp, and it's php 5.1.2 sorry, I'd like to know how to configure php and mysql...control panel has no programs and features...
Feb 7 '08 #3

nathj
Expert 100+
P: 938
Yeah I'm using windows xp, and it's php 5.1.2 sorry, I'd like to know how to configure php and mysql...control panel has no programs and features...
Ok, control panel will have something called Add/Remove Programs or similar if it's XP, and I assume it's XP Pro, if it's home edition this could take an eternity.

Under Add/Remove programs you should be able to locate PHP, assuming you've installed it already. Double click on it and follow the stpes for, I think,repair installation or customise something like that. I went to look for it myself and couldn't find it so I'm working from memory.

The alternative is to unistall and start again - this time selecting the desired extensions as you go.

Cheers
nathj
Feb 7 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.