1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

php just gone dead

Discussion in 'Plesk for Linux - 8.x and Older' started by redice, Mar 19, 2006.

  1. redice

    redice Guest

    0
     
    hi all,

    I updated my plesk for the first time today and think it caused this.

    I have a site running on php, i was making a few changes to the site and when i hit the refresh button all i got was a blank page. I tried opening another site on the same server in html and that opened all fine.
    I checked my logs /var/logs/httpd/error_log and got the following output


    PHP Warning: Function registration failed - duplicate name - ioncube_file_is_encoded in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - ioncube_file_info in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name -ioncube_file_properties in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - ioncube_file_not_permissioned in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - ioncube_loader_version in Unknown on line 0
    PHP Warning: ionCube Loader: Unable to register functions, unable to load in Unknown on line 0
    [Sun Mar 19 23:48:13 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
    [Sun Mar 19 23:48:13 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
    [Sun Mar 19 23:48:13 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
    [Sun Mar 19 23:48:14 2006] [notice] Apache/2.0.53 (Fedora) configured -- resuming normal operations

    Any ideas??

    locate php.ini gives out the following locations

    /etc/php.ini
    /etc/php.ini.saved_by_psa
    /etc/php.ini.bak
    /usr/local/psa/admin/conf/php.ini
    /usr/local/Zend/etc/php.ini

    is there a conflict of some sort?

    I also get the following when apache is restarted

    [Sun Mar 19 23:48:12 2006] [warn-phpd] Failed to register functions (pid 4056)
    [Sun Mar 19 23:48:12 2006] [warn-phpd] Failed to register functions (pid 4056)
    [Sun Mar 19 23:48:12 2006] [warn-phpd] Failed to register functions (pid 4056)
    [Sun Mar 19 23:48:12 2006] [warn-phpd] Failed to register functions (pid 4056)
    [Sun Mar 19 23:48:12 2006] [warn-phpd] Failed to register functions (pid 4056)
    [Sun Mar 19 23:48:12 2006] [warn-phpd] Failed to register functions (pid 4056)
    [Sun Mar 19 23:48:12 2006] [warn-phpd] Failed to register functions (pid 4056)
    [Sun Mar 19 23:48:12 2006] [warn-phpd] Failed to register functions (pid 4056)
    [Mon Mar 20 00:07:02 2006] [notice] caught SIGTERM, shutting down
    [Sun Mar 19 23:48:12 2006] [warn-phpd] Failed to register functions (pid 4056)
    [Mon Mar 20 00:07:06 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Mon Mar 20 00:07:06 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
    [Mon Mar 20 00:07:06 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
    __________________
    Redice
     
  2. wagnerch

    wagnerch Guest

    0
     
    Normally ioncube is loaded by:

    /etc/php.d/ioncube.ini

    on Fedora-based installations. Make sure you don't have ioncube_loader_lin_*.so in any of the other ini files in that directory or /etc/php.ini

    Normally it would be zend_extension = /usr/lib/php4/ioncube_loader_lin_4.3.so

    Perhaps you have it already installed, or you installed it with a different ini file name and Plesk installed it again and now it is trying to load it twice.
     
  3. dvdpa

    dvdpa Guest

    0
     
    Yes, I had that happen after an update of sitebuilder, it added an ioncube statement in 2 places!

    Chuck
     
  4. unixexperts

    unixexperts Guest

    0
     
    Do you have a backup of your php.ini?

    Well, try to re-compile PHP.
     
Loading...