First make sure you have gcc and gcc-c++ also the php developer kit
Code: 
yum install -y gcc gcc-c++ php-devel
Now after we installed those run this command to install rar
Code: 
pect install rar
The next step is to add the code bellow into php.ini
Code: 
extension=rar.so
And the final step after you saved the php.ini
Lighttpd
Code: 
service lighttpd restart
Or
Apache
Code: 
service httpd restart
Thanks for watching, original post here
hip_hop_x Reviewed by hip_hop_x on . Rar extension for php cent os First make sure you have gcc and gcc-c++ also the php developer kit yum install -y gcc gcc-c++ php-devel Now after we installed those run this command to install rar pect install rar The next step is to add the code bellow into php.ini extension=rar.so And the final step after you saved the php.ini Lighttpd service lighttpd restart Or Apache service httpd restartThanks for watching, original post here Rating: 5