Results 1 to 9 of 9
  1. #1
    Join Date
    Jul 2013
    Posts
    463

    How to enable xmlprc on php Centos 6 64?

    Hello ,

    I have install xmlprc on Centos 6 64 but it not works.. i need to enable it to php.. does anybody know how to do it? This is my php.ini

    Code:
    [PHP]
    engine = On
    zend.ze1_compatibility_mode = Off
    short_open_tag = On
    asp_tags = Off
    precision    =  14
    y2k_compliance = On
    output_buffering = 4096
    zlib.output_compression = Off
    implicit_flush = Off
    unserialize_callback_func=
    serialize_precision = 100
    allow_call_time_pass_reference = Off
    safe_mode = Off
    safe_mode_gid = Off
    safe_mode_include_dir =
    safe_mode_exec_dir =
    safe_mode_allowed_env_vars = PHP_
    safe_mode_protected_env_vars = LD_LIBRARY_PATH
    disable_functions =
    disable_classes =
    expose_php = Off
    max_execution_time = 300
    max_input_time = 60
    memory_limit = 128M
    error_reporting = E_ALL & ~E_NOTICE
    display_errors = Off
    display_startup_errors = Off
    log_errors = On
    log_errors_max_len = 1024
    ignore_repeated_errors = Off
    ignore_repeated_source = Off
    report_memleaks = On
    track_errors = Off
    variables_order = "EGPCS"
    register_globals = Off
    register_long_arrays = Off
    register_argc_argv = Off
    auto_globals_jit = On
    post_max_size = 8M
    magic_quotes_gpc = Off
    magic_quotes_runtime = Off
    magic_quotes_sybase = Off
    auto_prepend_file =
    auto_append_file =
    default_mimetype = "text/html"
    doc_root =
    user_dir =
    extension_dir = "/usr/lib64/php/modules"
    enable_dl = On
    file_uploads = On
    upload_max_filesize = 100M
    allow_url_fopen = On
    default_socket_timeout = 60
    
    [Syslog]
    define_syslog_variables  = Off
    
    sendmail_path = /usr/sbin/sendmail -t -i
    
    [SQL]
    sql.safe_mode = Off
    
    [ODBC]
    odbc.allow_persistent = On
    odbc.check_persistent = On
    odbc.max_persistent = -1
    odbc.max_links = -1
    odbc.defaultlrl = 4096
    odbc.defaultbinmode = 1
    
    [MySQL]
    mysql.allow_persistent = On
    mysql.max_persistent = -1
    mysql.max_links = -1
    mysql.default_port =
    mysql.default_socket =
    mysql.default_host =
    mysql.default_user =
    mysql.default_password =
    mysql.connect_timeout = 60
    mysql.trace_mode = Off
    
    [MySQLi]
    mysqli.max_links = -1
    mysqli.default_port = 3306
    mysqli.default_socket =
    mysqli.default_host =
    mysqli.default_user =
    mysqli.default_pw =
    mysqli.reconnect = Off
    
    [mSQL]
    msql.allow_persistent = On
    msql.max_persistent = -1
    msql.max_links = -1
    
    [PostgresSQL]
    pgsql.allow_persistent = On
    pgsql.auto_reset_persistent = Off
    pgsql.max_persistent = -1
    pgsql.max_links = -1
    pgsql.ignore_notice = 0
    pgsql.log_notice = 0
    
    [Sybase]
    sybase.allow_persistent = On
    sybase.max_persistent = -1
    sybase.max_links = -1
    sybase.min_error_severity = 10
    sybase.min_message_severity = 10
    sybase.compatability_mode = Off
    
    [Sybase-CT]
    sybct.allow_persistent = On
    sybct.max_persistent = -1
    sybct.max_links = -1
    sybct.min_server_severity = 10
    sybct.min_client_severity = 10
    
    [bcmath]
    bcmath.scale = 0
    
    [Informix]
    ifx.default_host =
    ifx.default_user =
    ifx.default_password =
    ifx.allow_persistent = On
    ifx.max_persistent = -1
    ifx.max_links = -1
    ifx.textasvarchar = 0
    ifx.byteasvarchar = 0
    ifx.charasvarchar = 0
    ifx.blobinfile = 0.
    ifx.nullformat = 0
    
    [Session]
    session.save_handler = files
    session.save_path = "/var/lib/php/session"
    session.use_cookies = 1
    session.name = PHPSESSID
    session.auto_start = 0
    session.cookie_lifetime = 0
    session.cookie_path = /
    session.cookie_domain =
    session.serialize_handler = php
    session.gc_probability = 1
    session.gc_divisor     = 1000
    session.gc_maxlifetime = 1440
    session.bug_compat_42 = 0
    session.bug_compat_warn = 1
    session.referer_check =
    session.entropy_length = 0
    session.entropy_file =
    session.cache_limiter = nocache
    session.cache_expire = 180
    session.use_trans_sid = 0
    session.hash_function = 1
    session.hash_bits_per_character = 5
    url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    
    [MSSQL]
    mssql.allow_persistent = On
    mssql.max_persistent = -1
    mssql.max_links = -1
    mssql.min_error_severity = 10
    mssql.min_message_severity = 10
    mssql.compatability_mode = Off
    mssql.secure_connection = Off
    
    [Verisign Payflow Pro]
    pfpro.defaulthost = "test-payflow.verisign.com"
    pfpro.defaultport = 443
    pfpro.defaulttimeout = 30
    
    [Tidy]
    tidy.clean_output = Off
    
    [soap]
    soap.wsdl_cache_enabled=1
    soap.wsdl_cache_dir="/tmp"
    soap.wsdl_cache_ttl=86400
    
    zend_extension = /etc/ioncube/ioncube_loader_lin_5.3.so

  2. #2
    Join Date
    Jul 2013
    Posts
    463
    This is the correct

    Code:
    [PHP]
    engine = On
    zend.ze1_compatibility_mode = Off
    short_open_tag = On
    asp_tags = Off
    precision    =  14
    y2k_compliance = On
    output_buffering = 4096
    zlib.output_compression = Off
    implicit_flush = Off
    unserialize_callback_func=
    serialize_precision = 100
    allow_call_time_pass_reference = Off
    safe_mode = Off
    safe_mode_gid = Off
    safe_mode_include_dir =
    safe_mode_exec_dir =
    safe_mode_allowed_env_vars = PHP_
    safe_mode_protected_env_vars = LD_LIBRARY_PATH
    disable_functions =
    disable_classes =
    expose_php = Off
    max_execution_time = 300
    max_input_time = 60
    memory_limit = 128M
    error_reporting = E_ALL & ~E_NOTICE
    display_errors = Off
    display_startup_errors = Off
    log_errors = On
    log_errors_max_len = 1024
    ignore_repeated_errors = Off
    ignore_repeated_source = Off
    report_memleaks = On
    track_errors = Off
    variables_order = "EGPCS"
    register_globals = Off
    register_long_arrays = Off
    register_argc_argv = Off
    auto_globals_jit = On
    post_max_size = 8M
    magic_quotes_gpc = Off
    magic_quotes_runtime = Off
    magic_quotes_sybase = Off
    auto_prepend_file =
    auto_append_file =
    default_mimetype = "text/html"
    doc_root =
    user_dir =
    extension_dir = "/usr/lib64/php/modules"
    enable_dl = On
    file_uploads = On
    upload_max_filesize = 100M
    allow_url_fopen = On
    default_socket_timeout = 60
    extension=xmlrpc.so
    
    [Syslog]
    define_syslog_variables  = Off
    
    sendmail_path = /usr/sbin/sendmail -t -i
    
    [SQL]
    sql.safe_mode = Off
    
    [ODBC]
    odbc.allow_persistent = On
    odbc.check_persistent = On
    odbc.max_persistent = -1
    odbc.max_links = -1
    odbc.defaultlrl = 4096
    odbc.defaultbinmode = 1
    
    [MySQL]
    mysql.allow_persistent = On
    mysql.max_persistent = -1
    mysql.max_links = -1
    mysql.default_port =
    mysql.default_socket =
    mysql.default_host =
    mysql.default_user =
    mysql.default_password =
    mysql.connect_timeout = 60
    mysql.trace_mode = Off
    
    [MySQLi]
    mysqli.max_links = -1
    mysqli.default_port = 3306
    mysqli.default_socket =
    mysqli.default_host =
    mysqli.default_user =
    mysqli.default_pw =
    mysqli.reconnect = Off
    
    [mSQL]
    msql.allow_persistent = On
    msql.max_persistent = -1
    msql.max_links = -1
    
    [PostgresSQL]
    pgsql.allow_persistent = On
    pgsql.auto_reset_persistent = Off
    pgsql.max_persistent = -1
    pgsql.max_links = -1
    pgsql.ignore_notice = 0
    pgsql.log_notice = 0
    
    [Sybase]
    sybase.allow_persistent = On
    sybase.max_persistent = -1
    sybase.max_links = -1
    sybase.min_error_severity = 10
    sybase.min_message_severity = 10
    sybase.compatability_mode = Off
    
    [Sybase-CT]
    sybct.allow_persistent = On
    sybct.max_persistent = -1
    sybct.max_links = -1
    sybct.min_server_severity = 10
    sybct.min_client_severity = 10
    
    [bcmath]
    bcmath.scale = 0
    
    [Informix]
    ifx.default_host =
    ifx.default_user =
    ifx.default_password =
    ifx.allow_persistent = On
    ifx.max_persistent = -1
    ifx.max_links = -1
    ifx.textasvarchar = 0
    ifx.byteasvarchar = 0
    ifx.charasvarchar = 0
    ifx.blobinfile = 0.
    ifx.nullformat = 0
    
    [Session]
    session.save_handler = files
    session.save_path = "/var/lib/php/session"
    session.use_cookies = 1
    session.name = PHPSESSID
    session.auto_start = 0
    session.cookie_lifetime = 0
    session.cookie_path = /
    session.cookie_domain =
    session.serialize_handler = php
    session.gc_probability = 1
    session.gc_divisor     = 1000
    session.gc_maxlifetime = 1440
    session.bug_compat_42 = 0
    session.bug_compat_warn = 1
    session.referer_check =
    session.entropy_length = 0
    session.entropy_file =
    session.cache_limiter = nocache
    session.cache_expire = 180
    session.use_trans_sid = 0
    session.hash_function = 1
    session.hash_bits_per_character = 5
    url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    
    [MSSQL]
    mssql.allow_persistent = On
    mssql.max_persistent = -1
    mssql.max_links = -1
    mssql.min_error_severity = 10
    mssql.min_message_severity = 10
    mssql.compatability_mode = Off
    mssql.secure_connection = Off
    
    [Verisign Payflow Pro]
    pfpro.defaulthost = "test-payflow.verisign.com"
    pfpro.defaultport = 443
    pfpro.defaulttimeout = 30
    
    [Tidy]
    tidy.clean_output = Off
    
    [soap]
    soap.wsdl_cache_enabled=1
    soap.wsdl_cache_dir="/tmp"
    soap.wsdl_cache_ttl=86400
    
    zend_extension = /etc/ioncube/ioncube_loader_lin_5.3.so

  3. #3
    Join Date
    Jul 2013
    Posts
    463
    I found this line was causing issues after removed it it worked

    zend_extension = /etc/ioncube/ioncube_loader_lin_5.3.so


    Why this happened? How i can install ioncube with php.ini..???

  4. #4
    Join Date
    Nov 2014
    Location
    Alexandria, VA
    Posts
    78
    It looks like this might be what you need for the php.ini:

    [Zend]
    zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.3.so"
    zend_extension_ts="/usr/local/IonCube/ioncube_loader_lin_5.3_ts.so"
    extension=pdo.so
    extension=pdo_sqlite.so
    extension=sqlite.so
    extension=pdo_mysql.so
    ServInt.net
    VPS • Dedicated • Cloud • Highly Flexible Managed & Unmanaged solutions
    Smart web hosting since 1995.

  5. #5
    Join Date
    Jul 2013
    Posts
    463
    Quote Originally Posted by ServInt John View Post
    It looks like this might be what you need for the php.ini:

    [Zend]
    zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.3.so"
    zend_extension_ts="/usr/local/IonCube/ioncube_loader_lin_5.3_ts.so"
    extension=pdo.so
    extension=pdo_sqlite.so
    extension=sqlite.so
    extension=pdo_mysql.so
    Do i just add it in the bottom..? No other commands?

  6. #6
    Join Date
    Nov 2014
    Location
    Alexandria, VA
    Posts
    78
    I'm afraid that's just what I was able to find after a Google search. Good luck with it!
    ServInt.net
    VPS • Dedicated • Cloud • Highly Flexible Managed & Unmanaged solutions
    Smart web hosting since 1995.

  7. #7
    Quote Originally Posted by -liquid- View Post
    I found this line was causing issues after removed it it worked

    zend_extension = /etc/ioncube/ioncube_loader_lin_5.3.so


    Why this happened? How i can install ioncube with php.ini..???
    I think the issue might be that your PHP version is not compatible with this ionCube version? From the file name, I guess that ionCube would work with PHP 5.3. To make sure that your PHP version is compatible with ionCube, check its version to see if it's v5.3 as well by running the command "php -v". For example, on my system, I run PHP 5.5:

    Code:
    # php -v
    
    PHP 5.5.22 (cli) (built: Feb 20 2015 02:02:59)
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
        with the ionCube PHP Loader v4.7.3, Copyright (c) 2002-2014, by ionCube Ltd.
    That's why I use ioncube_loader_lin_5.5.so, not ioncube_loader_lin_5.3.so

  8. #8
    Join Date
    Jul 2013
    Posts
    463
    Quote Originally Posted by GiovanniM View Post
    I think the issue might be that your PHP version is not compatible with this ionCube version? From the file name, I guess that ionCube would work with PHP 5.3. To make sure that your PHP version is compatible with ionCube, check its version to see if it's v5.3 as well by running the command "php -v". For example, on my system, I run PHP 5.5:

    Code:
    # php -v
    
    PHP 5.5.22 (cli) (built: Feb 20 2015 02:02:59)
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
        with the ionCube PHP Loader v4.7.3, Copyright (c) 2002-2014, by ionCube Ltd.
    That's why I use ioncube_loader_lin_5.5.so, not ioncube_loader_lin_5.3.so

    If i update php in zPanel eveyrhting gets messy and nothing then works.. it is php 5.3

  9. #9
    Quote Originally Posted by -liquid- View Post
    If i update php in zPanel eveyrhting gets messy and nothing then works.. it is php 5.3
    I'm sorry, I meant to give an example - do you think you can post the output of "php -v" before putting the "zend_extension" line and after into your php.ini? I'm sure it would help debug the issue, if you are still experiencing it!

    P.S You may also check your apache server logs at /var/log/httpd/error_log (CentOS), the exact error might be reported there
    Last edited by Giovanni M; 03-30-2015 at 01:01 PM.

Similar Threads

  1. How do i enable OPCACHE on PHP55 on CentOS and Nginx
    By filipmedia in forum Hosting Software and Control Panels
    Replies: 5
    Last Post: 12-02-2013, 08:57 PM
  2. How to enable SElinux and Secure CentOS 6
    By J D A in forum Hosting Security and Technology
    Replies: 16
    Last Post: 06-09-2012, 02:41 PM
  3. Replies: 4
    Last Post: 07-08-2011, 12:31 PM
  4. CentOS: Install/Enable Mod_Rewrite
    By NuWeb.co.uk in forum Hosting Security and Technology
    Replies: 4
    Last Post: 01-13-2007, 04:05 PM
  5. How to enable DMA on CentOS
    By DataCentric in forum Hosting Security and Technology
    Replies: 6
    Last Post: 01-29-2006, 12:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •