Oracle Solaris System Administration (MOSC)

MOSC Banner

php script is generating segmentation fault in Solaris

edited May 27, 2012 2:56AM in Oracle Solaris System Administration (MOSC) 1 comment
 DearAll, 

The below php command runs on linux well and the output but in solaris we are getting the below error. 

Linux:

[root@kmefic-web-dev ~]# php -r 'echo iconv("UTF-8", "UTF-8", "Hello, world.\n");'

Hello, world. 

We are getting the result. 

But the same script is generating segmentation fault in Solaris. Please see below the result from Solaris.

 -bash-3.2$ php -r 'echo iconv("UTF-8", "UTF-8", "Hello, world.\n");'

Segmentation Fault (core dumped)

-bash-3.2$ su -

# php -r 'echo iconv("UTF-8", "UTF-8", "Hello, world.\n");'

Segmentation Fault - core dumped

Can you please anyone advice ?

Thanks & Regards
Shivakumar.J

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center