Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

I am trying to build apache, php and oci8 on Linux 6.

Russell ClayJul 7 2015 — edited Jul 7 2015

I have managwed to get apache and php running but i get this error if i try and load the oci8.so module into httpd.conf ttpd: Syntax error on line 149 of /opt/apache/conf/httpd.conf: Cannot load modules/oci8.so into server: /opt/apache/modules/oci8.so: undefined symbol: php_checkuid

Apache 2.4.12

php 5-6-10

The command to configure apache:

./configure --prefix=/opt/apache --with-included-apr --with-mpm=prefork --enable-mpms-shared

The command to configure php

./configure --prefix=/opt/php --with-apxs2=/opt/apache/bin/apxs --with-oci8=shared,/opt/oracle/app/oracle/product/12.1.0/client_1 --with-zlib

the command to install oic8

pecl install oic8

Probably a schoolboy error somewhere, list of the symbols in oci8.so. Any help greatly appreciated

root@webapp5 client_1]# nm /usr/lib64/php/modules/oci8.so

                 U OCIAttrGet

                 U OCIAttrSet

                 U OCIBindByName

                 U OCIBindDynamic

                 U OCIBindObject

                 U OCIClientVersion

                 U OCICollAppend

                 U OCICollAssign

                 U OCICollAssignElem

                 U OCICollGetElem

                 U OCICollMax

                 U OCICollSize

                 U OCICollTrim

                 U OCIContextGetValue

                 U OCIContextSetValue

                 U OCIDateFromText

                 U OCIDateToText

                 U OCIDefineByPos

                 U OCIDefineDynamic

                 U OCIDescribeAny

                 U OCIDescriptorAlloc

                 U OCIDescriptorFree

                 U OCIEnvNlsCreate

                 U OCIErrorGet

                 U OCIHandleAlloc

                 U OCIHandleFree

                 U OCILobAppend

                 U OCILobCharSetId

                 U OCILobClose

                 U OCILobCopy

                 U OCILobCreateTemporary

                 U OCILobDisableBuffering

                 U OCILobEnableBuffering

                 U OCILobErase

                 U OCILobFileClose

                 U OCILobFileOpen

                 U OCILobFlushBuffer

                 U OCILobFreeTemporary

                 U OCILobGetChunkSize

                 U OCILobGetLength

                 U OCILobIsEqual

                 U OCILobIsTemporary

                 U OCILobOpen

                 U OCILobRead2

                 U OCILobTrim

                 U OCILobWrite

                 U OCIMemoryAlloc

                 U OCIMemoryFree

                 U OCINlsCharSetNameToId

                 U OCINlsEnvironmentVariableGet

                 U OCINlsNumericInfoGet

                 U OCINumberFromReal

                 U OCINumberToReal

                 U OCIObjectFree

                 U OCIObjectNew

                 U OCIParamGet

                 U OCIPasswordChange

                 U OCIPing

                 U OCIServerAttach

                 U OCIServerDetach

                 U OCIServerVersion

                 U OCISessionBegin

                 U OCISessionEnd

                 U OCISessionGet

                 U OCISessionPoolCreate

                 U OCISessionPoolDestroy

                 U OCISessionRelease

                 U OCIStmtExecute

                 U OCIStmtFetch

                 U OCIStmtGetNextResult

                 U OCIStmtGetPieceInfo

                 U OCIStmtPrepare2

                 U OCIStmtRelease

                 U OCIStmtSetPieceInfo

                 U OCIStringAssignText

                 U OCIStringPtr

                 U OCITransCommit

                 U OCITransRollback

                 U OCITypeByName

                 U OCITypeByRef

                 U OnUpdateBool

                 U OnUpdateLong

                 U OnUpdateString

00000000002298a0 a _DYNAMIC

0000000000229b30 a _GLOBAL_OFFSET_TABLE_

                 w _Jv_RegisterClasses

0000000000225358 d __CTOR_END__

