简体   繁体   中英

configure php using pear on linux

I have lampp installed on my linux box. I am trying to use proc_open as below.

    $spec = array(
            array("pty"), 
            array("pty"),
            array("pty")
    );

    $this->process = proc_open($command, $spec, $this->pipes);

But i am getting Warning: proc_open() [function.proc-open]: pty pseudo terminal is not support on this system in...

I found that i need to enable pty in php like ./configure --enable-pty. But the php is installed as part of lampp. I could not configure php.

How can I enable pty using pear. Please help.

您必须重新编译PHP,而PEAR不能帮助您。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM