apache+php+mysql新版安装方法

ext/mysql/libmysql/my_lib.o(.text+0x37a): In function `my_dir':
/tmp/install/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno'
ext/mysql/libmysql/my_lib.o(.text+0x546): In function `my_stat':
/tmp/install/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno'
ext/mysql/libmysql/my_malloc.o(.text+0xbd): In function `my_malloc':
/tmp/install/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno'
ext/mysql/libmysql/my_realloc.o(.text+0xb4): In function `my_realloc':
/tmp/install/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno'
ext/mysql/libmysql/my_delete.o(.text+0x6d): In function `my_delete':
/tmp/install/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno'
ext/mysql/libmysql/my_tempnam.o(.text+0x79):/tmp/install/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:108: more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
我想问你make的时候最后一行出现上面的错误和警告没
编译的时候出现这样的错误,肯定不能编译出libphp.so来,你需要检查你的库文件和编译的步骤,参数是否正确。
tar -zvxf 解压缩
./configure 参数照你前面说的设置的
make
make install
这都是比较常规的!
你说库文件,可否说的具体点!
引用:
5)
在httpd.conf中加入下面语句:
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php .php4 .php3 .phtml
添加到什么地方啊
我运行info.php后出现下面的信息
Not Found

The requested URL /info.php was not found on this server.

Apache/1.3.27 Server at localhost.localdomain Port 80
请指教
我的是apache2.0.45+php4.3.1,RH系统,启动httpd时说sape_apache2.c文件不兼容,请问是什么原因?
原来的红帽不支持apache2,新版的好象可以了。
在配置文件中,仔细的阅读提示,可以看到相关的提示,添加上面的语句。可以搜索相关的关键词语,如LoadModule  ,AddType 就可以找到地方。
我是redhat9.0
make: *** [sapi/cli/php] Error 1


?????????????????????
编译php有错误怎么办啊!
http://localhost
Not Found

The requested URL /index.html.tw.Big5 was not found on this server.
Apache/2.0.45 (Unix) Server at localhost Port 80
http://localhost/info.php
Not Found

The requested URL /info.php was not found on this server.
Apache/2.0.45 (Unix) Server at localhost Port 80
我完全是按照上面的方法乍的阿!
好象要把127.0.0.1改为自己的ip,是吗?
在哪里改?httpd.conf里找不到。大概在百分之几?
多谢!