Home   My Faqts   Contributors   About   Help   Link to FAQTS  

faqts : Computers : Databases : Oracle : Linux Specific

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

12 of 16 people (75%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

I'm using PHP with DSO modules. How can I check that the libphp4.so module is properly loaded? how can I check it contains the OCI8 librairies?

Oct 24th, 2001 05:30
Michael Chan, Bram Dumolin, Severine Pinto,


Two answers :
1) httpd -l should give you a list of all compiled in modules
2) Just make a page in your documentroot somewhere, for example,
blah.php and in there enter the following :
<?
phpInfo();
?>
Then browse to that page and you get a lot of info about all the
settings of your running apache.
3) httpd -t yields error if it can't load your module via LoadModule. 
Here's the error I got, when I tried it:
Syntax error on line 206 of /opt/oas/app/apache1320/conf/httpd.conf:
Cannot load /opt/oas/app/apache1320/libexec/libphp4.so into server: 
ld.so.1: ./httpd: fatal: relocation error: 
file /opt/oas/4.0/lib/libclntsh.so.1.0: symbol slpmprodstab: referenced 
symbol not found