niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Oracle
Linux, Apache, PHP, Oracle: how to make PHP working
Post new topic   Reply to topic Page 1 of 1 [7 Posts] View previous topic :: View next topic
Author Message
DA Morgan
*nix forums Guru


Joined: 06 Mar 2005
Posts: 1042

PostPosted: Wed Feb 09, 2005 11:10 pm    Post subject: Re: Linux, Apache, PHP, Oracle: how to make PHP working Reply with quote

Patrick Bervoets wrote:

Quote:
Well, close to giving it up I've finally tried with PHP 4.3.10 and then it
works. (Should have done it before - I know)
So, I'll stay clear from PHP 5 for a while.
Thanks for helping
Patrick

Contact me off-line and I'll put you in touch with an expert on PHP 5
and Oracle. It works just fine.

--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace 'x' with 'u' to respond)
Back to top
Patrick Bervoets
*nix forums beginner


Joined: 03 Feb 2005
Posts: 3

PostPosted: Tue Feb 08, 2005 5:08 pm    Post subject: Re: Linux, Apache, PHP, Oracle: how to make PHP working Reply with quote

Well, close to giving it up I've finally tried with PHP 4.3.10 and then it
works. (Should have done it before - I know)
So, I'll stay clear from PHP 5 for a while.
Thanks for helping
Patrick
Back to top
Patrick Bervoets
*nix forums beginner


Joined: 03 Feb 2005
Posts: 3

PostPosted: Tue Feb 08, 2005 10:15 am    Post subject: Re: Linux, Apache, PHP, Oracle: how to make PHP working Reply with quote

I tried to send it as an attachment, but seem not to be able to.

So, the ouput of make:

/bin/sh /home/patrick/php-5.0.3/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/libxml/ -I/home/patrick/php-5.0.3/ext/libxml/
-DPHP_ATOM_INC -I/home/patrick/php-5.0.3/include
-I/home/patrick/php-5.0.3/main -I/home/patrick/php-5.0.3
-I/home/patrick/php-5.0.3/Zend -I/usr/include/libxml2
-I/usr/local/oracle/OraHome_1/rdbms/public
-I/usr/local/oracle/OraHome_1/rdbms/demo
-I/home/patrick/php-5.0.3/TSRM -g -O2 -prefer-pic -c
/home/patrick/php-5.0.3/ext/libxml/libxml.c -o ext/libxml/libxml.lo
/home/patrick/php-5.0.3/ext/libxml/libxml.c:28:17: php.h: No such file
or directory
/home/patrick/php-5.0.3/ext/libxml/libxml.c:31:28: zend_variables.h: No
such file or directory
In file included from /home/patrick/php-5.0.3/ext/libxml/libxml.c:32:
/home/patrick/php-5.0.3/ext/standard/php_string.h:27: warning: parameter
names (without types) in function declaration
/home/patrick/php-5.0.3/ext/standard/php_string.h:27: warning: data
definition has no type or storage class
/home/patrick/php-5.0.3/ext/standard/php_string.h:28: warning: parameter
names (without types) in function declaration
/home/patrick/php-5.0.3/ext/standard/php_string.h:28: warning: data
definition has no type or storage class
/.../
/home/patrick/php-5.0.3/ext/standard/php_string.h:140: syntax error
before "size_t"
/home/patrick/php-5.0.3/ext/standard/php_string.h:140: warning: data
definition has no type or storage class
/home/patrick/php-5.0.3/ext/standard/php_string.h:143: syntax error
before "char"
/home/patrick/php-5.0.3/ext/standard/php_string.h:157: warning:
parameter names (without types) in function declarationIn file included
from /home/patrick/php-5.0.3/ext/libxml/libxml.c:33:
/home/patrick/php-5.0.3/ext/standard/info.h:59: syntax error before
"PHP_FUNCTION"
/home/patrick/php-5.0.3/ext/standard/info.h:59: warning: parameter names
(without types) in function declaration
/home/patrick/php-5.0.3/ext/standard/info.h:59: warning: data definition
has no type or storage class
/home/patrick/php-5.0.3/ext/standard/info.h:60: warning: parameter names
(without types) in function declaration
/home/patrick/php-5.0.3/ext/standard/info.h:60: warning: data definition
has no type or storage class
/.../
/home/patrick/php-5.0.3/ext/standard/info.h:85: warning: parameter names
(without types) in function declaration
In file included from /home/patrick/php-5.0.3/ext/libxml/libxml.c:34:
/home/patrick/php-5.0.3/ext/standard/file.h:26: syntax error before
"PHP_MINIT_FUNCTION"
/home/patrick/php-5.0.3/ext/standard/file.h:26: warning: parameter names
(without types) in function declaration
/home/patrick/php-5.0.3/ext/standard/file.h:26: warning: data definition
has no type or storage class
/home/patrick/php-5.0.3/ext/standard/file.h:27: warning: parameter names
(without types) in function declaration
/home/patrick/php-5.0.3/ext/standard/file.h:27: warning: data definition
has no type or storage class
/.../
/home/patrick/php-5.0.3/ext/standard/file.h:125: warning: data
definition has no type or storage class
make: *** [ext/libxml/libxml.lo] Fout 1

