For unix (especially opensuse 10.0) you can find bison and flex here:
ftp.gnu.org/non-gnu/flex
ftp.gnu.org/pub/gnu/bison
Peace ;-)
![]() | Unix 系统下的 Apache 2.0本节包括在 Unix 平台的 Apache 2.0 下安装 PHP 的说明和提示。
推荐阅读 Apache 文档,了解一下 Apache 2.0 服务器。
下载最新版本的 Apache 2.0,并且根据上文选择合适版本的 PHP 下载。本向导仅包含最基础的内容,只能让 Apache 2.0 和 PHP 能够正常工作。更多信息请阅读 Apache 文档。这里省略所有的版本号,以保证本文的正确性。需要将本文的“NN”替换为相应的版本号。 按照上面的步骤便可以使 Apache 2.0 将 PHP 作为 SAPI 模块了。当然 Apache 和 PHP 都还有很多配置选项,可以在相应的源代码目录中使用 ./configure --help 获得更多信息。假如要编译一个多线程版本的 Apache 2.0,必须覆盖标准的 MPM-Module prefork,或者 worker 或者 perchild。要这样,需要在上面的第 6 步使用 --with-mpm=worker 或者 --with-mpm=perchild 选项。之前需要了解自己在做什么。更多信息请参考 Apache 文档中关于 MPM-Modules 的部分。
![]()
pillepop2003 at yahoo dot de
20-Apr-2006 12:18
For unix (especially opensuse 10.0) you can find bison and flex here:
felixcca at yahoo dot ca
30-Mar-2006 10:13
I've (painfully) discovered that installing PHP5 with "make install" under SuSe 9.2 is NOT a good idea.
payne747 at yahoo dot com
15-Feb-2006 12:05
When compiling php 5.1.2 on Debian 3.1 (Sarge) with Apache 2.2.0, I ran into problems with libxml2 and libxml2-config not found errors. After checking the base install, Debian leaves out the libxml2 headers, they can be downloaded using apt-get:
frank@ethisoft
28-Sep-2005 05:30
Using Apache2 & PHP5 work perfectly fine & safe together.
happyboy at php dot org
04-Aug-2005 07:30
FILE TRUNCATED!!
v_santhanam at nospam dot ettimadai dot amrita dot edu
13-May-2005 02:30
if you are getting the following error : "Cannot load /usr/local/apache2/modules/libphp4.so into server: /usr/local/apache2/
sukhruprai at yahoo dot com
31-Mar-2005 07:17
For good step by step instructions read Compiling PHP and Apache 2 from source on Linux OS:
fggarcia at ice dot co dot cr
26-Mar-2005 09:26
I think that it's important says that the option --with-apxs2=/usr/local/apache2/bin/apxs in the configure script it's necesary to build the libphp5.so (in PHP5). Then in the make install command, this .so module will be installed in the modules directory of Apache home
mihai dot sandu at gtstelecom dot ro
28-Feb-2005 09:22
For the SuSE9.2 install of PHP5.
neil
11-Feb-2005 06:21
To install mysql and mysqli with PHP5 do the following:
jmartinNO at SPAMcolumbiaservices dot net
25-Jan-2005 07:44
Well I was getting the following error when trying to run make (shared module for Apache 2.0.52)
Dan Scott (dan dot scott at acm dot org)
20-Jan-2005 12:36
Building PHP 5.x with Apache2 on SuSE Professional 9.1/9.2
Jon Drukman
14-Jan-2005 08:09
We have been running Apache 2 Prefork + PHP 4 (many different versions) for well over a year now, serving 10's of millions of pages per day on dozens of servers. It is completely stable and reliable.
praveen dot k at masconit dot com
15-Nov-2004 05:38
Hi too had same problem with multiview like when i execute http://huey/admin/test.php it used to compile but when i use http://huey/admin/test it wouldnt recognise it as php file... i worked it out with the addhandler method and AddType in different line and setting multiview for directive
nospam-1 at spam dot matt dot blissett dot me dot uk
01-Oct-2004 06:52
If you're trying to get PHP and Multiviews to work properly, try this page: | ![]() | ||