[PHP] Locate compiled PHP (Zend) Scripts
Hi, does anyone know, how I can easily determine which websites are using compiled PHP-Scripts. I have to check our webserver, based on BSD and Apache, for these Scripts. Would appreciate any suggestions from you! Thank you Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] locate PID & Kill
On Monday 09 August 2004 19:00, Curlys wrote: > it doesn't work , when it is running , errors r bellow > > sh: line 1: kill: r: invalid signal specification Well specify a VALID signal then. This is not a PHP problem. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* A rolling disk gathers no MOS. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] locate PID & Kill
it doesn't work , when it is running , errors r bellow sh: line 1: kill: r: invalid signal specification plz help - Original Message - From: "Matthew Runo" <[EMAIL PROTECTED]> To: "Curlys" <[EMAIL PROTECTED]> Cc: "PHP" <[EMAIL PROTECTED]> Sent: Monday, August 09, 2004 12:38 PM Subject: Re: [PHP] locate PID & Kill > You could do something like this.. > > $cmd = "kill -r HUP /var/run/abc.pl.pid"; > exec($cmd); > > That should kill it and then restart it. You'll need to change > /var/run/abc.pl.pid to fit into your system, but the idea of that line > is to allow the script to get the proper PID, even if it's not what you > expect. > > I'm not sure if you'd be able to restart it with a given PID. > > Matthew Runo > http://www.quabbo.com > Quabbo Internet Services > The only host with the Zend Performance Suite! > > On Aug 8, 2004, at 11:25 PM, Curlys wrote: > > > pe -ef > > > > * 19282 pts/300:00:00 abc.pl > > > > my perl script is abc.pl. It's PID is 19282 > > > > Can somebody help me to do the php scripting to > > > > 1.Locate that PID > > 2.kill the script > > 3.start that script with the same PID . > > > > plz help , i'm highly appreciate ur help > > > > thank u > > curlys > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] locate PID & Kill
You could do something like this.. $cmd = "kill -r HUP /var/run/abc.pl.pid"; exec($cmd); That should kill it and then restart it. You'll need to change /var/run/abc.pl.pid to fit into your system, but the idea of that line is to allow the script to get the proper PID, even if it's not what you expect. I'm not sure if you'd be able to restart it with a given PID. Matthew Runo http://www.quabbo.com Quabbo Internet Services The only host with the Zend Performance Suite! On Aug 8, 2004, at 11:25 PM, Curlys wrote: pe -ef * 19282 pts/300:00:00 abc.pl my perl script is abc.pl. It's PID is 19282 Can somebody help me to do the php scripting to 1.Locate that PID 2.kill the script 3.start that script with the same PID . plz help , i'm highly appreciate ur help thank u curlys -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] locate PID & Kill
pe -ef * 19282 pts/300:00:00 abc.pl my perl script is abc.pl. It's PID is 19282 Can somebody help me to do the php scripting to 1.Locate that PID 2.kill the script 3.start that script with the same PID . plz help , i'm highly appreciate ur help thank u curlys -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] locate
Not a PHP Question. "updatedb" or "locate -u" should work on Linux systems. Regards, Nikunj Virani - Original Message - From: "Joseph Bannon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, March 29, 2003 12:44 PM Subject: [PHP] locate > How do you update the locate database? > > /var/lib/slocate/slocate.db > > __ > Do you Yahoo!? > Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! > http://platinum.yahoo.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] locate
On Saturday 29 March 2003 15:14, Joseph Bannon wrote: > How do you update the locate database? > > /var/lib/slocate/slocate.db You really are taking advantage of people's generosity in answering your OT questions. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* Keep America beautiful. Swallow your beer cans. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] locate
This one time, at band camp, Joseph Bannon <[EMAIL PROTECTED]> wrote: > How do you update the locate database? > > /var/lib/slocate/slocate.db udatedb Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] locate
How do you update the locate database? /var/lib/slocate/slocate.db __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php