[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-developers] Configure PHP to work with newly added



I've been struggling the past couple of days attempting to resolve this
issue and seemed to identify the issue.

You may of already resolve this, but the conflict I identified had to deal
with the path to the "mysql.sock" location.  MySQL install this in
"/var/lib/mysql".  PHP by default looks in: "/tmp".

You can force PHP to look in another location by adding the path in the
'mysql_connection()' command.

You add the path by appending it to the hostname, ex:
	 "mysql_connection("hostname:/path-to-socketfile",...)

Additionally, the 'extension=mysql.so' in the php.ini file does need
uncommented and that should make PHP & MySQL sing in harmony.


V. Peter Stulginskis
President:  ENDCORP
3751 Mill Run
Terrell, NC. 28682
828-325-8076
828-325-8077(fax)