Salut,

J'ai modifié dans les deux fichiers php.ini, maintenant j'ai l'erreur
suivante:

[PHP Error] oci_error(): OCIError: unable to find error handle [line 110 of
C:\w
amp\bin\php\php5.2.6\PEAR\symfony\vendor\creole\drivers\oracle\OCI8Connection.ph
p]
[propel-creole-transform] There was an error building XML from metadata:
connect
 failed [User Info: Array]

A+

2009/4/24 Alexandru-Emil Lupu <[email protected]>

> hi!
> please check your php.ini file (usually there are 2 config files. One for
> cli one for web).
> Usualy on *nix systems you would have :
> - /etc/php/*apache2*/php.ini
> - /etc/php/*cli*/php.ini
> also the path might be /etc/php5/
>
> on windows platforms check following locations:
>
> c:\windows\php.ini
> [your apache\bin\dir]\php.ini
> [your php]\php.ini
>
> If you are using "xampp" or "wampp" check
>  your xampp/wamp \ apache\bin\php.ini
>   your xampp/wamp \ php\php.ini
>
> There also might be present a php5.ini file. i do not know if it is used or
> not, but you might change there as well.
> be sure that you have oci enabled in cli mode...
> alecs
>
>
>
> 2009/4/24 Ghizlane Zinbi <[email protected]>
>
> Salut tout le monde,
>> J'essaie de me connecter à une base de données oracle sur un serveur
>> distant via symfony.Donc j'ai commencé par charger les extensions oci. Voici
>> à quoi ressemble le php.ini:
>>
>> extension=php_oci8.dll
>> extension=php_pdo_oci.dll
>> extension=php_pdo_oci8.dll
>>
>> Puis j'ai vérifié que l'extension oci a été chargée :
>>
>> Configuration Serveur Version de Apache:2.2.8  Version de PHP:5.2.6  
>> Extensions
>> Chargées:
>>
>>    - bcmath
>>    - calendar
>>    - com_dotnet
>>    - ctype
>>    - session
>>    - filter
>>    - ftp
>>    - hash
>>    - iconv
>>    - json
>>    - odbc
>>    - pcre
>>    - Reflection
>>    - date
>>    - libxml
>>    - standard
>>    - tokenizer
>>    - zlib
>>    - SimpleXML
>>    - dom
>>    - SPL
>>    - wddx
>>    - xml
>>    - xmlreader
>>    - xmlwriter
>>    - apache2handler
>>    - gd
>>    - mbstring
>>    - mysql
>>    - mysqli
>>    - oci8
>>    - PDO
>>    - pdo_mysql
>>    - PDO_OCI
>>    - SQLite
>>    - xsl
>>
>>
>> Ensuite j'ai modifié dans les fichiers databases.yml et propel.ini comme
>> suit:
>>
>> propel.ini :
>>
>> propel.targetPackage    = lib.model
>> propel.packageObjectModel = true
>> propel.project       = sesame
>> propel.database      = oracle
>> propel.database.createUrl = oracle://
>> system:[email protected]/SESAME_REMOTE
>> propel.database.url    = oracle://
>> system:[email protected]/SESAME_REMOTE
>>
>> databases.yml :
>>
>> all:
>>   propel:
>>     class:          sfPropelDatabase
>>     param:
>>        phptype: oracle
>>        host:   172.20.110.67
>>        database: SESAME_REMOTE
>>        username: system
>>        password: sesame
>>
>> Enfin, j'ai tapé la commande : symfony propel-build-schema
>>
>> Et c'est là que j'ai l'erreur :
>>
>> There was an error building XML from metadata : oci8 extension not loaded
>>
>> Il faut dire que j'ai déjà testé la connexion Oracle avec oci_pconnect et
>> ça marche.
>>
>>
>> Aidez moi svp
>>
>>
>> A+
>>
>>
>>
>>
>
>
> --
> I am on twitter: http://twitter.com/alecslupu
> I am on linkedIn: http://www.linkedin.com/in/alecslupu
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to