php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25348 "make install" fails with --enable-short-tags
Submitted: 2003-09-01 20:19 UTC Modified: 2003-09-29 20:54 UTC
From: rjmooney at lsb dot syr dot edu Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.3.3 OS: OpenBSD 3.2
Private report: No CVE-ID:
 [2003-09-01 20:19 UTC] rjmooney at lsb dot syr dot edu
Description:
------------
PHP 4.3.3 builds as expected under OpenBSD 3.2 w/ Apache 1.3.27.  However, when I attempt to install, I receive the following:

-- cut here --
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).

...
Installing PEAR environment:      /usr/local/lib/php/

Parse error: parse error in ./php-4.3.3/pear/package-Archive_Tar.xml on line 1
*** Error code 255
-- cut here --

Line 1 of Archive_Tar.xml is:

<?xml version="1.0" encoding="ISO-8859-1" ?>

Here are my configure options:

./configure --with-apxs=/usr/sbin/apxs --with-mysql --with-xml --with-pgsql --enable-ftp --enable-short-tags --enable-calendar --enable-track-vars --with-tsrm-pth --enable-sockets --with-gettext --with-zlib-dir --with-jpeg --with-png --with-gd --with-exif --with-ttf --with-bcmath --with-pspell --with-pdflib --with-config-file-path=/var/www/conf

The module does seems to work (phpinfo() reports the correct version), however attempting a command from the command prompt such as "php -v" hangs waiting for input.  

4.3.2 does not have this problem.

Reproduce code:
---------------
$ ./configure --with-apxs=/usr/sbin/apxs --with-mysql --with-xml --with-pgsql --enable-ftp --enable-short-tags --enable-calendar --enable-track-vars --with-tsrm-pth --enable-sockets --with-gettext --with-zlib-dir --with-jpeg --with-png --with-gd --with-exif --with-ttf --with-bcmath --with-pspell --with-pdflib --with-config-file-path=/var/www/conf

$ make
# make install

Expected result:
----------------
No installation errors.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-01 20:30 UTC] sniper@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Fri Apr 25 07:02:14 2014 UTC