• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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