Originally posted by rrijnders
"--with-pear" is a compile directive. It tells the compiler to compile the pear libraries into the PHP binary. AFAIK, you would have to recompile the binary to get pear support, however; check with your ISP. Most ISP's that support PHP have a number of different PHP modules already compiled with different types of support. Usually all you have to do is change your apache configuration to specify the PHP module that has the support you want.
The problem is that I do not administrate the server, else it would have been easy to include the pear module.🙂
Anyway, I just found the solution.
Just had to add this in my code
ini_set("include_path", "whateverpath you want");
Thanks for the help anyway😃