0000000000225350 d __CTOR_LIST__

0000000000225368 d __DTOR_END__

0000000000225360 d __DTOR_LIST__

0000000000025348 r __FRAME_END__

0000000000225370 d __JCR_END__

0000000000225370 d __JCR_LIST__

000000000022a328 A __bss_start

                 w __cxa_finalize@@GLIBC_2.2.5

0000000000020a90 t __do_global_ctors_aux

000000000000acd0 t __do_global_dtors_aux

0000000000228120 d __dso_handle

                 w __gmon_start__

                 U _array_init

                 U _convert_to_string

                 U _ecalloc

000000000022a328 A _edata

                 U _efree

                 U _emalloc

000000000022a420 A _end

                 U _erealloc

                 U _estrdup

                 U _estrndup

0000000000020ac8 T _fini

0000000000009e10 T _init

                 U _object_and_properties_init

                 U _object_init_ex

                 U _php_stream_free

                 U _php_stream_open_wrapper_ex

                 U _php_stream_write

                 U _safe_emalloc

                 U _zend_bailout

                 U _zend_hash_add_or_update

                 U _zend_hash_index_update_or_next_insert

                 U _zend_hash_init

                 U _zend_list_addref

                 U _zend_list_delete

                 U _zend_list_find

                 U _zval_copy_ctor_func

                 U _zval_dtor_func

                 U _zval_ptr_dtor

                 U add_assoc_long_ex

                 U add_assoc_null_ex

                 U add_assoc_string_ex

                 U add_assoc_zval_ex

                 U add_index_null

                 U add_index_zval

                 U add_next_index_double

                 U add_next_index_long

                 U add_next_index_null

                 U add_next_index_stringl

                 U add_property_resource_ex

                 U ap_php_snprintf

0000000000225cc0 d arginfo_oci_bind_array_by_name

0000000000225bc0 d arginfo_oci_bind_by_name

00000000002261e0 d arginfo_oci_cancel

0000000000022200 r arginfo_oci_client_version

00000000002269e0 d arginfo_oci_close

0000000000227d20 d arginfo_oci_collection_append

00000000002258e0 d arginfo_oci_collection_append_method

0000000000227ec0 d arginfo_oci_collection_assign

0000000000225a20 d arginfo_oci_collection_assign_method

0000000000227e20 d arginfo_oci_collection_element_assign

00000000002259a0 d arginfo_oci_collection_element_assign_method

0000000000227da0 d arginfo_oci_collection_element_get

0000000000225940 d arginfo_oci_collection_element_get_method

00000000000221c0 r arginfo_oci_collection_free_method

0000000000227fa0 d arginfo_oci_collection_max

0000000000022180 r arginfo_oci_collection_max_method

0000000000227f40 d arginfo_oci_collection_size

0000000000022140 r arginfo_oci_collection_size_method

0000000000228000 d arginfo_oci_collection_trim

0000000000225a80 d arginfo_oci_collection_trim_method

00000000002277c0 d arginfo_oci_commit

0000000000226a40 d arginfo_oci_connect

0000000000225ae0 d arginfo_oci_define_by_name

0000000000226d40 d arginfo_oci_error

0000000000226160 d arginfo_oci_execute

0000000000226240 d arginfo_oci_fetch

00000000002264e0 d arginfo_oci_fetch_all

00000000002263c0 d arginfo_oci_fetch_array

0000000000226360 d arginfo_oci_fetch_assoc

00000000002262a0 d arginfo_oci_fetch_object

0000000000226300 d arginfo_oci_fetch_row

0000000000225de0 d arginfo_oci_field_is_null

0000000000225e60 d arginfo_oci_field_name

0000000000225fe0 d arginfo_oci_field_precision

0000000000225f60 d arginfo_oci_field_scale

0000000000225ee0 d arginfo_oci_field_size

0000000000226060 d arginfo_oci_field_type

00000000002260e0 d arginfo_oci_field_type_raw

