Call to undefined function rar_open() ?

Maxoq

Well-known member
Joined
Feb 25, 2015
Messages
321
Best answers
0
Ratings
37 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
202
Best answers
0
Ratings
73 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
6
Views
33
Replies
2
Views
31
Replies
2
Views
29
Replies
25
Views
123

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top