Instalacjon & permission & session

Permalink
install the required permissions to 777 for /var/lib/php/session ?
Directory: owner = root, group = apache...
All entries sess_...: owner = apache, group = apache, but for concrete owner and the group belong to the ftp user performing the installation