0000000000227cc0 d arginfo_oci_free_collection

0000000000226da0 d arginfo_oci_free_descriptor

0000000000022100 r arginfo_oci_free_descriptor_method

00000000002265e0 d arginfo_oci_free_statement

0000000000226780 d arginfo_oci_get_implicit_resultset

0000000000226640 d arginfo_oci_internal_debug

0000000000227520 d arginfo_oci_lob_append

0000000000225680 d arginfo_oci_lob_append_method

00000000000220c0 r arginfo_oci_lob_close_method

00000000002275a0 d arginfo_oci_lob_copy

0000000000227060 d arginfo_oci_lob_eof

0000000000022040 r arginfo_oci_lob_eof_method

00000000002271a0 d arginfo_oci_lob_erase

00000000002253e0 d arginfo_oci_lob_erase_method

0000000000227640 d arginfo_oci_lob_export

00000000002256e0 d arginfo_oci_lob_export_method

0000000000227240 d arginfo_oci_lob_flush

0000000000225460 d arginfo_oci_lob_flush_method

0000000000021fc0 r arginfo_oci_lob_getbuffering_method

0000000000226ea0 d arginfo_oci_lob_import

0000000000225780 d arginfo_oci_lob_import_method

00000000002273a0 d arginfo_oci_lob_is_equal

0000000000226f80 d arginfo_oci_lob_load

0000000000021f40 r arginfo_oci_lob_load_method

0000000000226fe0 d arginfo_oci_lob_read

0000000000225520 d arginfo_oci_lob_read_method

0000000000227420 d arginfo_oci_lob_rewind

0000000000022000 r arginfo_oci_lob_rewind_method

0000000000226e00 d arginfo_oci_lob_save

0000000000225860 d arginfo_oci_lob_save_method

0000000000227720 d arginfo_oci_lob_seek

0000000000225580 d arginfo_oci_lob_seek_method

00000000002254c0 d arginfo_oci_lob_setbuffering_method

0000000000226f20 d arginfo_oci_lob_size

0000000000022080 r arginfo_oci_lob_size_method

00000000002270c0 d arginfo_oci_lob_tell

0000000000021f80 r arginfo_oci_lob_tell_method

0000000000227120 d arginfo_oci_lob_truncate

0000000000225380 d arginfo_oci_lob_truncate_method

0000000000227480 d arginfo_oci_lob_write

0000000000225600 d arginfo_oci_lob_write_method

00000000002257e0 d arginfo_oci_lob_write_temporary_method

0000000000228080 d arginfo_oci_new_collection

0000000000226b40 d arginfo_oci_new_connect

00000000002267e0 d arginfo_oci_new_cursor

0000000000227880 d arginfo_oci_new_descriptor

00000000002266a0 d arginfo_oci_num_fields

0000000000226980 d arginfo_oci_num_rows

0000000000226700 d arginfo_oci_parse

0000000000227be0 d arginfo_oci_password_change

0000000000226c40 d arginfo_oci_pconnect

0000000000226840 d arginfo_oci_result

0000000000227820 d arginfo_oci_rollback

00000000002268c0 d arginfo_oci_server_version

0000000000227ae0 d arginfo_oci_set_action

0000000000227980 d arginfo_oci_set_client_identifier

0000000000227b60 d arginfo_oci_set_client_info

0000000000227a00 d arginfo_oci_set_edition

0000000000227a60 d arginfo_oci_set_module_name

0000000000227900 d arginfo_oci_set_prefetch

0000000000226920 d arginfo_oci_statement_type

0000000000226440 d arginfo_ocifetchinto

0000000000227340 d arginfo_ocigetbufferinglob

00000000002272c0 d arginfo_ocisetbufferinglob

000000000000acb0 t call_gmon_start

                 U calloc@@GLIBC_2.2.5

                 U close@@GLIBC_2.2.5

