I'm now moving to a hosted server. On this server, for some reason I have to run the following command in order to get the CGI to be able to access a shared library:
Code: Select all
export LD_LIBRARY_PATH=/home/vik/domains/myURL.com/public_html/cgi-bin/cgi_folder:$LD_LIBRARY_PATHBut when I run "export LD_LIBRARY_PATH" from my PHP app, using shell_exec, it doesn't seem to work.
How can I fix this?
Thanks very much in advance to all for any info.