Re: any extra work need to make php mysql function available?

From: Date: Wed, 31 Oct 2001 06:02:37 +0000
Subject: Re: any extra work need to make php mysql function available?
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-4803@lists.php.net to get a copy of this message
hi Perrin, i am a amateur. i can only install with rpm. can i implement it with rpm package? thanks, jim "Perrin" <perrin@spectratech.com> ¼¶¼g©ó¶l¥ó·s»D :PDEIJGNLAGANBKBEKNLBOEDDCBAA.perrin@spectratech.com... > Hi JIM, > > When you install php, you need to enable the mysql function ! So I think that you need re-compile the php again > -- like that > ./configure --with-apache=/path/to/apache > --with-mysql=/path/to/mysql > . . . . . . and so on > > -- For example you install mysql on /usr/local/mysql path > > ./configure --with-apache=/path/to/apache > --with-mysql=/usr/local/mysql > . . . . . . and so on > > Good Luck > Perrin > > > -----Original Message----- > From: JIM [mailto:landeo@hkem.com] > Sent: Wednesday, October 31, 2001 9:50 AM > To: php-install@lists.php.net > Subject: [PHP-INST] any extra work need to make php mysql function > available? > > > hi all, > i am using redhat. i am able to run php script thro' webpage. but, failed to > use mysql functions in php. is there any extra work need to initialize these > functions? > my code and error are shown as below, > code **************************** > > <? > echo " text generated by php <br>\n"; > echo $rmnum; > printf(" b4 connected <br>\n"); > $link=mysql_pconnect("192.168.0.101", "chaze", "sochausee") or > die > ("failed"); > mysql_select_db("stjohn"); > ?> > > result **************************** > > text generated by php > b4 connected > > Fatal error: Call to undefined function: mysql_pconnect() in > /home/chaze/public_html/sjc/energy.php on line 7 > > **************************** > any comments? > thanks, > jim > > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > For additional commands, e-mail: php-install-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.install (#4803) next »