Can't change sendmail_path from user php.ini
Hello!
I'm trying to change the value for sendmail_path in user's php.ini using MultiPHP Editor and i can't.
I do not want to do this change global, how can i do it?
Thanks!
-
Greetings, You noted you can't make the change for the user via MultiPHP INI editor, are you receiving an error when attempting to do so in cPanel? I confirmed that I was able to manually add the 'sendmail_path' variable via MultiPHP INI Editor in cPanel using "Editor Mode" [autorespond@cpanel public_html]$ php -i | grep -i sendmail_path sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
We have some great information on using MultiPHP INI Editor here:0 -
Hi! I'm using the MultiPHP INI Editor from customer's cPanel and the changes to ini files and htaccess are made but if it check with phpinfo() nothing is changed. Thanks! 0 -
Hello @benito Are you certain that you modified the sendmail_path setting for the same version of PHP that the site was configured to use? Please check the "Loaded Configuration File" line shown by the phpinfo() function to ensure the correct .ini file is being loaded when you test. 0 -
Hi! I attach some screenshots, i do the changes to php 7.3 on the users cPanel. The ini file loaded its the one for everyone, not the one in users directory. Thanks 0 -
Hello @benito Thank you for the additional details. Based on the description of the issue, it sounds as though the PHP handler is responsible. The following page explains this:
Hi Samuel, The site was using php 7.3 and LSAPI as handler, when i changed it to suphp for 7.3 it works our changes in user's php.ini There is any way to make this works with LSAPI? Or, can i choose the handler only for one customer and not the entire server using that version of php? Thanks0
Please sign in to leave a comment.
Comments
6 comments