Email Piping Error

I could use some help dissecting a email piping error. I don’t get any bounce backs. The email log show the email delivered to the piping.php file. However tech support over at ClientExec was able to find this error:

(1) 10/14/14 18:18:44 - Zend_Session::start() - /home/wholesale/public_html/clients/library/Zend/Session.php(Line:469): Error #2 session_start(): open(/var/lib/php/session/sess_qfiadu5qri327rt2199kqc5r33, O_RDWR) failed: Permission denied (13) Array /home/wholesale/public_html/clients/library/Zend/Session.php(Line:479): Error #2 session_write_close(): open(/var/lib/php/session/sess_qfiadu5qri327rt2199kqc5r33, O_RDWR) failed: Permission denied (13) Array /home/wholesale/public_html/clients/library/Zend/Session.php(Line:479): Error #2 session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) Array

Looks like it’s trying to use a directory owned by root instead of the virtual domain.

I’d appreciate any advice.

Thanks,
Brian

Howdy,

When calling a PHP script from the command line, not from a web browser, you may want to prefix it with the following:

PHPRC=/home/USERNAME/etc/php5 php_script_here

That will make sure it’s using your user’s PHP config.

-Eric