LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Show Library Path for PHP on Linux? (https://www.linuxquestions.org/questions/linux-software-2/show-library-path-for-php-on-linux-304069/)

daprezjer 03-20-2005 07:20 PM

Show Library Path for PHP on Linux?
 
Quick version: Is there a way to "print" the LD_LIBRARY_PATH so I can see how the other paths look, and to make sure the new path is there?

I'm not sure if this is better for PHP or Linux but here goes.

I'm trying to install a library from a third party vendor. They tell me to use the following code, where /default/ is where the PHP folder is and simapi/lib is the library that contains the functions I need.

export LD_LIBRARY_PATH=/default/simapi/lib:$LD_LIBRARY_PATH

I get the gist of this; adding the location of the new library, then a colon and repeating the other paths.

Unfortunately, this doesn't seem to work, and any functions that I try (that should be in this library) don't work, nor do they seem to show up in phpinfo. Is there a way to "print" the LD_LIBRARY_PATH so I can see how the other paths look, and to make sure the new path is there?

Tinkster 03-20-2005 08:35 PM

echo $LD_LIBRARY_PATH


All times are GMT -5. The time now is 07:45 PM.