Hope someone can make anything out of this (I sure don't)
Thanks
Patrick
Back to top
Moritz Klein
*nix forums addict


Joined: 02 Jun 2005
Posts: 52

PostPosted: Thu Feb 03, 2005 3:48 pm    Post subject: Re: Linux, Apache, PHP, Oracle: how to make PHP working Reply with quote

Patrick Bervoets schrieb:
Quote:
OCI was installed
Thanks anyway
Patrick

Maybe you can provide the exact error-messages you get.
Just to ask 'cause I am little outdated with phpbb and Oracle:
Is phpbb supposed to work with Oracle out of the box or does one have to hack
the sources? I searched some time ago for a good board but I then moved to JSP
and Oracle (mvnforum) which had Oracle-Support out of the box.

Greetz,
Moritz
Back to top
Patrick Bervoets
*nix forums beginner


Joined: 03 Feb 2005
Posts: 3

PostPosted: Thu Feb 03, 2005 1:57 pm    Post subject: Re: Linux, Apache, PHP, Oracle: how to make PHP working Reply with quote

OCI was installed
Thanks anyway
Patrick
Back to top
Moritz Klein
*nix forums addict


Joined: 02 Jun 2005
Posts: 52

PostPosted: Thu Feb 03, 2005 12:17 pm    Post subject: Re: Linux, Apache, PHP, Oracle: how to make PHP working Reply with quote

sorry@cant.do schrieb:

[.. Problems making PHP with OCI-Support ...]

To make PHP with OCI-Support enabled please be sure to have Oracle Call
Interface installed when installing the Oracle Client. Just rerun the graphical
setupp choose the Oracle-Home already existing and go on to next screen. On this
screen choose custom. The next screen displays the softwarelist on which you
should make sure the chackbox next to Oracle Call Interface is checked.

hth, Moritz
Back to top
sorry@cant.do
*nix forums beginner


Joined: 03 Feb 2005
Posts: 1

PostPosted: Thu Feb 03, 2005 11:53 am    Post subject: Linux, Apache, PHP, Oracle: how to make PHP working Reply with quote

Hi,

I've got a problem with the installation of PHP, make ends with an error 1.

Linux CentOS 3.4 (RH), Apache 2.0.52, PHP 5.0.3, Oracle client 10.1.0.3 and
an Oracle 8i database.

I've installed the Oracle client, and it works (set the environment
variables). I've been able to install and run Apache.

I started with PHP by using './configure --prefix=/usr/local/php
--with-oci8=/usr/local/oracle/OraHome_1
--with-apxs2=/usr/local/apache2/bin/apxs --enable sigchild' This gives a few
remarks about 'yp_get_default_domain'. But I thought it ends normal.

But when using make I get several warnings and syntax errors. Mostly
'parameter names (without types) in function declaration' and 'data
definition has no type or storage clause'. Make ends with '***
[ext/libxml/libxml.lo] Error 1'

Since it's my first hands-on experience with Linux and I've been searching
for a few days now, I hope somebody can help me, I have no idea where to
look next.

The goal is to set up a phpBB against our Oracleserver.

Thanks
Patrick Bervoets
PSC St-Alexius Elsene
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [7 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 3:06 am | All times are GMT
navigation Forum index » Databases » Oracle
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Postfix + Altermime on FC6 Not working simjith Setup 0 Sat Oct 11, 2008 3:06 pm
No new posts Help required for configuring the VPN Server in Linux SHERDIL security 0 Sun Nov 19, 2006 2:22 pm
No new posts Move Oracle 10g database to another location Selt Server 0 Fri Jul 21, 2006 2:14 pm
No new posts Oracle runtime Spitfire Server 0 Fri Jul 21, 2006 1:18 pm
No new posts Oracle Text Score Computation jatinder.1975@gmail.com Server 0 Fri Jul 21, 2006 1:00 pm

Credit Counseling | Free Advertising | Credit Cards | Bankruptcy | Personal Finance
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.3587s ][ Queries: 20 (0.2708s) ][ GZIP on - Debug on ]