youngad6
asked on
apache won't start with PHP/Zend Studio's ZendExtensionManager.so
When I try to start apache with php it won't start. Running apachectl configtest results in the errors below. These are the lines that Zend Studio Server installed in my php.ini:
[Zend]
zend_debugger.expose_remot ely=allowe d_hosts
zend_gui_password=[REMOVED FOR PRIVACY]
zend_ini_modifier=/usr/loc al/Zend/sb in/ini_mod ifier
zend_debugger.allow_hosts= [REMOVED FOR PRIVACY]
zend_debugger.deny_hosts=
zend_server.allow_hosts=[R EMOVED FOR PRIVACY]
zend_server.deny_hosts=
zend_root_dir=/usr/local/Z end
zend_server.apache_error_l og=/etc/|r otatelogs
zend_extension_manager.opt imizer=/us r/local/Ze nd/lib/Opt imizer-2.5 .5
zend_extension_manager.deb ug_server= /usr/local /Zend/lib/ Debugger-3 .5.2
zend_extension=/usr/local/ Zend/lib/Z endExtensi onManager. so
If I comment out the last line apache will start. Someone please help! I've been stuck on this for over a week. I'd assign more points to this but this is all I've got.
APACHECTL CONFIGTEST ERRORS:
dyld: /usr/sbin/httpd Undefined symbols:
_OnUpdateInt
_OnUpdateString
__array_init
__convert_to_string
__ecalloc
__efree
__emalloc
__erealloc
__estrdup
__estrndup
__object_init
__object_init_ex
__php_stream_cast
__php_stream_free
__php_stream_open_wrapper_ ex
__zend_bailout
__zval_copy_ctor
__zval_dtor
__zval_ptr_dtor
_add_assoc_long_ex
_add_assoc_string_ex
_add_assoc_stringl_ex
_add_assoc_zval_ex
_add_char_to_string
_add_function
_add_string_to_string
_bitwise_and_function
_bitwise_not_function
_bitwise_or_function
_bitwise_xor_function
_boolean_not_function
_boolean_xor_function
_compile_file
_compile_filename
_compile_string
_compiler_globals
_concat_function
_convert_scalar_to_number
_convert_to_array
_convert_to_boolean
_convert_to_double
_convert_to_long
_convert_to_null
_convert_to_object
_core_globals
_decrement_function
_destroy_op_array
_destroy_zend_class
_destroy_zend_function
_display_ini_entries
_div_function
_do_bind_function_or_class
_empty_string
_execute
_executor_glo_get_active_f unction_na me
_get_binary_op
_get_unary_op
_increment_function
_is_equal_function
_is_identical_function
_is_not_equal_function
_is_not_identical_function
_is_smaller_function
_is_smaller_or_equal_funct ion
_mod_function
_module_registry
_mul_function
_output_globals
_php_info_print_table_end
_php_info_print_table_row
_php_info_print_table_star t
_php_log_err
_php_open_temporary_file
_sapi_add_header_ex
_sapi_getenv
_sapi_globals
_sapi_module
_shift_left_function
_shift_right_function
_sub_function
_zend_alter_ini_entry
_zend_block_interruptions
_zend_compile_file
_zend_destroy_file_handle
_zend_error
_zend_error_cb
_zend_eval_string
_zend_execute
_zend_execute_internal
_zend_extensions
_zend_file_handle_dtor
_zend_fopen
_zend_get_compiled_filenam e
_zend_get_configuration_di rective
_zend_get_constant
_zend_get_executed_filenam e
_zend_get_parameters_ex
_zend_get_resource_handle
_zend_hash_add_empty_eleme nt
_zend_hash_add_or_update
_zend_hash_apply
_zend_hash_clean
_zend_hash_copy
_zend_hash_del_key_or_inde x
_zend_hash_destroy
_zend_hash_exists
_zend_hash_find
_zend_hash_func
_zend_hash_get_current_dat a_ex
_zend_hash_get_current_key _ex
_zend_hash_index_find
_zend_hash_index_update_or _next_inse rt
_zend_hash_init
_zend_hash_internal_pointe r_reset_ex
_zend_hash_move_forward_ex
_zend_hash_num_elements
_zend_hash_quick_add_or_up date
_zend_hash_quick_find
_zend_ini_string
_zend_is_true
_zend_llist_add_element
_zend_llist_apply_with_arg ument
_zend_llist_apply_with_del
_zend_llist_clean
_zend_llist_del_element
_zend_llist_destroy
_zend_llist_init
_zend_load_extension
_zend_make_compiled_string _descripti on
_zend_make_printable_zval
_zend_message_dispatcher
_zend_print_variable
_zend_printf
_zend_ptr_stack_destroy
_zend_ptr_stack_init
_zend_ptr_stack_n_pop
_zend_ptr_stack_n_push
_zend_ptr_stack_num_elemen ts
_zend_register_extension
_zend_register_ini_entries
_zend_register_long_consta nt
_zend_register_module
_zend_register_string_cons tant
_zend_restore_compiled_fil ename
_zend_rsrc_list_get_rsrc_t ype
_zend_set_compiled_filenam e
_zend_startup_module
_zend_str_tolower
_zend_strndup
_zend_ticks_function
_zend_unblock_interruption s
_zend_unregister_ini_entri es
_zend_unset_timeout
_zend_wrong_param_count
_zval_update_constant
_zval_used_for_init
/usr/sbin/apachectl: line 171: 14318 Trace/BPT trap $HTTPD -t
[Zend]
zend_debugger.expose_remot
zend_gui_password=[REMOVED
zend_ini_modifier=/usr/loc
zend_debugger.allow_hosts=
zend_debugger.deny_hosts=
zend_server.allow_hosts=[R
zend_server.deny_hosts=
zend_root_dir=/usr/local/Z
zend_server.apache_error_l
zend_extension_manager.opt
zend_extension_manager.deb
zend_extension=/usr/local/
If I comment out the last line apache will start. Someone please help! I've been stuck on this for over a week. I'd assign more points to this but this is all I've got.
APACHECTL CONFIGTEST ERRORS:
dyld: /usr/sbin/httpd Undefined symbols:
_OnUpdateInt
_OnUpdateString
__array_init
__convert_to_string
__ecalloc
__efree
__emalloc
__erealloc
__estrdup
__estrndup
__object_init
__object_init_ex
__php_stream_cast
__php_stream_free
__php_stream_open_wrapper_
__zend_bailout
__zval_copy_ctor
__zval_dtor
__zval_ptr_dtor
_add_assoc_long_ex
_add_assoc_string_ex
_add_assoc_stringl_ex
_add_assoc_zval_ex
_add_char_to_string
_add_function
_add_string_to_string
_bitwise_and_function
_bitwise_not_function
_bitwise_or_function
_bitwise_xor_function
_boolean_not_function
_boolean_xor_function
_compile_file
_compile_filename
_compile_string
_compiler_globals
_concat_function
_convert_scalar_to_number
_convert_to_array
_convert_to_boolean
_convert_to_double
_convert_to_long
_convert_to_null
_convert_to_object
_core_globals
_decrement_function
_destroy_op_array
_destroy_zend_class
_destroy_zend_function
_display_ini_entries
_div_function
_do_bind_function_or_class
_empty_string
_execute
_executor_glo_get_active_f
_get_binary_op
_get_unary_op
_increment_function
_is_equal_function
_is_identical_function
_is_not_equal_function
_is_not_identical_function
_is_smaller_function
_is_smaller_or_equal_funct
_mod_function
_module_registry
_mul_function
_output_globals
_php_info_print_table_end
_php_info_print_table_row
_php_info_print_table_star
_php_log_err
_php_open_temporary_file
_sapi_add_header_ex
_sapi_getenv
_sapi_globals
_sapi_module
_shift_left_function
_shift_right_function
_sub_function
_zend_alter_ini_entry
_zend_block_interruptions
_zend_compile_file
_zend_destroy_file_handle
_zend_error
_zend_error_cb
_zend_eval_string
_zend_execute
_zend_execute_internal
_zend_extensions
_zend_file_handle_dtor
_zend_fopen
_zend_get_compiled_filenam
_zend_get_configuration_di
_zend_get_constant
_zend_get_executed_filenam
_zend_get_parameters_ex
_zend_get_resource_handle
_zend_hash_add_empty_eleme
_zend_hash_add_or_update
_zend_hash_apply
_zend_hash_clean
_zend_hash_copy
_zend_hash_del_key_or_inde
_zend_hash_destroy
_zend_hash_exists
_zend_hash_find
_zend_hash_func
_zend_hash_get_current_dat
_zend_hash_get_current_key
_zend_hash_index_find
_zend_hash_index_update_or
_zend_hash_init
_zend_hash_internal_pointe
_zend_hash_move_forward_ex
_zend_hash_num_elements
_zend_hash_quick_add_or_up
_zend_hash_quick_find
_zend_ini_string
_zend_is_true
_zend_llist_add_element
_zend_llist_apply_with_arg
_zend_llist_apply_with_del
_zend_llist_clean
_zend_llist_del_element
_zend_llist_destroy
_zend_llist_init
_zend_load_extension
_zend_make_compiled_string
_zend_make_printable_zval
_zend_message_dispatcher
_zend_print_variable
_zend_printf
_zend_ptr_stack_destroy
_zend_ptr_stack_init
_zend_ptr_stack_n_pop
_zend_ptr_stack_n_push
_zend_ptr_stack_num_elemen
_zend_register_extension
_zend_register_ini_entries
_zend_register_long_consta
_zend_register_module
_zend_register_string_cons
_zend_restore_compiled_fil
_zend_rsrc_list_get_rsrc_t
_zend_set_compiled_filenam
_zend_startup_module
_zend_str_tolower
_zend_strndup
_zend_ticks_function
_zend_unblock_interruption
_zend_unregister_ini_entri
_zend_unset_timeout
_zend_wrong_param_count
_zval_update_constant
_zval_used_for_init
/usr/sbin/apachectl: line 171: 14318 Trace/BPT trap $HTTPD -t
Cc: hernst42
please post error messages from apache startup too
also, can you please post result of:
ldd /usr/local/Zend/lib/ZendEx tensionMan ager.so
> zend_server.apache_error_l og=/etc/|r otatelogs
are you shure there is no typo here?
please post error messages from apache startup too
also, can you please post result of:
ldd /usr/local/Zend/lib/ZendEx
> zend_server.apache_error_l
are you shure there is no typo here?
ASKER
hernst42:
OS X Server 10.3.5 (nice guess!)
PHP 4.3.9 configured with:
'./configure' '--prefix=/usr/local/php' '--with-zlib-dir=/usr/loca l' '--with-jpeg=/sw' '--with-libtiff=/sw' '--with-png=/sw' '--with-gd=/sw' '--with-mysql' '--with-curl' '--with-xml' '--with-dom=/sw' '--with-apxs' '--with-iconv' '--with-openssl' '--enable-cgi' '--with-xpm-dir=/sw' '--with-t1lib=/sw' '--with-mcrypt=/sw' '--with-mhash=/sw' '--with-pdflib=/sw' '--with-expat-dir=/sw' '--with-gettext=/sw' '--with-dom=/sw' '--with-dom-xslt=/sw' '--with-dom-exslt=/sw' '--with-xslt-sablot=/sw' '--with-mime-magic=/usr/lo cal/php/et c/magic.mi me' '--with-mssql' '--enable-xslt' '--with-ldap' '--with-xml' '--with-xmlrpc' '--enable-sockets' '--enable-dbx' '--enable-dbase' '--enable-trans-sid' '--enable-exif' '--enable-wddx' '--enable-ftp' '--enable-mbstring' '--with-ttf' '--enable-gd-native-ttf' '--with-freetype-dir=/sw/l ib/freetyp e2'
Apache 1.3.29
ZendStudioServer-3.5.2-dar win7.5-ppc
ahoffmann:
apache output:
/usr/sbin/apachectl: line 171: 26451 Trace/BPT trap $HTTPD -t >/dev/null 2>&1
/usr/sbin/apachectl restart: configuration broken, ignoring restart
/usr/sbin/apachectl restart: (run 'apachectl configtest' for details)
OS X doesn't have ldd but apparently otool -L gives the same info:
admin$ otool -L /usr/local/Zend/lib/ZendEx tensionMan ager.so
/usr/local/Zend/lib/ZendEx tensionMan ager.so:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 63.0.0)
I changed the zend_server.apache_error_l og line to point to a file, apachectl still gives the same problems.
OS X Server 10.3.5 (nice guess!)
PHP 4.3.9 configured with:
'./configure' '--prefix=/usr/local/php' '--with-zlib-dir=/usr/loca
Apache 1.3.29
ZendStudioServer-3.5.2-dar
ahoffmann:
apache output:
/usr/sbin/apachectl: line 171: 26451 Trace/BPT trap $HTTPD -t >/dev/null 2>&1
/usr/sbin/apachectl restart: configuration broken, ignoring restart
/usr/sbin/apachectl restart: (run 'apachectl configtest' for details)
OS X doesn't have ldd but apparently otool -L gives the same info:
admin$ otool -L /usr/local/Zend/lib/ZendEx
/usr/local/Zend/lib/ZendEx
/usr/lib/libSystem.B.dylib
I changed the zend_server.apache_error_l
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Which PHP version are you using?
Which Apache are you using?
Which version of the ZendServer have you downloaded?