Also,

On the phpinfo.php

MYSQL_SOCKET /var/lib/mysql/mysql.sock 
MYSQL_INCLUDE -I/usr/include/mysql 
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient 

ARE MISSING.  

When I run a phpinfo.php page I get all my config info

with my php.ini file put in the etc dir i get no mention of the
above mysql information

with the php.ini file removed or renamed and then running a
phpinfo page I get

MYSQL information in my config file.

So what can I do because the php.ini file just shows config info
I don't think I can modify it to see mysql can I?  doesn't that
have to reply on the rpm install?  or when the php libary was
built?

Frank

--- Frank Tudor <[EMAIL PROTECTED]> wrote:
> Thanks for the response.
> 
> Ok with php.ini in the ect directory I get a 
> 
> Call to undefined function: mysql_connect() 
> 
> Without the php.ini file all my functions fail, because
> Mandrake
> linux has all the latest and greatest apache php and mysql
> stuff.  so during that build (which doesn't use the php.ini
> and
> frankly I'm not sure where the php stuff is defined in
> apache),
> because before the php.ini files ended up in the etc directory
> I
> had to modify it from the php.ini-dist from the common lib
> directory.  
> 
> does this help?
> 
> Frank 
> --- John Nichel <[EMAIL PROTECTED]> wrote:
> > Frank Tudor wrote:
> > > Yes to the php-mysql rpm,
> > > 
> > > But listen I think it was the way it built the initial
> > appach
> > > php mysql configurations  I don't think the php.ini
> refects
> > an
> > > accurate setup of my php mysql setup.
> > > 
> > > Frank
> > 
> > Let's get away from the php.ini for a moment.  Being that
> you
> > did 
> > everything from RPM, the ini file doesn't come into play
> here
> > (you 
> > basically have a default setup, with default settings).  The
> > stock 
> > php.ini file will do just fine.
> > 
> > What is the output of this code on your box.....
> > 
> > if ([EMAIL PROTECTED]("your_host", "your_username",
> > "your_password")){
> >     echo ( mysql_error() );
> > } else {
> >     echo ( "Connection exists" );
> > }
> > 
> > -- 
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design
> software
> http://sitebuilder.yahoo.com
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to