Well, I'm not the best qualified to answer this question but here goes my
best shot (Guru's watch me here make sure I don't screw this up). 

Starting with Apache. Apache does not actually process your *.php files.
There is another engine that takes care of that called Zend. There are a
couple lines you need to add to httpd.conf in order to tell apache what to
do with these files but if you installed apache via RPM it should be
pre-built with <iffound> tags that has something like 
   AddType application/x-httpd-php .php
   LoadModule php4_module        libexec/libphp4.so
in there.

now the AddType line may also have .php4 and .php3 as well as .php

Make sure that the modules for your oracle-php are of the same release as
your php.

I.E. php-oracle-4.2.2-1j1.i686.rpm
should have php-4.2.2-1j1.i686.rpm installed prior to the oracle-php.

Not sure about the actual syntax of the LoadModule (modulename)
libexec/oracle.so but I would include that 
in your load modules section in the httpd.conf. Check the Apache.org site
and click on PHP. The www.php.net has an introductory tutorial link on the
left of the page. Next click on "Installation" and that will give you a list
of different types of servers you can configure for including Apache.

I had a lot of trouble getting mine to work until I did a rpm -e php and saw
about 10-15 versions of php in the system. php-oracle, php-postgres,
php-mysql, php-devel ...etc. some of them (including the main php*.rpm) were
of different revisions. I yanked all of them out and only installed what I
needed and all of the same revision. Now my system is running much faster
and cleaner and php is finally working too.   

-----Original Message-----
From: Aleksandar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 2:06 AM
Subject: [PHP-INST] "VERY NEWBIE" php_* mod_* --with- question

Hello List for the first time,
I am very new to php but impressed from what i've seen so far. I managed to 
configure php w/ mysql and db2 do some selects, inserts ... 
What I am inerested in is what are all those mod_php* and php_* on the 
distribution's CDs e.g. if they are installed how do i get support for 
which i thought i have installed the module( like rpm -i  
php-oracle-4.2.2-1j1.i686.rpm means that i can somehow get oracle support 
without recompiling php ??? or no). 
Another thing that bothers me is should I (can I) use for example Oracle's 
apache or install "regular" apache and work with it.
Is Apache-PHP-Linux on one machine and OracleDB-Win/Lin on another machine 
big trouble or peace of cake (It asks me for oci8 lib which I don't know 
where to get if I don't want to install any oracle products on the web 
server (can i get them from php-oci8...rpm for example)
DSO e.g. oracle.so is a shared object but where to include it for the 
support and is it enough)
Thank you all and looking forward to hearing from you

PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to