Hi

I wasn't the person that installed mysql on our box. 
I can tell you that the directory structure is not the
way I'm used to seeing it.  The bottom line is, when I
compile php, php is not able to find the mysql install
that we have.  I'll get more specific. If I assume
that mysql is installed in the "default" directory
location (I have no idea what that is), php compiles
properly.  However, when I try and create a php page
that connects to the db, it continually looks for the
mysql.sock file under /tmp, which I believe is
default.  However, ours is in another location, so it
would appear that the installation is not in the
default location.  So, I looked for the "mysql"
exectuable (you know, the client program) and found it
under /usr/bin.  So when I configured php, this time I
specified the directory as /usr/bin.  This time, php
didn't configure at all and complained that it
couldn't find the headers.  So, I looked on another
machine where everything is intalled in one directory
tree (I don't know why this wasn't done in the first
place). and found a bunch of files that ended in .h. 
These should be the header files, I thought, and
searched for those same files on the problem machine. 
I found only one copy of them and tried reconfiguring
with this new directory.  Same error message.  At this
point I'm stuck.  It appears as though however did the
install blasted different parts of the install all
over the place (maybe they used an RPM?).  Anyway, I
don't know what to put for the mysql location.  I
wrote a php script with just the phpinfo function. 
Basically, everything is listed as "no value" for the
mysql section, if that helps.  Thanks in advance for
any help that you guys can give.

Armando  

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to