Adding a php library to cpanel

madpato

Well-Known Member
May 30, 2008
51
1
58
Hi

I am trying to add a php extension to my cpanel configuration /http://www.advsofteng.com/doc/cdphp.htm#cover.htm, i am doing it as most of the time, adding the specific library to my extensions folder and then setting it in my php.ini. Well the application says the library is not loaded...
i tried giving it chmod +x permissions to the library (which btw is a .dll extension and not a .so ) and restarting apache.

Maybe i am missing something because the software keeps claiming that i dont load the extension, any extra advice is really appreciated. Thanks.
 

nsanden

Member
May 11, 2010
8
0
51
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
; extension=modulename.extension
;
; For example, on Windows:
;
; extension=msql.dll
;
; ... or under UNIX:
;
; extension=msql.so


You must not be running windows if your running cpanel, thus dll isn't going to work.

[edit] just read linux does do DLL's so maybe i'm wrong. someone else can chime in.
 
Last edited: