<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple id=MailContainerBody
name="Compose message area">
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The PHP Manual has tips for configuring PHP with MySQL. It looks
like it’s pretty straightforward on a Windows system.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>http://www.php.net/manual/en/mysql.installation.php<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Patrick
Lockley<br>
<b>Sent:</b> Friday, March 05, 2010 3:04 AM<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] Install problem with mysql_connect<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I’m not sure, don’t know enough php admin to know how to tell
php where mysql is. Sorry.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal style='margin-left:.5in'><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Steve
Ricketts<br>
<b>Sent:</b> 05 March 2010 11:03<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> Re: [Xerte] Install problem with mysql_connect<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB><o:p> </o:p></span></p>
<div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB style='font-family:
"Calibri","sans-serif"'>No MySql section in phpinfo. MySql was already
installed so xampp didn't do the install. However, the xampp control
panel says that MySql is running. Seems odd that it knows about it but
php doesn't. I tried putting a default host, port, etc. in php.ini but no
luck.</span><span lang=EN-GB><o:p></o:p></span></p>
</div>
<div>
<div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB style='font-size:
10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p>
</div>
<div>
<div>
<p class=MsoNormal style='margin-left:.5in;background:whitesmoke'><b><span
lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a
href="mailto:Patrick.Lockley@nottingham.ac.uk"
title="Patrick.Lockley@nottingham.ac.uk">Patrick Lockley</a> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in;background:whitesmoke'><b><span
lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Sent:</span></b><span
lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
Thursday, March 04, 2010 8:25 PM<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in;background:whitesmoke'><b><span
lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>To:</span></b><span
lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a
href="mailto:xerte@lists.nottingham.ac.uk" title="xerte@lists.nottingham.ac.uk">Xerte
discussion list</a> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in;background:whitesmoke'><b><span
lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Subject:</span></b><span
lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> RE:
[Xerte] Install problem with mysql_connect<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB><o:p> </o:p></span></p>
</div>
<div id=idOWAReplyText51549>
<div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:black'>Well the m in xaMpp is
mysql.</span><span lang=EN-GB><o:p></o:p></span></p>
</div>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>The xampp install
will do a mysql connect and die on that.<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>Does your phpinfo
page show a mysql section?<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB><o:p> </o:p></span></p>
<div style='margin-left:.5in'>
<div class=MsoNormal align=center style='text-align:center'><span lang=EN-GB>
<hr size=2 width="100%" align=center>
</span></div>
</div>
<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:
12.0pt;margin-left:.5in'><b><span lang=EN-GB style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-GB
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a
href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a>
on behalf of Steve Ricketts<br>
<b>Sent:</b> Thu 04/03/2010 23:39<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> Re: [Xerte] Install problem with mysql_connect</span><span
lang=EN-GB><o:p></o:p></span></p>
</div>
<div>
<div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB style='font-family:
"Calibri","sans-serif"'>You're right... I put an </span><span lang=EN
style='font-family:"Calibri","sans-serif"'>echo
function_exists("mysql_connect"); as the fist line and it returns
nothing. This was a fresh xampp install and I already had php installed
on IIS. Wondering if that's confusing things. I did the "for
XAMPP people" link first and get a blank page. I tried the full
install and that's where I'm seeing this error... should have said that
earlier...</span><span lang=EN-GB><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN style='font-family:
"Calibri","sans-serif"'>sr</span><span lang=EN-GB><o:p></o:p></span></p>
</div>
<div>
<div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB style='font-size:
10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p>
</div>
<div>
<div>
<p class=MsoNormal style='margin-left:.5in;background:whitesmoke'><b><span
lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a
href="mailto:Patrick.Lockley@nottingham.ac.uk"
title="Patrick.Lockley@nottingham.ac.uk">Patrick Lockley</a> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in;background:whitesmoke'><b><span
lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Sent:</span></b><span
lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
Thursday, March 04, 2010 6:29 PM<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in;background:whitesmoke'><b><span
lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>To:</span></b><span
lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a
href="mailto:xerte@lists.nottingham.ac.uk" title="xerte@lists.nottingham.ac.uk">Xerte
discussion list</a> ; <a href="mailto:xerte@lists.nottingham.ac.uk"
title="xerte@lists.nottingham.ac.uk">xerte@lists.nottingham.ac.uk</a> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in;background:whitesmoke'><b><span
lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Subject:</span></b><span
lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> RE:
[Xerte] Install problem with mysql_connect<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB><o:p> </o:p></span></p>
</div>
<div id=idOWAReplyText6113>
<div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:black'>there is a function_exists
if statement that checks for them. Maybe the boolean value your system returns
isn't what it expects?</span><span lang=EN-GB><o:p></o:p></span></p>
</div>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB><o:p> </o:p></span></p>
<div style='margin-left:.5in'>
<div class=MsoNormal align=center style='text-align:center'><span lang=EN-GB>
<hr size=2 width="100%" align=center>
</span></div>
</div>
<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:
12.0pt;margin-left:.5in'><b><span lang=EN-GB style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-GB
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a
href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a>
on behalf of Steve Ricketts<br>
<b>Sent:</b> Thu 04/03/2010 22:38<br>
<b>To:</b> <a href="mailto:xerte@lists.nottingham.ac.uk">xerte@lists.nottingham.ac.uk</a><br>
<b>Subject:</b> [Xerte] Install problem with mysql_connect</span><span
lang=EN-GB><o:p></o:p></span></p>
</div>
<div>
<div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB style='font-family:
"Calibri","sans-serif"'>I'm just trying to install Xerte and it's failing with
a message about "</span><span lang=EN-GB>Sorry your PHP install lacks the
functions mysql_connect and mysql_query, and without these this installer
cannot create the database.</span><span lang=EN-GB style='font-family:"Calibri","sans-serif"'>"
but I use mysql_connect in my php programs now. Does anyone know what I
can check?</span><span lang=EN-GB><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB style='font-family:
"Calibri","sans-serif"'>Thanks,</span><span lang=EN-GB><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB style='font-family:
"Calibri","sans-serif"'>sr</span><span lang=EN-GB><o:p></o:p></span></p>
</div>
</div>
<div style='margin-left:.5in'>
<div class=MsoNormal align=center style='text-align:center'><span lang=EN-GB>
<hr size=2 width="100%" align=center>
</span></div>
</div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>_______________________________________________<br>
Xerte mailing list<br>
Xerte@lists.nottingham.ac.uk<br>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte<o:p></o:p></span></p>
</div>
<div style='margin-left:.5in'>
<div class=MsoNormal align=center style='text-align:center'><span lang=EN-GB>
<hr size=2 width="100%" align=center>
</span></div>
</div>
<p class=MsoNormal style='margin-left:.5in'><span lang=EN-GB>_______________________________________________<br>
Xerte mailing list<br>
Xerte@lists.nottingham.ac.uk<br>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte<o:p></o:p></span></p>
</div>
</div>
</body>
</html>