//*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*//
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...
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?
//*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*//
Hm, I don't know. You can try it. Or you search your system with Code: updatedb locate rar.so for another rar.so.