Loading ...
Sorry, an error occurred while loading the content.
 

Pitchfork on Lighttpd with Php-FCGi and Pear...

Expand Messages
  • fatmcgav
    Hi there, I m trying to install and run http://pitchfork.remiss.org Pitchfox on my Unslung Slug running lighttpd with Php-fcgi and Pear. The problem i ve
    Message 1 of 6 , Jun 27, 2007
      Hi there,

      I'm trying to install and run http://pitchfork.remiss.org Pitchfox on my
      Unslung Slug running lighttpd with Php-fcgi and Pear. The problem i've found
      is php info shows that php is configured to not use pear.

      phpinfo()
      PHP Version => 5.2.2

      System => Linux WILLSLUG 2.4.22-xfs #1 Mon Apr 10 18:17:11 PDT 2006 armv5b
      Build Date => May 6 2007 21:57:21
      Configure Command => './configure' '--build=i386-pc-linux-gnu'
      '--host=armv5b-softfloat-linux' '--target=armv5b-softfloat-linux'
      '--prefix=/opt' '--with-config-file-scan-dir=/opt/etc/php.d'
      '--with-layout=GNU' '--disable-static' '--enable-bcmath=shared'
      '--enable-calendar=shared' '--enable-dba=shared' '--with-inifile'
      '--with-flatfile' '--enable-dom=shared' '--enable-embed=shared'
      '--enable-exif=shared' '--enable-ftp=shared' '--enable-mbstring=shared'
      '--enable-pdo=shared' '--enable-shmop=shared' '--enable-sockets=shared'
      '--enable-sysvmsg=shared' '--enable-sysvshm=shared'
      '--enable-sysvsem=shared' '--enable-xml=shared' '--enable-xmlreader=shared'
      '--with-bz2=shared,/home/slug/optware/nslu2/staging/opt'
      '--with-curl=shared,/home/slug/optware/nslu2/staging/opt'
      '--with-db4=/home/slug/optware/nslu2/staging/opt'
      '--with-dom=shared,/home/slug/optware/nslu2/staging/opt'
      '--with-gdbm=/home/slug/optware/nslu2/staging/opt'
      '--with-gd=shared,/home/slug/optware/nslu2/staging/opt'
      '--with-imap=shared,/home/slug/optware/nslu2/staging/opt'
      '--with-mysql=shared,/home/slug/optware/nslu2/staging/opt'
      '--with-mysql-sock=/tmp/mysql.sock'
      '--with-mysqli=shared,/home/slug/optware/nslu2/staging/opt/bin/mysql_config'
      '--with-pgsql=shared,/home/slug/optware/nslu2/staging/opt'
      '--with-openssl=shared,/home/slug/optware/nslu2/staging/opt'
      '--with-sqlite=shared'
      '--with-pdo-mysql=shared,/home/slug/optware/nslu2/staging/opt'
      '--with-pdo-pgsql=shared,/home/slug/optware/nslu2/staging/opt'
      '--with-pdo-sqlite=shared'
      '--with-xsl=shared,/home/slug/optware/nslu2/staging/opt'
      '--with-zlib=shared,/home/slug/optware/nslu2/staging/opt'
      '--with-libxml-dir=/home/slug/optware/nslu2/staging/opt'
      '--with-jpeg-dir=/home/slug/optware/nslu2/staging/opt'
      '--with-png-dir=/home/slug/optware/nslu2/staging/opt'
      '--with-freetype-dir=/home/slug/optware/nslu2/staging/opt'
      '--with-zlib-dir=/home/slug/optware/nslu2/staging/opt'
      '--with-pcre-regex=/home/slug/optware/nslu2/staging/opt'
      '--with-ldap=shared,/home/slug/optware/nslu2/staging/opt'
      '--with-ldap-sasl=/home/slug/optware/nslu2/staging/opt'
      '--enable-maintainer-zts' '--without-iconv' '--without-pear'

      Any ideas how i change it? Do i need to reconfigure php, recompile or wat???

      Let me know.

      Cheers
      Gavin
      --
      View this message in context: http://www.nabble.com/Pitchfork-on-Lighttpd-with-Php-FCGi-and-Pear...-tf3987727.html#a11322573
      Sent from the Nslu2 - General mailing list archive at Nabble.com.
    • Robert Hammond
      In message , fatmcgav writes ... The compile time options can be displayed by using the command line
      Message 2 of 6 , Jun 27, 2007
        In message <11322573.post@...>, fatmcgav
        <fatmcgav@...> writes
        >
        >Hi there,
        >
        >I'm trying to install and run http://pitchfork.remiss.org Pitchfox on my
        >Unslung Slug running lighttpd with Php-fcgi and Pear. The problem i've found
        >is php info shows that php is configured to not use pear.
        >
        >phpinfo()
        >PHP Version => 5.2.2
        >
        >System => Linux WILLSLUG 2.4.22-xfs #1 Mon Apr 10 18:17:11 PDT 2006 armv5b
        >Build Date => May 6 2007 21:57:21
        >Configure Command => './configure' '--build=i386-pc-linux-gnu'
        >'--host=armv5b-softfloat-linux' '--target=armv5b-softfloat-linux'
        >'--prefix=/opt' '--with-config-file-scan-dir=/opt/etc/php.d'
        >'--with-layout=GNU' '--disable-static' '--enable-bcmath=shared'
        >'--enable-calendar=shared' '--enable-dba=shared' '--with-inifile'
        >'--with-flatfile' '--enable-dom=shared' '--enable-embed=shared'
        >'--enable-exif=shared' '--enable-ftp=shared' '--enable-mbstring=shared'
        >'--enable-pdo=shared' '--enable-shmop=shared' '--enable-sockets=shared'
        >'--enable-sysvmsg=shared' '--enable-sysvshm=shared'
        >'--enable-sysvsem=shared' '--enable-xml=shared' '--enable-xmlreader=shared'
        >'--with-bz2=shared,/home/slug/optware/nslu2/staging/opt'
        >'--with-curl=shared,/home/slug/optware/nslu2/staging/opt'
        >'--with-db4=/home/slug/optware/nslu2/staging/opt'
        >'--with-dom=shared,/home/slug/optware/nslu2/staging/opt'
        >'--with-gdbm=/home/slug/optware/nslu2/staging/opt'
        >'--with-gd=shared,/home/slug/optware/nslu2/staging/opt'
        >'--with-imap=shared,/home/slug/optware/nslu2/staging/opt'
        >'--with-mysql=shared,/home/slug/optware/nslu2/staging/opt'
        >'--with-mysql-sock=/tmp/mysql.sock'
        >'--with-mysqli=shared,/home/slug/optware/nslu2/staging/opt/bin/mysql_config'
        >'--with-pgsql=shared,/home/slug/optware/nslu2/staging/opt'
        >'--with-openssl=shared,/home/slug/optware/nslu2/staging/opt'
        >'--with-sqlite=shared'
        >'--with-pdo-mysql=shared,/home/slug/optware/nslu2/staging/opt'
        >'--with-pdo-pgsql=shared,/home/slug/optware/nslu2/staging/opt'
        >'--with-pdo-sqlite=shared'
        >'--with-xsl=shared,/home/slug/optware/nslu2/staging/opt'
        >'--with-zlib=shared,/home/slug/optware/nslu2/staging/opt'
        >'--with-libxml-dir=/home/slug/optware/nslu2/staging/opt'
        >'--with-jpeg-dir=/home/slug/optware/nslu2/staging/opt'
        >'--with-png-dir=/home/slug/optware/nslu2/staging/opt'
        >'--with-freetype-dir=/home/slug/optware/nslu2/staging/opt'
        >'--with-zlib-dir=/home/slug/optware/nslu2/staging/opt'
        >'--with-pcre-regex=/home/slug/optware/nslu2/staging/opt'
        >'--with-ldap=shared,/home/slug/optware/nslu2/staging/opt'
        >'--with-ldap-sasl=/home/slug/optware/nslu2/staging/opt'
        >'--enable-maintainer-zts' '--without-iconv' '--without-pear'
        >
        >Any ideas how i change it? Do i need to reconfigure php, recompile or wat???
        >
        >Let me know.
        >
        The compile time options can be displayed by using the command line
        commands
        php -i
        and
        php-fcgi -i

        It would seem that both PHP 5.2.2-1 and PHP-FCGI 5.2.2-5 are currently
        compiled with the --without-pear flag.
        The only way to correct this would be to remove the flag and re-compile.
        Perhaps the flag was added to get past some compilation problems.
        --
        Robert Hammond
        PGP:0x154144DA
      • Robert Hammond
        In message , Robert Hammond writes ... ... I may be wrong here because there because there is
        Message 3 of 6 , Jun 27, 2007
          In message <zBttGDB9BqgGFwl9@...>, Robert Hammond
          <rob.hammond@...> writes
          >In message <11322573.post@...>, fatmcgav
          ><fatmcgav@...> writes
          >>
          >>Hi there,
          >>
          >>I'm trying to install and run http://pitchfork.remiss.org Pitchfox on my
          >>Unslung Slug running lighttpd with Php-fcgi and Pear. The problem i've found
          >>is php info shows that php is configured to not use pear.
          >>
          >>phpinfo()
          <Snip>
          >>'--enable-maintainer-zts' '--without-iconv' '--without-pear'
          >>
          >>Any ideas how i change it? Do i need to reconfigure php, recompile or wat???
          >>
          >>Let me know.
          >>
          >The compile time options can be displayed by using the command line
          >commands
          >php -i
          >and
          >php-fcgi -i
          >
          >It would seem that both PHP 5.2.2-1 and PHP-FCGI 5.2.2-5 are currently
          >compiled with the --without-pear flag.
          >The only way to correct this would be to remove the flag and re-compile.
          >Perhaps the flag was added to get past some compilation problems.

          I may be wrong here because there because there is an optware package
          called php-pear??

          I loaded this package on top of my PHP installation and re-booted but
          PHP still seems to complain that the module is not present. So perhaps
          the --without-pear flag does need removing.

          --
          Robert Hammond
          PGP:0x154144DA
        • fatmcgav
          Is removing the flag and recompiling easy enough to do? Cheers Fatmcgav ... found ... --enable-xmlreader=shared ... wat??? ... -- View this message in
          Message 4 of 6 , Jun 27, 2007
            Is removing the flag and recompiling easy enough to do?

            Cheers
            Fatmcgav

            Robert Hammond wrote:
            >
            > In message <11322573.post@...>, fatmcgav
            > <fatmcgav@...> writes
            >>
            >>Hi there,
            >>
            >>I'm trying to install and run http://pitchfork.remiss.org Pitchfox on my
            >>Unslung Slug running lighttpd with Php-fcgi and Pear. The problem i've
            found
            >>is php info shows that php is configured to not use pear.
            >>
            >>phpinfo()
            >>PHP Version => 5.2.2
            >>
            >>System => Linux WILLSLUG 2.4.22-xfs #1 Mon Apr 10 18:17:11 PDT 2006 armv5b
            >>Build Date => May 6 2007 21:57:21
            >>Configure Command => './configure' '--build=i386-pc-linux-gnu'
            >>'--host=armv5b-softfloat-linux' '--target=armv5b-softfloat-linux'
            >>'--prefix=/opt' '--with-config-file-scan-dir=/opt/etc/php.d'
            >>'--with-layout=GNU' '--disable-static' '--enable-bcmath=shared'
            >>'--enable-calendar=shared' '--enable-dba=shared' '--with-inifile'
            >>'--with-flatfile' '--enable-dom=shared' '--enable-embed=shared'
            >>'--enable-exif=shared' '--enable-ftp=shared' '--enable-mbstring=shared'
            >>'--enable-pdo=shared' '--enable-shmop=shared' '--enable-sockets=shared'
            >>'--enable-sysvmsg=shared' '--enable-sysvshm=shared'
            >>'--enable-sysvsem=shared' '--enable-xml=shared'
            '--enable-xmlreader=shared'
            >>'--with-bz2=shared,/home/slug/optware/nslu2/staging/opt'
            >>'--with-curl=shared,/home/slug/optware/nslu2/staging/opt'
            >>'--with-db4=/home/slug/optware/nslu2/staging/opt'
            >>'--with-dom=shared,/home/slug/optware/nslu2/staging/opt'
            >>'--with-gdbm=/home/slug/optware/nslu2/staging/opt'
            >>'--with-gd=shared,/home/slug/optware/nslu2/staging/opt'
            >>'--with-imap=shared,/home/slug/optware/nslu2/staging/opt'
            >>'--with-mysql=shared,/home/slug/optware/nslu2/staging/opt'
            >>'--with-mysql-sock=/tmp/mysql.sock'
            >>'--with-mysqli=shared,/home/slug/optware/nslu2/staging/opt/bin/mysql_config'
            >>'--with-pgsql=shared,/home/slug/optware/nslu2/staging/opt'
            >>'--with-openssl=shared,/home/slug/optware/nslu2/staging/opt'
            >>'--with-sqlite=shared'
            >>'--with-pdo-mysql=shared,/home/slug/optware/nslu2/staging/opt'
            >>'--with-pdo-pgsql=shared,/home/slug/optware/nslu2/staging/opt'
            >>'--with-pdo-sqlite=shared'
            >>'--with-xsl=shared,/home/slug/optware/nslu2/staging/opt'
            >>'--with-zlib=shared,/home/slug/optware/nslu2/staging/opt'
            >>'--with-libxml-dir=/home/slug/optware/nslu2/staging/opt'
            >>'--with-jpeg-dir=/home/slug/optware/nslu2/staging/opt'
            >>'--with-png-dir=/home/slug/optware/nslu2/staging/opt'
            >>'--with-freetype-dir=/home/slug/optware/nslu2/staging/opt'
            >>'--with-zlib-dir=/home/slug/optware/nslu2/staging/opt'
            >>'--with-pcre-regex=/home/slug/optware/nslu2/staging/opt'
            >>'--with-ldap=shared,/home/slug/optware/nslu2/staging/opt'
            >>'--with-ldap-sasl=/home/slug/optware/nslu2/staging/opt'
            >>'--enable-maintainer-zts' '--without-iconv' '--without-pear'
            >>
            >>Any ideas how i change it? Do i need to reconfigure php, recompile or
            wat???
            >>
            >>Let me know.
            >>
            > The compile time options can be displayed by using the command line
            > commands
            > php -i
            > and
            > php-fcgi -i
            >
            > It would seem that both PHP 5.2.2-1 and PHP-FCGI 5.2.2-5 are currently
            > compiled with the --without-pear flag.
            > The only way to correct this would be to remove the flag and re-compile.
            > Perhaps the flag was added to get past some compilation problems.
            > --
            > Robert Hammond
            > PGP:0x154144DA
            >
            >

            --
            View this message in context: http://www.nabble.com/Pitchfork-on-Lighttpd-with-Php-FCGi-and-Pear...-tf3987727.html#a11332734
            Sent from the Nslu2 - General mailing list archive at Nabble.com.
          • bb
            considered using edna? its a nice streaming music solution with python http://edna.sourceforge.net/ bb
            Message 5 of 6 , Jun 28, 2007
              considered using edna? its a nice streaming music solution with python

              http://edna.sourceforge.net/

              bb
            • Robert Hammond
              In message , fatmcgav writes The current optware version of the pear manager is broken but I have
              Message 6 of 6 , Jul 4, 2007
                In message <11332734.post@...>, fatmcgav
                <fatmcgav@...> writes

                <snip>

                The current optware version of the pear manager is broken but I have
                discovered that this package is easily installed directly from the pear
                web site as follows.

                1. Make sure that you do not have the broken version of pear installed
                by using ipkg remove php-pear.
                2. Create an empty file using touch /tmp/go-pear.php then flag the file
                chmod 755 /tmp/go-pear.php
                3. Into this empty file copy the contents of the web page
                http://go-pear.org
                4. Then at a command prompt run the script using
                php -q /tmp/go-pear.php
                5. The installation script will run offering some options. Change
                option 7 from $prefix/temp to $prefix/tmp
                6. Allow the script to finish running.
                7. Add - include_path = "/opt/share/pear" - to your /opt/etc/php.ini
                file.
                --
                Robert Hammond
                PGP:0x154144DA
              Your message has been successfully submitted and would be delivered to recipients shortly.