Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.lang.php,comp.sys.raspberry-pi Subject: Re: how to have dio on raspberry Date: Sun, 01 Sep 2019 17:10:56 +0100 Organization: A noiseless patient Spider Lines: 31 Message-ID: <87blw4575b.fsf@bsb.me.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: reader02.eternal-september.org; posting-host="d329bba3330d6e67fa8b38673070d1ec"; logging-data="2062"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ORjgUPoNDLLeGViOy4uGDLKoddOnHDrQ=" Cancel-Lock: sha1:8H0aBQeAJRnpuTzHfM8GnGLYJlc= sha1:cIYvNnG3kukZb4k3bHSQ5id0Vlc= X-BSB-Auth: 1.338b93b756a4f9e2de7e.20190901171056BST.87blw4575b.fsf@bsb.me.uk Xref: csiph.com comp.lang.php:18069 comp.sys.raspberry-pi:21159 The Natural Philosopher writes: > On 01/09/2019 15:53, bill wrote: >> On 9/1/2019 10:48 AM, The Natural Philosopher wrote: >>> On 01/09/2019 14:44, J.O. Aho wrote: >>>> On 01/09/2019 14.53, ZOT wrote: >>>>> I have a brand new install of raspian, fresh install of apache2 + php +rrdools >>>>> But the php script that ran well on a old version of rapian ( I had compiled both apache and php at that time) faile with ' >>>>> -- undefined function dio_open() ' >>>>> So probably php is not compiled with dio! >>>>> Is there a way to add these functionality to php without recompile? >>>> >>>> Unless you find php7 dio package in the repository or in a ppa, you will need to compile your own php with dio support. >>>> >>> https://www.php.net/manual/en/ref.dio.php >>> >> better, start at the beginning >> https://www.php.net/manual/en/intro.dio.php >> bill > I dont see that adds anything and it is less informative Well the intro does say Note: This extension has been moved to the » PECL repository and is no longer bundled with PHP as of PHP 5.1.0. That might be helpful to know... -- Ben.