I have a hosted server and a test server at home. My hosted one is running Ubuntu 6.06 and my home one Ubuntu server 8.04. I installed php5 on the home server just doing apt-get php5. I ran the trial script with mcrypt (as in php help) and it worked fine. I tried it on the hosted server but it failed with an "undefined function" error. I ran apt-get install php5-mcrypt but it came back and told me mcrypt was up to date. I checked and found the so file in: /usr/lib/php5/20051025/mcrypt.so (together with mysql.so, gd.so and so on). On the other hand at home its in: /usr/lib/php5/20060613+lfs.
Unfortunately I'm new to Linux installations and I do not know how to tell php about the mcrypt installation. I assume that having a shared object means I do not need to recompile php (which I don't fancy trying!) which is confusing because the help seems to suggest you have to - so what's going on there?
Can someone help tell me first what is wrong and second what do I need to do to make this work.
Dave