I'm having some difficulty executing the dl() function. Heres my situation:
my isp is running php as a cgi executable. There is a master php.ini file and I have my own php.ini file that I can use to customize php run under my account. So I have modified the extension_dir parameter to point to a directory I have control over but, unfortunately when I execute the dl() function it still tries to go to the extension_dir directory. Are there certain parameters I cannot overide?
Does anyone know of a simple c library I could try to load? I'm trying to get pdflib to load and for some reason I think it would be easier to test this with a more simplistic library.
We have tried crazy directory mapping to force it to go to my directory ie:
dl(../../../home/my/directory/object.so");
and this seems like it works but we get this strange memory error:
ELF load command address/offset not properly aligned in [[file name]] on line 2
pdflib did not load.
Any ideas?!?
culley