Linux, Apache, PHP, Oracle: how to make PHP working
10/10/2018 11:47
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 andan Oracle 8i database.

I've installed the Oracle client, and it works (set the environmentvariables). 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 fewremarks 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 'datadefinition 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 searchingfor a few days now, I hope somebody can help me, I have no idea where tolook next.

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

ThanksPatrick BervoetsPSC St-Alexius Elsene

Source is Usenet: comp.databases.oracle.misc
Sign in to add a comment

Answer score: 5
10/10/2018 11:47 - Well, close to giving it up I've finally tried with PHP 4.3.10 and then itworks. (Should have done it before - I know)So, I'll stay clear from PHP 5 for a while.

Thanks for helpingPatrick

Source is Usenet: comp.databases.oracle.misc
Sign in to add a comment

Answer score: 5
10/10/2018 11:47 - 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 fileor directory/home/patrick/php-5.0.3/ext/libxml/libxml.c:31:28: zend_variables.h: Nosuch file or directoryIn 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: parameternames (without types) in function declaration/home/patrick/php-5.0.3/ext/standard/php_string.h:27: warning: datadefinition has no type or storage class/home/patrick/php-5.0.3/ext/standard/php_string.h:28: warning: parameternames (without types) in function declaration/home/patrick/php-5.0.3/ext/standard/php_string.h:28: warning: datadefinition has no type or storage class/...//home/patrick/php-5.0.3/ext/standard/php_string.h:140: syntax errorbefore size_t/home/patrick/php-5.0.3/ext/standard/php_string.h:140: warning: datadefinition has no type or storage class/home/patrick/php-5.0.3/ext/standard/php_string.h:143: syntax errorbefore char/home/patrick/php-5.0.3/ext/standard/php_string.h:157: warning: parameter names (without types) in function declarationIn file includedfrom /home/patrick/php-5.0.3/ext/libxml/libxml.c:33: /home/patrick/php-5.0.3/ext/standard/info.h:59: syntax error beforePHP_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 definitionhas 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 definitionhas no type or storage class/...//home/patrick/php-5.0.3/ext/standard/info.h:85: warning: parameter names(without types) in function declarationIn 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 beforePHP_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 definitionhas 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 definitionhas no type or storage class/...//home/patrick/php-5.0.3/ext/standard/file.h:125: warning: datadefinition has no type or storage classmake: *** [ext/libxml/libxml.lo] Fout 1 Hope someone can make anything out of this (I sure don't)ThanksPatrick

Source is Usenet: comp.databases.oracle.misc
Sign in to add a comment

Answer score: 5
10/10/2018 11:47 - Patrick Bervoets schrieb: 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 hackthe sources? I searched some time ago for a good board but I then moved to JSPand Oracle (mvnforum) which had Oracle-Support out of the box.

Greetz, Moritz

Source is Usenet: comp.databases.oracle.misc
Sign in to add a comment

Answer score: 5
10/10/2018 11:47 - Contact me off-line and I'll put you in touch with an expert on PHP 5and Oracle. It works just fine.


Source is Usenet: comp.databases.oracle.misc
Sign in to add a comment

Answer score: 5
10/10/2018 11:47 - sorry@cant.do schrieb: [.. Problems making PHP with OCI-Support ...] To make PHP with OCI-Support enabled please be sure to have Oracle CallInterface installed when installing the Oracle Client. Just rerun the graphicalsetupp choose the Oracle-Home already existing and go on to next screen. On thisscreen choose custom. The next screen displays the softwarelist on which youshould make sure the chackbox next to Oracle Call Interface is checked.

hth, Moritz

Source is Usenet: comp.databases.oracle.misc
Sign in to add a comment

Answer score: 5
10/10/2018 11:47 - OCI was installedThanks anywayPatrick

Source is Usenet: comp.databases.oracle.misc
Sign in to add a comment

eDiscover
Helpforce eDiscover provides technical articles updated each dayHelpforce eDiscover RSS feed contains the latest technical articles in RSS
Click the logo to go back to the main page
Search eDiscover
  
Categories

Click an icon to go to that category

Helpforce eDiscover contains articles about Microsoft Windows Helpforce eDiscover contains articles about Apple products and MacOS Helpforce eDiscover contains articles about Linux and POSIX operating systems Helpforce eDiscover contains articles about Helpforce Helpforce has a large variety of technical information and articles for you to read Helpforce eDiscover contains articles about databases, MYSQL, SQL Server Oracle Helpforce eDiscover contains articles about Java, JVM and the JRE Helpforce eDiscover contains articles about the QNX operating system Helpforce eDiscover contains articles about Oracle Solaris and Open Solaris Helpforce eDiscover contains articles about RISC OS, Acorn and the BBC Micro Helpforce eDiscover contains articles about Amiga and AmigaOS

Type your comment into the box below