ID: 12415
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Bogus
Bug Type: MySQL related
Operating System: Linux Mandrake 8.0
PHP Version: 4.0.6
New Comment:

user error.


Previous Comments:
------------------------------------------------------------------------

[2001-07-27 03:21:45] [EMAIL PROTECTED]

Found the problem. There was a missing ; .

I thought ;'s are only used for comments...

------------------------------------------------------------------------

[2001-07-27 03:07:55] [EMAIL PROTECTED]

are you sure PHP actually reads that php.ini? you can see the location where PHP looks 
for the file in the output of phpinfo(). as with all changes in php.ini, you have to 
restart apache for this to become effective.

------------------------------------------------------------------------

[2001-07-27 02:52:41] [EMAIL PROTECTED]

I have tried to change MySQL's socket path to something else than the default. I found 
that there's a mysql.default_socket in /etc/php.ini.

I changed it to point to the socket file, but it doesn't seem to have any effect. PHP 
produces error message saying that it cannot find mysql.sock, and the path points 
still to the default location. phpinfo() shows also the default location.

There's a workaround: symbolic link to real socket file.

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=12415&edit=1


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