000000000022a340 b completed.6349

                 U convert_to_array

                 U convert_to_boolean

                 U convert_to_double

                 U convert_to_long

                 U core_globals

                 U display_ini_entries

000000000022a348 b dtor_idx.6351

                 U executor_globals

000000000000ad50 t frame_dummy

                 U free@@GLIBC_2.2.5

                 U gc_remove_zval_from_buffer

000000000000ad80 T get_module

0000000000228140 d ini_entries

000000000022a36c B le_collection

000000000022a418 B le_connection

000000000022a368 B le_descriptor

                 U le_index_ptr

000000000022a400 B le_pconnection

000000000022a414 B le_psessionpool

000000000022a410 B le_statement

                 U memcmp@@GLIBC_2.2.5

                 U memcpy@@GLIBC_2.2.5

                 U memset@@GLIBC_2.2.5

000000000022a280 D oci8_module_entry

000000000022a360 B oci_coll_class_entry_ptr

000000000022a380 B oci_globals

000000000022a408 B oci_lob_class_entry_ptr

                 U open@@GLIBC_2.2.5

                 U php_check_open_basedir

                 U php_checkuid

                 U php_error_docref0

                 U php_info_print_table_end

                 U php_info_print_table_header

                 U php_info_print_table_row

                 U php_info_print_table_start

0000000000014c60 T php_oci_bind_array_by_name

0000000000013c30 T php_oci_bind_array_helper_date

0000000000014140 T php_oci_bind_array_helper_double

0000000000014350 T php_oci_bind_array_helper_number

0000000000014560 T php_oci_bind_array_helper_string

0000000000015130 T php_oci_bind_by_name

000000000000d400 T php_oci_bind_hash_dtor

0000000000014a30 T php_oci_bind_in_callback

00000000000185c0 T php_oci_bind_out_callback

00000000000187f0 T php_oci_bind_post_exec

0000000000014b60 T php_oci_bind_pre_exec

0000000000015c10 T php_oci_cleanup_pre_fetch

000000000000b580 T php_oci_client_get_version

0000000000228840 d php_oci_coll_class_functions

000000000001b070 T php_oci_collection_append

000000000001abe0 T php_oci_collection_append_date

000000000001ae90 T php_oci_collection_append_null

000000000001a930 T php_oci_collection_append_number

000000000001a690 T php_oci_collection_append_string

0000000000019460 T php_oci_collection_assign

0000000000019250 T php_oci_collection_close

000000000001b540 T php_oci_collection_create

000000000001a110 T php_oci_collection_element_get

000000000001a040 T php_oci_collection_element_set

0000000000019d80 T php_oci_collection_element_set_date

00000000000198e0 T php_oci_collection_element_set_null

0000000000019ac0 T php_oci_collection_element_set_number

0000000000019630 T php_oci_collection_element_set_string

000000000000e130 t php_oci_collection_list_dtor

000000000001b320 T php_oci_collection_max

000000000001b370 T php_oci_collection_size

000000000001b140 T php_oci_collection_trim

000000000000d3a0 T php_oci_column_hash_dtor

000000000000ae30 T php_oci_column_to_zval

000000000000d060 t php_oci_connection_close

000000000000bed0 T php_oci_connection_commit

000000000000cee0 T php_oci_connection_descriptors_free

000000000000d250 t php_oci_connection_list_dtor

000000000000c500 t php_oci_connection_ping

000000000000cf10 T php_oci_connection_release

000000000000c090 T php_oci_connection_rollback

000000000000b6f0 t php_oci_create_env

000000000000ca80 t php_oci_create_session

000000000000c660 t php_oci_create_spool

0000000000017f20 T php_oci_define_callback

000000000000d440 T php_oci_define_hash_dtor

000000000000d360 T php_oci_descriptor_flush_hash_dtor

000000000000e140 t php_oci_descriptor_list_dtor

0000000000010680 T php_oci_do_connect

000000000000e160 T php_oci_do_connect_ex

