php and file ownership

Hi folks!
I’ve recently installed apache2+php5 and have problem with ownership of files created by php scripts.
The same test php script which just create txt file and write something init when executed manualy from browser create txt file with ownership wwwphp:www and when is executed from crontab myname:users. How can I adjust that everytime the ownersihp is myname:users?
OS is OpenSUSE 13.1.