URGENT - using posix_kill in PHP !!!!

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
Lalit
Forum Newbie
Posts: 1
Joined: Sun Jul 18, 2004 4:40 am

URGENT - using posix_kill in PHP !!!!

Post by Lalit »

Hi,

I am trying to use posix_kill in PHP Page to kill the Service under
HP-UX/ Linux is m using APACHE2 on HPUX and PHP 4.3.7 and in LINUX i m
using APACHE 1.3 PHP = 4.3.6.

As i can use posix_kill when apache and the owner of the service are
same ie the user / group is defined under the httpd.conf also the same
own runs that service but fails if the owner of the APACHE is different
from the owner of the service. How can i do this.

Also i can make run APACHE as root but this is not advisable.

As we all know that APACHE WEB Interface does this all how can i do this
without worrying of the user for APACHE and Service.

Many Thanks
Lalit
Post Reply