000000000000adb0 T php_oci_dtrace_check_connection

000000000000b8f0 T php_oci_error

000000000000b800 T php_oci_fetch_errmsg

000000000000b090 T php_oci_fetch_row

000000000000c250 T php_oci_fetch_sqltext_offset

0000000000228960 d php_oci_functions

0000000000017a20 T php_oci_get_implicit_resultset

0000000000011fc0 T php_oci_lob_append

00000000000116a0 T php_oci_lob_callback

0000000000228560 d php_oci_lob_class_functions

0000000000011240 T php_oci_lob_close

00000000000121c0 T php_oci_lob_copy

00000000000134b0 T php_oci_lob_create

0000000000011ac0 T php_oci_lob_erase

0000000000010c90 T php_oci_lob_flush

0000000000011140 T php_oci_lob_free

00000000000107b0 T php_oci_lob_get_buffering

0000000000011780 T php_oci_lob_get_length

0000000000010990 T php_oci_lob_import

00000000000107c0 T php_oci_lob_is_equal

00000000000129f0 T php_oci_lob_read

0000000000011430 T php_oci_lob_set_buffering

0000000000011d30 T php_oci_lob_truncate

0000000000012400 T php_oci_lob_write

00000000000126c0 T php_oci_lob_write_tmp

000000000000bce0 T php_oci_password_change

000000000000d220 t php_oci_pconnection_list_dtor

000000000000d280 t php_oci_pconnection_list_np_dtor

000000000000b660 t php_oci_persistent_helper

000000000000c950 t php_oci_ping_init

000000000000bac0 T php_oci_server_get_version

000000000000c590 t php_oci_spool_close

000000000000c930 t php_oci_spool_list_dtor

00000000000185b0 T php_oci_statement_cancel

0000000000017b80 T php_oci_statement_create

0000000000015c80 T php_oci_statement_execute

0000000000018080 T php_oci_statement_fetch

0000000000015ad0 T php_oci_statement_free

0000000000017750 T php_oci_statement_get_column

00000000000190d0 T php_oci_statement_get_column_helper

0000000000013810 T php_oci_statement_get_numrows

0000000000013a20 T php_oci_statement_get_type

000000000000e150 t php_oci_statement_list_dtor

0000000000017810 T php_oci_statement_set_prefetch

0000000000010ea0 T php_oci_temp_lob_close

                 U php_strtolower

                 U read@@GLIBC_2.2.5

                 U strlen@@GLIBC_2.2.5

                 U strncmp@@GLIBC_2.2.5

                 U time@@GLIBC_2.2.5

                 U zend_fetch_resource

                 U zend_hash_apply

                 U zend_hash_apply_with_argument

                 U zend_hash_del_key_or_index

                 U zend_hash_destroy

                 U zend_hash_find

                 U zend_hash_get_current_data_ex

                 U zend_hash_index_find

                 U zend_hash_internal_pointer_reset_ex

                 U zend_hash_move_forward_ex

                 U zend_hash_num_elements

                 U zend_ini_boolean_displayer_cb

                 U zend_parse_parameters

                 U zend_parse_parameters_ex

                 U zend_register_ini_entries

                 U zend_register_internal_class

                 U zend_register_list_destructors_ex

                 U zend_register_long_constant

                 U zend_register_resource

                 U zend_register_string_constant

                 U zend_standard_class_def

                 U zend_strndup

                 U zend_strtod

                 U zend_unregister_ini_entries

                 U zend_wrong_param_count

000000000001ffa0 T zif_oci_bind_array_by_name

00000000000200f0 T zif_oci_bind_by_name

000000000001e230 T zif_oci_cancel

000000000001cf20 T zif_oci_client_version

000000000001c940 T zif_oci_close

000000000001c720 T zif_oci_collection_append

000000000001c440 T zif_oci_collection_assign

000000000001c300 T zif_oci_collection_element_assign

000000000001c5c0 T zif_oci_collection_element_get

