Re: problem to the installation
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: problem to the installation | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10512@lists.php.net to get a copy of this message | ||
There is no --with-apache2 switch. Use --with-apxs2 and point it at your
apxs script.
But, keep in mind that Apache2+PHP is barely beta-quality and you are
likely to run into problems. For any sort of production server, use
Apache-1.3.x
-Rasmus
On Sat, 5 Apr 2003, Milhouse Van Houten wrote:
> I have downloaded PHP 4.3.1 in php.net for Linux. When I execute ./configure --prefix=/php
> --with-mysql --with-apache2=/httpd-2.0.34 everything is ok. But, when I execute the command make
> after, I have there errors in the compilation, who can help me???:
>
> In function `my_tempnam':
> /php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerou
> s, better use `mkstemp'
> ext/mysql/libmysql/my_lib.o(.text+0x3c4): In function `my_dir':
> /php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno'
> ext/mysql/libmysql/my_lib.o(.text+0x5ab): In function `my_stat':
> /php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno'
> ext/mysql/libmysql/my_malloc.o(.text+0xb7): In function `my_malloc':
> /php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno'
> ext/mysql/libmysql/my_realloc.o(.text+0xb0): In function `my_realloc':
> /php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno'
> ext/mysql/libmysql/my_delete.o(.text+0x71): In function `my_delete':
> /php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno'
> ext/mysql/libmysql/my_tempnam.o(.text+0x78):/php-4.3.1/ext/mysql/libmysql/my_tem
> pnam.c:108: more undefined references to `errno' follow
> collect2: ld returned 1 exit status
> make: *** [sapi/cgi/php] Error 1
>