View previous topic :: View next topic |
Author |
Message |
Soef n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Mar 2005 Posts: 41
|
Posted: Fri Mar 03, 2006 3:15 pm Post subject: PHP5 (5.1.1) + Apache 2 + oracle [SOLVED] |
|
|
Hi folks,
I've tried a dozen ways to install php5 with oracle (oci8) ability:
- PEAR
- PECL
- oci8
- oci8-instant-client
I've installed PHP5 with oci8 support, instant client support, the instant client its self... all with no succes!! I think I've seen whole the web about this, but i can't figure out how to get it work!!
Apache keeps telling me this:
Code: |
* Apache2 has detected a syntax error in your configuration files:
Syntax error on line 6 of /etc/apache2/modules.d/70_mod_php5.conf:
Cannot load /usr/lib/apache2/modules/libphp5.so into server: libnnz10.so: cannot open shared object file: No such file or directory
|
Please help me or tell me where to find THE guide...
------------------------- EDIT ------------------------------------------
I tried some things more and here is the thing you'll have to do to install PHP5 with apache2 and oci functions (oracle, oci8)
- Make sure you have this use flags set: "dba cli pcre xml zlib oci8-instant-client"
- Unmask PHP (5.1.1) by placing "dev-lang/php ~x86" in /etc/portage/package.keywords
- Unmask oracle-instantclient-basic (10.2.0.1-r1) by placing "dev-db/oracle-instantclient-basic ~x86"
- Download oracle files from "http://otn.oracle.com/software/tech/oci/instantclient/htdocs/linuxsoft.html" (You have to make an account and login, in order to download the packages:
- instantclient-basic-linux32-10.2.0.1-20050713.zip
- instantclient-sdk-linux32-10.2.0.1-20050713.zip
- Place the downloaded packages in "/usr/portage/distfiles"
- "emerge apache dev-lang/php5" (If you done right, the build for the instantclient will be selected automaticly.
- Configure your "/etc/conf.d/apache2" to make sure you have "-D PHP5" in your "APACHE_OPTS"
After this, you will be able to use oci functions with apache and with command line PHP-ing...
Good luck!! _________________ Bleeding edge is our downfall...
Last edited by Soef on Fri Mar 03, 2006 7:32 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Soef n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Mar 2005 Posts: 41
|
Posted: Fri Mar 03, 2006 7:31 pm Post subject: |
|
|
Edited post, I hope someone is helped by the sollution. _________________ Bleeding edge is our downfall... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|