note 86573 added to install.macosx.bundled
| From: | jaffle at osu1 dot php dot net | Date: | Fri, 24 Oct 2008 09:36:12 +0000 |
| Subject: | note 86573 added to install.macosx.bundled | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-145683@lists.php.net to get a copy of this message | ||
Additionally, it seems that the default installation of php on Mac OS X (10.5 tested) does not point
to the default location of the mysql.sock file that is installed in a standard MySQL 5.0
installation.
This prevents php working with locally hosted MySQL databases.
Adding the following line to the /private/etc/apache2/other/php5.conf file did the trick:
php_value mysql.default_socket /tmp/mysql.sock
(make sure you put it in between the </IfModule> statements)
----
Server IP: 69.147.83.197
Probable Submitter: 61.9.206.54
----
Manual Page -- http://www.php.net/manual/en/install.macosx.bundled.php
Edit -- https://master.php.net/note/edit/86573
Del: integrated -- https://master.php.net/note/delete/86573/integrated
Del: useless -- https://master.php.net/note/delete/86573/useless
Del: bad code -- https://master.php.net/note/delete/86573/bad+code
Del: spam -- https://master.php.net/note/delete/86573/spam
Del: non-english -- https://master.php.net/note/delete/86573/non-english
Del: in docs -- https://master.php.net/note/delete/86573/in+docs
Del: other reasons-- https://master.php.net/note/delete/86573
Reject -- https://master.php.net/note/reject/86573
Search -- https://master.php.net/manage/user-notes.php