Coder Social home page Coder Social logo

php-yenc's People

Contributors

niel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

php-yenc's Issues

version shows as 1.1.1

FYI version strange issue with version showing in php -a

$extensions = get_loaded_extensions();
foreach ($extensions as $extension) {
echo "$extension: " . phpversion($extension) . "\n";
}

yenc: 1.1.1

Made sure it was the correct file, removed it from lib and did not show, put it back, and it does. For the life of me, I can not figure out where this is coming from and why it's now showing 1.2.2.

depancy issue php7.0

fresh ubuntu 16 installed, php7.0 installed for nzedb indexer.

sudo dpkg -i php7.0-yenc_1.3.0_amd64.deb
Selecting previously unselected package php7.0-yenc.
(Reading database ... 171689 files and directories currently installed.)
Preparing to unpack php7.0-yenc_1.3.0_amd64.deb ...
Unpacking php7.0-yenc (1.3.0) ...
dpkg: dependency problems prevent configuration of php7.0-yenc:
php7.0-yenc depends on php7.0; however:
Package php7.0 is not installed.

dpkg: error processing package php7.0-yenc (--install):
dependency problems - leaving unconfigured
Processing triggers for php7.0-cli (7.0.22-0ubuntu0.16.04.1) ...
Errors were encountered while processing:
php7.0-yenc

root@b0x:~# php -v
PHP 7.0.22-0ubuntu0.16.04.1 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.22-0ubuntu0.16.04.1, Copyright (c) 1999-2017, by Zend Technologies

Segfaulting PHP when extension enabled

Every time PHP runs it results in a segfault. Disabling the extension results in a working PHP.

  • OS: Ubuntu 17.04
  • PHP: 7.1.9-1+ubuntu17.04.1+deb.sury.org+1 (cli) (built: Sep 2 2017 05:57:15) ( NTS )
  • php-yenc: 1.3.0 (release not source build)

php -m, php -i, etc. result in segfault. Strace ... of course ... just states:

munmap(0x7fbcb59c9000, 65536)           = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xa00000001} ---
+++ killed by SIGSEGV (core dumped) +++

I wanted to get this issue submitted while I was in the middle of trying to use php-yenc. I can assist with debugging at a later date.

Building for PHP7.2

How do I go about building this PHP extension (specifically for 7.2)? The package.sh script only seems to work if the extension has already been built.

Dependancy issue

When installing sudo dpkg -i php7.0-yenc_1.3.0_amd64.deb I get:

php7.0-yenc depends on php7.0; however: Package php7.0 is not installed.

test.php gives me:

PHP Version 7.0.15-0ubuntu0.16.04.4

Version for ondrej's PHP

Hi @niel,

dpkg -I php7.0-yenc_1.2.2_amd64.deb
 new debian package, version 2.0.
 size 37608 bytes: control archive=886 bytes.
      73 bytes,     2 lines      conffiles
     284 bytes,    12 lines      control
     206 bytes,     3 lines      md5sums
     584 bytes,    18 lines   *  postinst             #!/usr/bin/env
 Package: php7.0-yenc
 Version: 1.2.2
 License: unknown
 Vendor: niel@minty
 Architecture: amd64
 Maintainer: <niel@minty>
 Installed-Size: 79
 Depends: php (>> 7.0)
 Section: default
 Priority: extra
 Homepage: https://github.com/niel/php-yenc
 Description: php-yenc extension build for PHP 7.0

Spoke to ondrej last night. He says for this package to properly work with php-yenc it needs to depend on the package php7.0 and not on the package php with a version > 7.0.

Could you compile a .deb which depends on php7.0? :-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.