- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Add OCI8 on an install Apache+PHP
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2002 10:41 AM
тАО12-16-2002 10:41 AM
Add OCI8 on an install Apache+PHP
I want to add the oci8.so to connect my database.
I install Oracle client on my machine and now i want to compile PHP to get an oci.so with :
./configure --with-oci8=/my_oracle_path
I can't make this oci8.so
Who can help me to configure my system (HP-UX 11)?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2002 12:52 AM
тАО12-17-2002 12:52 AM
Re: Add OCI8 on an install Apache+PHP
It's easier to run PHP on HPUX in static mode, which means that you have to compile also APache (just 1 binary).
The best thing is to start from gcc2.95.2, binutils, gmake you can downlaod at http://hpux.cict.fr
Then download sources from apache and PHP,
unzip/untar the packets.
STart from the apache sources :
./configure --prefix=
then cd to php sources :
./configure --with-oci8=
Then
make
make install
cd to apache sources,
make
You have then an httpd ready with PHP built in + included OCI8.
Try a search on PHP on the forum, many questions with answers about PHP on HPUX...
hth
Benoit
_________
"Un enfant prodige ?
c'est un enfant dont les parents ont beaucoup d'imagination."
Jean Cocteau
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2002 12:54 AM
тАО12-17-2002 12:54 AM
Re: Add OCI8 on an install Apache+PHP
If you download the HPApache2 bundle and install, this comes bundled with a compiled version of PHP 4.2.2 and the Oracle plug-in. If you then check in /opt/hpapache2/hp_apache_docs/php.admin.guide you'll see how to enable the plug-in. It's pretty straightforward. (Make sure you have the patch it requires).
Cheers
Nick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2002 02:14 AM
тАО12-17-2002 02:14 AM
Re: Add OCI8 on an install Apache+PHP
When i try the first solution that i experiment since several days, i have always problems, now my server say "If only this line appears then php is not working"
And the second solution is good but i see the version is compliant with Oracle 8.1.6 ... and i have the 8.1.7
Any help, thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2002 12:22 AM
тАО12-18-2002 12:22 AM
Re: Add OCI8 on an install Apache+PHP
WHen do you have this error ? During compile time, during running of apache ???
Can you try httpd -v and post the output ?
regards
Benoit
______
Barre ? c'est mon compagnon de chambre :
il dort ?? cot?? de moi a l'Assembl??e.
Andr?? Santini.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2002 12:42 AM
тАО12-18-2002 12:42 AM
Re: Add OCI8 on an install Apache+PHP
Server version: Apache/1.3.27 (Unix)
Server built: Dec 17 2002 10:41:33
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2002 08:14 AM
тАО12-18-2002 08:14 AM
Re: Add OCI8 on an install Apache+PHP
You should have
Compiled-in modules:
http_core.c
mod_so.c
mod_php4.c
if you don't have the mod_php4.c, it means that php is not included in the binary. (But it can works in dynamic as a share objects.
last test: in your apache directory,
create this file fred.php:
phpinfo();
?>
Then in a browser type the url, with the file fred.php
You should have an html pages with many informations about php, variables,....
Can you check ?
regards
Benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2002 08:52 AM
тАО12-18-2002 08:52 AM
Re: Add OCI8 on an install Apache+PHP
My page PHP display informations of my binary httpd.
Just an a last question, when i do "httpd -l" i have :
Compiled-in modules:
http_core.c
mod_so.c
mod_php4.c
suexec: disabled; invalid wrapper /u02/app/apache/bin/suexec
What's this error ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2002 09:32 AM
тАО12-18-2002 09:32 AM
Re: Add OCI8 on an install Apache+PHP
This error isn't important, the su mode isn't included in the bin, but you don't use it !
In the phpinfo page, what is the line you have about configuration.
I.E the line with the configure command, you should have --with-oci8 and many others commands is it true ??
regards
Benoit