php and rar probs

Discussion in 'Server Operation' started by ColdDoT, May 25, 2006.

  1. ColdDoT

    ColdDoT Member

    //*cough* rar is for 5 only *cough*//
    Hello it was a question about the pecl pack rar

    nowhere was standing that it is only for php5.

    //*cough* rar is for 5 only *cough*//
     
    Last edited: May 26, 2006
  2. falko

    falko Super Moderator ISPConfig Developer

  3. ColdDoT

    ColdDoT Member

    //*cough* rar is for 5 only *cough*//
     
    Last edited: May 26, 2006
  4. ColdDoT

    ColdDoT Member

    //*cough* rar is for 5 only *cough*//
     
    Last edited: May 26, 2006
  5. falko

    falko Super Moderator ISPConfig Developer

    You always get these errors:

    Code:
    /var/server/webserver/apache2/php4/rar-0.2/php_rar.h:56: error: expected constructor, destructor, or type conversion before '(' token
    /var/server/webserver/apache2/php4/rar-0.2/php_rar.h:57: error: expected constructor, destructor, or type conversion before '(' token
    /var/server/webserver/apache2/php4/rar-0.2/php_rar.h:58: error: expected constructor, destructor, or type conversion before '(' token
    /var/server/webserver/apache2/php4/rar-0.2/php_rar.h:59: error: expected constructor, destructor, or type conversion before '(' token
    /var/server/webserver/apache2/php4/rar-0.2/php_rar.h:60: error: expected constructor, destructor, or type conversion before '(' token
    /var/server/webserver/apache2/php4/rar-0.2/php_rar.h:61: error: expected constructor, destructor, or type conversion before '(' token
    /var/server/webserver/apache2/php4/rar-0.2/php_rar.h:62: error: expected constructor, destructor, or type conversion before '(' token
    /var/server/webserver/apache2/php4/rar-0.2/php_rar.h:63: error: expected constructor, destructor, or type conversion before '(' token
    /var/server/webserver/apache2/php4/rar-0.2/php_rar.h:64: error: expected constructor, destructor, or type conversion before '(' token
    /var/server/webserver/apache2/php4/rar-0.2/php_rar.h:65: error: expected constructor, destructor, or type conversion before '(' token
    So I guess something's wrong with the package... :(
     
  6. ColdDoT

    ColdDoT Member

    i get that erros to with the version 1 package. and there are no other packages.

    so is there a other way to get the rar funtions working?
     
  7. ColdDoT

    ColdDoT Member

    Can i not use some1 elses rar.so?

    if so. does some 1 have it?

    thx
     
  8. ColdDoT

    ColdDoT Member

    //*cough* rar is for 5 only *cough*//
    OMG

    for a real strange reson i've found rar.so in my php5 map so thats realy good. but the probs still remains for php4.

    or can you change that so to fit in php4?
    //*cough* rar is for 5 only *cough*//
     
    Last edited: May 26, 2006
  9. falko

    falko Super Moderator ISPConfig Developer

    Hm, I don't know. You can try it.

    Or you search your system with
    Code:
    updatedb
    locate rar.so
    for another rar.so.
     

Share This Page