#444 [NEW]: /usr/local/bin/pear: segmentation fault
| From: | sw at telemedia dot ch | Date: | Wed, 17 Dec 2003 08:58:08 +0000 |
| Subject: | #444 [NEW]: /usr/local/bin/pear: segmentation fault | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-24481@lists.php.net to get a copy of this message | ||
From: sw at telemedia dot ch
Operating system: OpenBSD
PHP version: Irrelevant
PHP Bug Type: Bug System
Bug description: /usr/local/bin/pear: segmentation fault
Description:
------------
the latest php package available with OpenBSD is 3.2.3. after installing
the package and pear from the OpenBSD port the pear script dies with:
Reproduce code:
---------------
<b2-143:/usr/ports/www/php4/extensions/pkg>#pear --help
Expected result:
----------------
<b2-143:/usr/ports/www/php4/extensions/pkg>#pear --help
Usage: pear [options] command [command-options] <parameters>
Type "pear help options" to list all options.
Type "pear help <command>" to get the help for the specified command.
Commands:
login
logout
config-show
config-get
config-set
install
uninstall
upgrade
package
package-info
package-list
package-validate
cvstag
list-installed
shell-test
remote-package-info
list-upgrades
list-remote-packages
Actual result:
--------------
Segmentation fault.
when i change /usr/local/bin/pear from:
#!/usr/local/bin/php -Cq
<?php // -*- PHP -*-
to:
#!/usr/local/bin/php -cq
<?php // -*- PHP -*-
it works fine.
# php -h
does not offer a '-C' argument.
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=444&edit=1
--