PHP and MySQL

nathan r. hruby yellowdog-general@lists.terrasoftsolutions.com
Thu Jun 12 16:04:01 2003


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
----------------------------------------