note 69224 added to install.unix.apache2
| From: | susie91 at osu1 dot php dot net | Date: | Mon, 28 Aug 2006 03:34:20 +0000 |
| Subject: | note 69224 added to install.unix.apache2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-116406@lists.php.net to get a copy of this message | ||
for slackware 10.2 users with apache2, mysql5, and trying to install php5:
when following the directions above, after this step:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
i kept getting this error:
"Unable to find MySql header files...."
the only way i could get php5 with mysql support was to compile MySql5 from source, and not use the
binary as the mysql site recommends.
then i was able to ./configure successfully, but for some reason php was configured to compile the
CGI version.
so, had to use this ./configure line:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --disable-cgi
alternatively, you could install php4 which does bundle the MySql client files.
----
Server IP: 66.163.161.117
Probable Submitter: 71.249.125.151
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/install.unix.apache2.php
Edit -- https://master.php.net/note/edit/69224
Del: integrated -- https://master.php.net/note/delete/69224/integrated
Del: useless -- https://master.php.net/note/delete/69224/useless
Del: bad code -- https://master.php.net/note/delete/69224/bad+code
Del: spam -- https://master.php.net/note/delete/69224/spam
Del: non-english -- https://master.php.net/note/delete/69224/non-english
Del: in docs -- https://master.php.net/note/delete/69224/in+docs
Del: other reasons-- https://master.php.net/note/delete/69224
Reject -- https://master.php.net/note/reject/69224
Search -- https://master.php.net/manage/user-notes.php