LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-23-2006, 04:26 AM   #1
graziano1968
Member
 
Registered: Sep 2004
Posts: 223

Rep: Reputation: 30
.php files running on a linux webserver


Is there any way to find all .php files running on a linux webserver with apache 1.3 ?

Since I am running php with mod_php apache , executing top I receive only nobody/httpd processes ... I cannot know who is using php and what php file.

For example Analyzing /proc folder or any other hidden way is there any why to find users using .php on a webservers ?

I know suphp and phpsuexec but I don't want use them since I want use mod_php apache .


Using apache 2.x , may I track users using php scripts
easier than apache 1.x ?

Thanks.

Last edited by graziano1968; 10-23-2006 at 04:38 AM.
 
Old 10-23-2006, 09:20 PM   #2
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,173

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Using top if you press 'c' it will give the full path of the running apps, but that may only return the apache process which is running. You may have to search the apache log to see what pages are being viewed to determine exactly which ones are being accessed.
Linux Journal did an article last month about analyzing apache logs; http://www.linuxjournal.com/article/9168
 
Old 10-24-2006, 12:54 AM   #3
graziano1968
Member
 
Registered: Sep 2004
Posts: 223

Original Poster
Rep: Reputation: 30
I know this indeed . I think that working with /proc someone with a good bash/c skill level could find a way to show (with a tool similar to top and ps) what's doing httd , for example exactly after httpd writes on log file about a php file ,the tool should report the php file just opened.
Sorry for my english , I hope was clear enough. I think that /proc should have this information .
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
new to linux - php/mysql/webserver setup airswit Linux - Software 25 01-30-2006 10:56 AM
turn pc into webserver with ready-to-go linux + apache/mysql/php installer crz_06 Linux - Newbie 5 01-14-2006 09:08 PM
running my own webserver ab44045 Linux - Networking 1 11-14-2005 01:47 AM
running apache/php files limp Programming 3 11-07-2004 08:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration