Call to undefined function rar_open() ?

Maxoq

Well-known member
Registered
Joined
Feb 25, 2015
Messages
520
Points
28
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
Registered
Joined
Jun 22, 2017
Messages
234
Points
28
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
Replies
9
Views
4,683
Replies
3
Views
1,980
Replies
2
Views
2,842
Replies
10
Views
3,143
Latest Threads
Replies
1
Views
190
Replies
0
Views
154
Replies
0
Views
278
Replies
4
Views
1,585
Recommended Threads
Replies
0
Views
2,277
Replies
4
Views
1,891
Replies
1
Views
1,518

Latest Hosting OffersNew Reviews

Sponsors

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