PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > status 3221225477 restarts apache on win 2003 with php and oracle
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

status 3221225477 restarts apache on win 2003 with php and oracle

Réponse
 
LinkBack Outils de la discussion
Vieux 22/01/2008, 20h05   #1
jzs
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut status 3221225477 restarts apache on win 2003 with php and oracle

SOFTWARE
* windows 2003 sp2
* apache 2.0.55 (win32)
* php 5.1.2 (oci8 support enabled with "c:\oracle\product
\10.2.0\client_1\bin" listed under apache environment, environment and
php variables. path "c:\oracle\product\10.2.0\client_1\BIN" exists on
machine)

BACKGROUND
when i try to connect to an oracle 10g database on another machine
like so (
$connection = oci_new_connect('username', 'password', 'php.net');
), my attempt is successful.

PROBLEM
however when i attempt to prepare an oracle statement for execution
like so (
$sql = oci_parse($connection, 'SELECT * FROM database WHERE column_id
= 1');
), i get the following error:
[notice] Parent: child process exited with status 3221225477 --
Restarting
this causes apache to stop!!! check http://us.php.net/manual/en/function.oci-parse.php
for more info.

SOLUTION
this is where you guys come in . google points to possible memory
overflow .
jzs
  Réponse avec citation
Vieux 23/01/2008, 12h30   #2
C. (http://symcbean.blogspot.com/)
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: status 3221225477 restarts apache on win 2003 with php and oracle

On 22 Jan, 20:05, jzs <jayzee.sm...@gmail.com> wrote:
> SOFTWARE
> * windows 2003 sp2
> * apache 2.0.55 (win32)
> * php 5.1.2 (oci8 support enabled with "c:\oracle\product
> \10.2.0\client_1\bin" listed under apache environment, environment and
> php variables. path "c:\oracle\product\10.2.0\client_1\BIN" exists on
> machine)
>
> BACKGROUND
> when i try to connect to an oracle 10g database on another machine
> like so (
> $connection = oci_new_connect('username', 'password', 'php.net');
> ), my attempt is successful.
>
> PROBLEM
> however when i attempt to prepare an oracle statement for execution
> like so (
> $sql = oci_parse($connection, 'SELECT * FROM database WHERE column_id
> = 1');
> ), i get the following error:
> [notice] Parent: child process exited with status 3221225477 --
> Restarting
> this causes apache to stop!!! checkhttp://us.php.net/manual/en/function.oci-parse.php
> for more info.
>
> SOLUTION
> this is where you guys come in . google points to possible memory
> overflow .
> jzs


Don't you pay Oracle for support?

FWIW when I'm not playing with PHP, I work to support Oracle+Java
systems - the thick database drivers have been the cause of a lot of
pain. We recently switched to pure Java based drivers and (fingers
crossed) have not seen the problems we had before.

Do make sure you've got the latest versions of the libs installed -
they have fixed a lot of bugs. Have you tried using odbc - that way
you can try and see if you get the same errors using other tools than
PHP (which would put the blame firmly at Oracle's door).

HTH

C.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 20h22.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,07338 seconds with 10 queries