• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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