|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24459 /bin/sh is not ksh on Solaris
Submitted: 2003-07-02 07:43 UTC Modified: 2003-07-02 08:20 UTC
From: php at xaje dot com Assigned:
Status: Closed Package: *Configuration Issues
PHP Version: 5.0.0b1 (beta1) OS: Solaris 8
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: php at xaje dot com
New email:
PHP Version: OS:


 [2003-07-02 07:43 UTC] php at xaje dot com
/bin/sh on Solaris is the Borne Shell, but needs the Korn shell for it's 'test' operator to recognise '=='.  This will result in failing.

The solution is to set and export CONFIG_SHELL=/bin/ksh for the Korn shell before running

This may be a documentation bug.

Reproduce code:

Expected result:
Thank you for using PHP.

Actual result:
test: unknown operator ==


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-02 08:20 UTC]
Please try using this CVS snapshot:
For Windows:

Already fixed in CVS. 

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 24 15:01:29 2024 UTC