PHP and MySQL

Neben Kabon yellowdog-general@lists.terrasoftsolutions.com
Thu Jun 12 21:55:00 2003


After removing the error suppression, it produces an error message
stating "Fatal Error: Call to undefined function: mysql_pconnect()..."


On Thu, 2003-06-12 at 18:05, nathan r. hruby wrote:
> On 12 Jun 2003, Neben Kabon wrote:
> 
> > pconnect as follows (username/password removed)...
> > 
> > @ $db = mysql_pconnect ('localhost', 'XXXXXXXX', 'XXXXXXXX');
> > 	
> 
> Get rid of the @, it suppresses error messages.
> 
> > > On Thursday 12 June 2003 16:28, Neben Kabon wrote:
> > > > My /etc/php.ini file had:
> > > >
> > > > display_errors = On
> > > > display_startup_errors = Off
> > > >
> > > > I changed them to be both 'on' and restarted mysql.  I don't see any
> > > > change in the php output.
> > > >
> 
> Great! Now restart apache instead so php will pick up it's new config 
> and put those chnages into effect ;-)
> 
> -n
> -- 
> ----------------------------------------
> nathan hruby <nathan@drama.uga.edu>
> computer services specialist  
> uga drama & theatre                        
> reality is a moving target
> ----------------------------------------
> 
> 
> 
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general