473,396 Members | 1,676 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to Configure PHP-5.2 to integrate with mysql?

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
3 1314
nathj
938 Expert 512MB
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
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
938 Expert 512MB
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

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

Similar topics

2
by: Swartz | last post by:
Hi all. I'm building a development webserver (redhat-based). I'm trying to compile PHP (v4.3.4 if anyone cares) with all the features I might require in the near future. I've ran into a problem...
6
by: charlie fortune | last post by:
My web hosts are streamline.net. After a lot of problems with my pages which included php inside Html, I realised that their parser wasn't recognizing the tags. Entire .php scripts were running ok,...
7
by: Hal Vaughan | last post by:
I have a problem with port forwarding and I have been working on it for over 2 weeks with no luck. I have found C programs that almost work and Java programs that almost work, but nothing that...
1
by: apasj06 | last post by:
hello everyone: I am trying to send email via php. I using window XP home edition. My mail client is outlook express. I configured mail client to send email via my aol email account. mail...
0
by: yangsuli | last post by:
hi guys: happy new year~~ i want to install php-gtk,but when I unzip it from the source file,and enter the driectory trying to configure it, it complained that php-cli version doesnot exsit. the...
2
by: jonas.schnelli | last post by:
hi all i'm not a experianced php builder.. :) but i try to build php with a external mcrypt.so (i only need this file!)... the build with --with-mcrypt works fine... even the make test......
0
by: Geethu03 | last post by:
Hi I am working with the Tomcat5.0 web apllication with JSP. Now i want to use the PHP programs so i want to confiure the PHP in my Tomcat5.0 version. I download the PHP5.2.3 windows version...
1
by: hemakrmmc | last post by:
hello, I need to send mail using php Mail(), 1. Our php(I my office) is connect to a remote sever ip is (192.168.5.250). 2. My machine is SMTP enabled. 3. php.ini file is changed in the server...
3
by: kodaliece | last post by:
Hello Everyone, I am trying to configure Tomcat5.5 to run PHP5.2.5 scripts on linux machine. I got some information from http://wiki.apache.org/tomcat/UsingPhp as how to do this. First, It says...
1
by: kodaliece | last post by:
Hi, I am new to this PHP and linux OS as well. I am trying to install to Apache 2.2.8 and PHP 5.2.5 and do some PHP coding. I've installed Apache and tested it. Its working fine. Then, I...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.