<html><div style='background-color:'><DIV class=RTE>
<P>Hello,</P>
<P>the output of phpInfo() has '--with-mysql=shared,/usr' and also --with-apxs2=/usr/sbin/apxs' (but apxs is no at /usr/sbin/).</P>
<P>I added the extension in php.ini:</P>
<P>extension=mysql.so</P>
<P>extension_dir = /usr/lib/php4<BR><BR>[root@pclabo php4]# ls /usr/lib/php4/<BR>imap.so&nbsp; ldap.so&nbsp; mysql.so</P>I made these changes and I restarted the server but I'm still getting the same error mysql_pconnect(), what else should I do? Thanks, Llanos<BR><BR><BR>&gt;<BR>&gt;Have a look at the output from phpInfo(), does it mention anything about<BR>&gt;mysql support being enabled as a module?<BR>&gt;Has it been compiled as an extension? If that's the case then you'll have to<BR>&gt;add it to php.ini<BR>&gt;[extension section]<BR>&gt;extension=mysql.so<BR>&gt;Also make sure extension_dir is set correctly<BR>&gt;extension_dir = /usr/lib/php/extensions<BR>&gt;This will vary depending on which version of Linux your using or where you<BR>&gt;chose to have the extensions installed.<BR>&gt;You have got the MySQL development files installed? If it can't find them<BR>&gt;then it will 
probably skip over building that extension. When you try and<BR>&gt;build it it should perform checks to see if it can find the required files,<BR>&gt;make sure it passed the check for the MySQL headers.<BR>&gt;<BR>&gt;&nbsp;&nbsp; -----Original Message-----<BR>&gt;&nbsp;&nbsp; From: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org]On<BR>&gt;Behalf Of Llanos Serna García-Conde<BR>&gt;&nbsp;&nbsp; Sent: 06 May 2005 13:26<BR>&gt;&nbsp;&nbsp; To: serusers@lists.iptel.org<BR>&gt;&nbsp;&nbsp; Subject: [Serusers] php with mysql, where is APXS?<BR>&gt;<BR>&gt;<BR>&gt;&nbsp;&nbsp; Hi all, I'm trying to see the serweb login screen but I get the error:<BR>&gt;&nbsp;&nbsp; Fatal error: Call to undefined function: mysql_pconnect()<BR>&gt;<BR>&gt;&nbsp;&nbsp; I know that this error has to do with the installation of php with mysql<BR>&gt;support, but I have alreadly re-configured php using 
--with-mysql and the<BR>&gt;error still appears. I know APACHE is working because I can see the test<BR>&gt;page and PHP is also working cause I made a test with phpinfo(). Could this<BR>&gt;have anything with APXS? I'm not using the option with APXS because I can't<BR>&gt;have this APXS anywhere in my directories. I dint' include a path when<BR>&gt;adding --with-mysql, could this be the source of the error?<BR>&gt;&nbsp;&nbsp; Any other ideas? Please help<BR>&gt;<BR>&gt;&nbsp;&nbsp; Llanos<BR>&gt;<BR>&gt;---------------------------------------------------------------------------------------------<BR>&gt;This email, and any files transmitted with it, is copyright and may contain confidential information.<BR>&gt;The contents are intended for the use of the addressee(s) only.<BR>&gt;Unauthorized use may be unlawful.<BR>&gt;If you receive this email by mistake, please advise sender 
immediately.<BR>&gt;The views of the author may not necessarily constitute the views of the company.<BR>&gt;Nothing in this mail shall bind the company in any contract or obligation.<BR>&gt;<BR>&gt;Tel&nbsp;&nbsp;+44 (0) 20 8002 6000<BR>&gt;Fax&nbsp;&nbsp;+44 (0) 20 8002 6060<BR>&gt;<BR>&gt;______________________________________________________________________<BR>&gt;This email has been scanned by the MessageLabs Email Security System.<BR>&gt;For more information please visit http://www.messagelabs.com/email<BR>&gt;______________________________________________________________________<BR></DIV></div></html>