> >which is kind of odd because in the process of getting
> >PHP4 installed, I removed and MySQL, and changed
> >the layout in the process: the mysql directory
> >was moved from /var/lib to /usr/local/mysql/var
> >and PHP4 was configured with '--with-mysql=/usr/local/mysql'
> >... so I don't know why php appears to be referring
> >to /var/lib/mysql at all.
>
> Most installscripts will leave things like configfiles untouched. If you
> build from source you should copy the distributed INI file to a useful
> place. You probably didn't take this last step.
...
> Your old config file has the old location you could alter this manually.
> Change the location of mysql.sock and restart apache. Use Pico or your
> favorite text editor to edit your php.ini
> ...
> I think you should be fine
> after changing the php.ini file.
Yes, I wouldn't be surprised if the problem is an existing
configfile, but I don't know which one. The location
of mysql.sock isn't specified or implied in php.ini, so
far as I can see.
Configuring mysql with
--with-unix-socket-path=/usr/local/mysql/var/mysql.sock
doesn't seem to make any difference either.
Paul N.
--
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]