[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-developers] Configure PHP to work with newly added
- Subject: RE: [cobalt-developers] Configure PHP to work with newly added
- From: "Pete Stulginskis" <vps@xxxxxxxxxxx>
- Date: Sun May 13 23:44:01 2001
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
Opps!
Hopefully anyone who may of needed this info say that I had typed:
"mysql_connection()" which should be "mysql_connect()".
Pete
-----Original Message-----
From: cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]On Behalf Of Pete
Stulginskis
Sent: Thursday, May 10, 2001 7:37 PM
To: cobalt-developers@xxxxxxxxxxxxxxx
Subject: 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)
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers