apache - PHP svn_diff error -



apache - PHP svn_diff error -

when executing svd_diff page shows "no info received unable load webpage because server sent no data. error code: err_empty_response"

i'm trying execute this:

$diff = svn_diff($this->folder, $this->from_revision, $this->folder, $this->to_revision ? $this->to_revision : svn_revision_head);

apache error.log shows:

[fri jun 20 11:31:13.772711 2014] [core:notice] [pid 21314] ah00051: kid pid 21319 exit signal segmentation fault (11), possible coredump in /etc/apache2

i'm using apache/2.4.9 (ubuntu) php version 5.5.13-2+deb.sury.org~trusty+1 on ubuntu 14.04 lts have svn , php5-svn installed

this happening since alter ubuntu 12 14

how can prepare this?

this code might help you

<?php list($diff, $errors) = svn_diff( 'http://www.example.com/svnroot/trunk/foo', svn_revision_head, 'http://www.example.com/svnroot/branches/dev/foo', svn_revision_head ); if (!$diff) exit; $contents = ''; while (!feof($diff)) { $contents .= fread($diff, 8192); } fclose($diff); fclose($errors); var_dump($contents); ?>

php apache svn

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -