Portal Home > Knowledgebase > Articles Database > rar extension not loading in php 5.3.3, working fine in 5.2.10...why?


rar extension not loading in php 5.3.3, working fine in 5.2.10...why?




Posted by gurika, 10-09-2010, 12:10 AM
Today I trying to upgrade php to 5.3.3 from 5.2.10 because in 5.3.3 I can use CURLOPT_PROGRESSFUNCTION but in 5.3.3 I have one other problem, 5.3.3 simple don`t see rar.so extension (http://pecl.php.net/package/rar).... In php 5.2.10 all working fine, I using same php.ini file for 5.3.3 but simple rar extension don`t exist when I call phpinfo() and also when I try to use rar_open function in php script I have this error: Call to undefined function rar_open What to do? I must do it on other way in 5.3.3 or...? Thanks.

Posted by Tomdarkness, 10-09-2010, 07:21 PM
You will need to contact the developers to get a version compatible with the version of php you are using or seek alternative ways of extracting the RAR files (e.g calling unrar as a shell command from php directly rather than relying on the extension)

Posted by gurika, 10-09-2010, 07:28 PM
Problem fixed, php 5.3.3 using other path for extensions...after path update in php.ini all start to work...stupid problem, I`m stupid Thanks.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
EZPZ or Innohosting (Views: 812)
VARHosting.net Review (Views: 670)


Language: