• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

PHP undefined function implode|abs|count

N

NéstorA

Guest
Hello all.

I´m getting fatal errors running in a fedora 7 box with plesk 9.5.3 up to date with proftpd patch installed.
In the error_log files from all domains hosted on the server I have entries like the following:

PHP Fatal error: Call to undefined function implode()
-OR-
PHP Fatal error: Call to undefined function abs()
-OR-
PHP Fatal error: Call to undefined function is_array()
-OR-
PHP Fatal error: Call to undefined function count()

Always with PHP built-in functions and the functions fail ramdomly, NOT fail every time, some executions are correct. The same script, containig call to implode and abs, can run fine 10 times and then fail 5 in a row.

The server was running fine a couple of months and on 9 nov the first message appears in the log.

I can´t find information about this issue, can anyone please help?.

BTW, do you think reinstall PHP will help?, How do I force Plesk to reinstall PHP rpm´s?

Thanks in advance.
Sorry for my poor english.
 
> How do I force Plesk to reinstall PHP rpm´s?

Shell command line to reinstall PHP package:

# yum reinstall php
 
Hi Eduard,
Thanks for your reply.

# yum reinstall php
doesn´t work, I search yum man page for "reinstall" and it didn´t appear.

Also, reinstall with yum, will update using the correct packages (from the plesk panel, not from fedora repos)?

Regards.
 
Back
Top