000000000001c0f0 T zif_oci_collection_max

000000000001c1f0 T zif_oci_collection_size

000000000001bfd0 T zif_oci_collection_trim

000000000001e2c0 T zif_oci_commit

000000000001e090 T zif_oci_connect

00000000000201f0 T zif_oci_define_by_name

000000000001de60 T zif_oci_error

000000000001bb50 T zif_oci_execute

000000000001e1a0 T zif_oci_fetch

00000000000203b0 T zif_oci_fetch_all

000000000001e0d0 T zif_oci_fetch_array

000000000001e0f0 T zif_oci_fetch_assoc

000000000001e150 T zif_oci_fetch_object

000000000001e110 T zif_oci_fetch_row

000000000001cf70 T zif_oci_field_is_null

000000000001d420 T zif_oci_field_name

000000000001d370 T zif_oci_field_precision

000000000001d3a0 T zif_oci_field_scale

000000000001d3d0 T zif_oci_field_size

000000000001cfe0 T zif_oci_field_type

000000000001cfb0 T zif_oci_field_type_raw

000000000001c840 T zif_oci_free_collection

000000000001ca90 T zif_oci_free_descriptor

000000000001ca00 T zif_oci_free_statement

000000000001bab0 T zif_oci_get_implicit_resultset

000000000001ba20 T zif_oci_internal_debug

000000000001f9e0 T zif_oci_lob_append

000000000001e500 T zif_oci_lob_close

000000000001f2e0 T zif_oci_lob_copy

000000000001ea00 T zif_oci_lob_eof

000000000001f720 T zif_oci_lob_erase

000000000001edd0 T zif_oci_lob_export

000000000001f5f0 T zif_oci_lob_flush

000000000001fe60 T zif_oci_lob_import

000000000001f170 T zif_oci_lob_is_equal

000000000001ec70 T zif_oci_lob_load

000000000001eb10 T zif_oci_lob_read

000000000001bdf0 T zif_oci_lob_rewind

000000000001fd10 T zif_oci_lob_save

000000000001e850 T zif_oci_lob_seek

000000000001e750 T zif_oci_lob_size

000000000001bee0 T zif_oci_lob_tell

000000000001f8b0 T zif_oci_lob_truncate

000000000001fb60 T zif_oci_lob_write

000000000001e600 T zif_oci_lob_write_temporary

000000000001bbf0 T zif_oci_new_collection

000000000001e0b0 T zif_oci_new_connect

000000000001d4a0 T zif_oci_new_cursor

000000000001e420 T zif_oci_new_descriptor

000000000001ba30 T zif_oci_num_fields

000000000001cb90 T zif_oci_num_rows

000000000001d540 T zif_oci_parse

000000000001d5f0 T zif_oci_password_change

000000000001e070 T zif_oci_pconnect

000000000001d460 T zif_oci_result

000000000001e370 T zif_oci_rollback

000000000001ce70 T zif_oci_server_version

000000000001da00 T zif_oci_set_action

000000000001dc00 T zif_oci_set_client_identifier

000000000001d900 T zif_oci_set_client_info

000000000001dd00 T zif_oci_set_edition

000000000001db00 T zif_oci_set_module_name

000000000001dda0 T zif_oci_set_prefetch

000000000001cc20 T zif_oci_statement_type

000000000001e130 T zif_ocifetchinto

000000000001bcf0 T zif_ocigetbufferinglob

000000000001f4d0 T zif_ocisetbufferinglob

000000000000ad90 T zm_activate_oci

000000000000b6b0 T zm_deactivate_oci

000000000000ae20 t zm_globals_ctor_oci

000000000000adc0 t zm_globals_dtor_oci

000000000000d470 T zm_info_oci

000000000000d620 T zm_shutdown_oci

000000000000d640 T zm_startup_oci

                 U zval_add_ref

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 4 2015
Added on Jul 7 2015
1 comment
1,096 views