build problem with 4.3.1.
| From: | (Brian C Hill) | Date: | Thu, 13 Mar 2003 00:47:09 +0000 |
| Subject: | build problem with 4.3.1. | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10331@lists.php.net to get a copy of this message | ||
Hello,
I am building php with the following configure.
/pkg/src/php-4.3.1/configure \
--prefix=/usr/pkg/php \
--with-config-file-path=/etc/php/php.ini \
--with-apxs \
--without-pear \
--with-png \
--with-jpeg \
--with-ndbm \
--with-mysql=/usr/pkg/mysql \
--enable-force-cgi-redirect \
--enable-exif \
--enable-track-vars \
--enable-discard-path
It builds and installs without incident, but it seems very
broken. No matter how simple the code, it complains - even before I put
the last ?> in. I suspect some kind of charset problem, but I am at a
loss right now.
$ php
<?
echo "Hello";
PHP Parse error: parse error, unexpected T_WHITESPACE in - on line 2
$
Note that building with pear causes a core dump during the
install and building with zlib causes apache to core dump when it is
started (since I am building the module, too). Not that it matters
here, but I figured someone is sure to ask. :)
Brian