View Single Post

  #7 (permalink)  
Old 05-24-2007, 05:05 PM
rockdalinux's Avatar
rockdalinux rockdalinux is offline
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

Quote:
[client 10.10.192.49] PHP Notice: Use of undefined constant PHP_SELF - assumed 'PHP_SELF' in /var/www/html/changepassword.php on line 135
unable to change to sudoers gid: Operation not permitted
Setup correct permission on your PHP script to fix sudoers gid permission problem:
Code:
chown www-data:www-data /var/www/html/changepassword.php
I hope you are running Apache under www-data user, if not open httpd.conf and find out username and set that in sudo and same using chown command.
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote