← Back to team overview

ius-coredev team mailing list archive

[Bug 783986] Re: php53u segmentation fault

 

Unfortunately the Ubuntu information will not be of any use in this
issue. This is a custom package built by IUS for Redhat based systems.

Since you are saying the php-cli command is seg faulting outside of
Apache, I think the next step would be to run the PHP code through
'strace'.

 1) If you could create a PHP file containing your above code, similar
to what I have below:

      # cat pdo.php 
      <?php
      $foo123 = new PDO('pgsql:dbname=masterupdate', 'root', '');
      ?>

 2) Install the 'strace' package via Yum:

      yum install strace

 3) Run the script through strace:

     # strace php pdo.php

  ------

Strace should catch your seg fault and give a better idea what is causing the seg fault:
   
     http://www.redhat.com/magazine/010aug05/features/strace/

If you can redirect the output of the above strace and provide it to us
in some form, we may be able to assist with tracking down why php is seg
faulting.

-- 
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/783986

Title:
  php53u segmentation fault

Status in IUS Community Project:
  New

Bug description:
  I have centos 5.6 and problem with php53u e.g:

  php53u-5.3.6-1.ius.el5
  php53u-bcmath-5.3.6-1.ius.el5
  php53u-cli-5.3.6-1.ius.el5
  php53u-devel-5.3.6-1.ius.el5
  php53u-gd-5.3.6-1.ius.el5
  php53u-pdo-5.3.6-1.ius.el5
  php53u-pgsql-5.3.6-1.ius.el5
  php53u-soap-5.3.6-1.ius.el5
  php53u-common-5.3.6-1.ius.el5
  php53u-mbstring-5.3.6-1.ius.el5
  php53u-ldap-5.3.6-1.ius.el5

  
  Bellow I past a simple code wich I run from shell and I get error: segmentation fault

  <?php
  //echo '1';				
  $foo123 = new PDO('pgsql:dbname=masterupdate;host=192.168.1.217','database','');			
  ?>


References