• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

After upgrade PHP issues

B

Bradley Munday

Guest
Hello,

I recently upgraded to 9.2.3 on my centos 5 box. I have just descovered that PHP doesn't seem to be functioning correctly. I have PHP forms on websites that submit emails, rather than sending the email I am presented with my error page that the PHP is set to go to if the command is not successful.

Therefore, I assume that to some extent PHP continues to function but possible incorrect config entry somewhere?

Any help on this would be appreciated, not sure what additional information you may require but please ask.

Cheers
 
Any error messages from Plesk log files related to this problem would be very useful.
 
Any error messages from Plesk log files related to this problem would be very useful.

Sorry I am fairly new to all this can you advise the location of the relevant logs?

Many thanks
 
Can you please advise the location of the logs in question.

Many thanks
 
Domain's error log you can find here /var/www/vhosts/domain.com/statistics/logs/error_log
Common Apache error log here /var/log/httpd/error_log
 
After looking in those logs nothing out of the ordinary poped up. However in /var/log/httpd/error_log I get the following:
qmail-inject: fatal: mail server permanently rejected message (#5.3.0)

This appears everytime the PHP form is submitted (it tries to do a mail () command.)
I am now assuming that I have a qmail issue rather than a PHP issue.

While I investigate any quick and simple ideas?
 
This issue was resolved by editing the php.ini file and commenting out the line /usr/sbin/sendmail. I am assuming this forced php to use an earlier config line of localhost port 25. All now seems to be working. Thank you for your assistance
 
Back
Top