Call to undefined function rar_open() ?

Maxoq

Well-known member
Joined
Feb 25, 2015
Messages
294
Best answers
0
Ratings
34 1
Points
28
#1
I am installing PHP RAR extension on my vps and following this link http://pecl.php.net/package/rar
to compress & decompress rar files. I installed it on server and modify this line extension=rar.so in php.ini file.
But still, when I run a rar function like rar_open(), I get an error : Fatal error: Call to undefined function rar_open()
When I looked in phpinfo (), it shows me no extension RAR
Any ideas to fix this?
 

mobin

Well-known member
Joined
Jun 22, 2017
Messages
169
Best answers
1
Ratings
52 1
Points
28
#2
Since your phpinfo page is not showing that extention, that means its not properly enable dfor your website. Are you able to list it out from command line phpinfo ? if the command line info is showing it, you need to check whether your website is using any custom php.ini file [ you can identify it from the phpinfo page ]. If you have custom php.ini enabled for the website, you need to add the extention to that php.ini file as well.
 
Newer Threads
Latest Threads
Replies
1
Views
2
Replies
2
Views
23
Replies
3
Views
41
Recommended Threads
  • Locked
Replies
0
Views
1,887
Replies
16
Views
3,138
Replies
1
Views
807

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads