• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

php just gone dead

R

redice

Guest
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
 
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.
 
Yes, I had that happen after an update of sitebuilder, it added an ioncube statement in 2 places!

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

Well, try to re-compile PHP.
 
Back
Top