PHP 4.2.1 install problems
| From: | 胡 图 | Date: | Tue, 21 May 2002 06:42:53 +0000 |
| Subject: | PHP 4.2.1 install problems | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-10425@lists.php.net to get a copy of this message | ||
Hi There,
I am new to PHP and I am getting install problems.
I am using PHP 4.2.1 , Apache 1.3.24 in Solaris 8 Sparc
I install apache and php from source:
When I complie php, Here is the configure command I ran:
# ./configure --prefix=/usr/local/apache
# cd ../php-4.2.1 # ./configure --prefix=/usr/local/php \
--with-mysql=/usr/local/mysql \
--with-apache=../apache_1.3.24 \
--with-gd --with-png-dir=/usr/local \
--with-jpeg-dir=/usr/local \
--with-xpm-dir=/usr/local \
--with-ttf=/usr/local/freetype \
--with-t1lib=/usr/local \
--with-zlib=/usr/local \
--with-tiff-dir=/usr/local \
--enable-track-vars # make
Making all in Zend
make[1]: Entering directory `/export/home/users/jinkun/php-4.2.1/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../maic
In file included from zend_compile.h:24,
from zend_language_parser.c:147:zend.h:55: unix.h: No such file or directory make[1]: *** [zend_language_parser.lo] Error 1 make[1]: Leaving directory `/export/home/users/jinkun/php-4.2.1/Zend' make: *** [all-recursive] Error 1 How fix this problem? thanks _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.microsoft.com/cn