473,739 Members | 5,405 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP5, Windows Installer and MySQL

AC
Does the Windows Installer version of PHP5 come with MySQL support? As
well, how hard is it to add extensions to the Windows Installer version?

--
Aaron Clausen
mi************* @hotmail.com

"My illness is due to my doctor's insistence that I drink milk, a
whitish fluid they force down helpless babies." - WC Fields
Jul 17 '05 #1
3 4620
i do not think php5 comes with mysql support by default. you can download a
file from php.net with all the extensions and set up extensions manually.
just read the installation notes and the ini file.
konstantin
"AC" <mi************ *@hotmail.com> wrote in message
news:sl******** *************** *****@aaronclau sen.alberni.net ...
Does the Windows Installer version of PHP5 come with MySQL support? As
well, how hard is it to add extensions to the Windows Installer version?

Jul 17 '05 #2
AC wrote:
Does the Windows Installer version of PHP5 come with MySQL support? As
well, how hard is it to add extensions to the Windows Installer version?


Sort of.

The default .exe installer or whatever does not have any of the extensions
in it. To get these:

1. download the php-5.0.2.zip file from php.net
2. unzip it to the location into which you installed PHP (I use c:\php)
3. edit php.ini (c:\windows on IIS, usually, c:\php on apache, usually)
and uncomment (remove the leading ; char):

extension=php_m ysqli.php

4. Make sure that the extension directory in php.ini is set to

c:/php/ext or whatever directory yours would be.

good ruck!

--
I am not an ANGRY man. Remove the rage from my email to reply.

Ashlee Simpson Sings! You Faint .... --More--
Ashlee Simpson Sings! Ashlee Simpsons sings! You die ... --More--
Jul 17 '05 #3
AC
On Tue, 07 Dec 2004 13:10:46 -0800,
Mark <mw@ANGRYLanfea r.com> wrote:
AC wrote:
Does the Windows Installer version of PHP5 come with MySQL support? As
well, how hard is it to add extensions to the Windows Installer version?


Sort of.

The default .exe installer or whatever does not have any of the extensions
in it. To get these:

1. download the php-5.0.2.zip file from php.net
2. unzip it to the location into which you installed PHP (I use c:\php)
3. edit php.ini (c:\windows on IIS, usually, c:\php on apache, usually)
and uncomment (remove the leading ; char):

extension=php_m ysqli.php

4. Make sure that the extension directory in php.ini is set to

c:/php/ext or whatever directory yours would be.

good ruck!


Thanks, that did the trick!

--
Aaron Clausen
mi************* @hotmail.com

"My illness is due to my doctor's insistence that I drink milk, a
whitish fluid they force down helpless babies." - WC Fields
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
4756
by: Spidah | last post by:
Looking at the list of changes made in PHP5 one of them is "Removed the bundled MySQL client library" Does anyone know exactly what this means? I assume we will still be able to code for MySQL as we do now? Thanks Hamilton
4
3304
by: Philipp Lenssen | last post by:
OK, I can get PHP5 running on Apache 2 installed on Windows XP Home Edition. Now I want to add MySQL4 to the package. I installed it but I'm not sure what to do now. My PHP5 scripts are running fine. The MySQL server seems to be running though actually I'm not sure. When I write $link = mysql_connect("localhost", "mysql"); I get the PHP5 error message "Call to undefined function mysql_connect()" Can anyone help? (Or should I be using...
11
10586
by: neur0maniak | last post by:
Hi, I've been eager to try out PHP5, so I've dumped it on my little dev machine. It's running WinXP with IIS5. I've put the php-cgi.exe in the "mappings" page as I'm used to doing with PHP4. I've got my php.ini all set in C:\Windows. I created an index.php containing: <?php phpinfo(); ?> When I try to view the page, I get "HTTP 400 - Bad Request".
12
3619
by: Sarah Tanembaum | last post by:
Though I installed MySQL5 and PHP5, how come my phpinfo() shows as follow: MySQL Support enabled Active Persistent Links 0 Active Links 0 Client API version 3.23.57 <<<<<<<<<<<<<<< Instead of saying 3.23.57, shouldn't it show 5.xx.xx? Or, did I do something wrong?
16
2320
by: Paul Rubin | last post by:
As what must be penance for something or other, I'm needing to release a Python app for use under Windows XP. Please be gentle with me since I'm a Un*x weenie and the only thing I've had much practice with under Windows is rebooting it. My app contains three different programs (say alice.py, bob.py, and carol.py) that need to be independently launchable, and a dozen or so other .py files that get imported into those first three. What...
1
1882
by: Nospam | last post by:
I am trying to get mysql 4, php5, and apache to work on my winxp sp2 comp, unfortunately even though php5 and apache seems to work ok I am unable to utilise mysql with php and apache, I have yet to see a guide that has a problem free installation, if there is such a guide or a fix on how to get php5, apache and mysql all working on winxp sp2, after having moved libmysql.dll to the c:\php directory as well as the c:\windows\system...
6
18711
by: frustratedcoder | last post by:
I have tried to find a good ref. on how to enable soap and mysql in PHP5 on windows xp but without luck. Can any one take me through the process? I need to enable both soap and mysql I'm not running apache. I need to know how to recomplie my PHP5 on windows xp.
3
2141
by: R.A.M. | last post by:
I use PHP5 in Windows XP Professional with Apache and MySQL installed. I would like to use MySQL. Now, I cannot use mysql_* functions because mysql_connect(...) returns Fatal error: Call to undefined function mysql_connect() PHP is problably not correctly configured to use MySQL. I think so, because when I open: localhost/phpinfo.php I receive no information about MySQL. So far, I have modified c:\windows\php.ini: ;;;;;;;;;;;;;;;;;;;;;;
12
2591
by: Alan M Dunsmuir | last post by:
After having worked with Apache/MySQL/PHP for a year or so under Linux I need, purely for convenience, to set up a parallel platform under Windows. Unfortunately, since I last did this (using Windows XP Pro) I've moved on to Windows Vista (Home Premium). MySQL and Apache2 have both installed satisfactorily, but I'm having problems with PHP5. I downloaded the PHP5 Windows installer (the .msi file) for 32-bit Windows, which is supposed...
0
8969
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8792
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9266
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9209
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8215
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6754
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4570
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4826
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3280
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.