LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-11-2003, 01:39 PM   #1
hct224
Member
 
Registered: Jun 2003
Distribution: Redhat
Posts: 87

Rep: Reputation: 15
PHP log file question.


Hi All,

Is it possible to set up log file(s) for PHP like apache(ie. error_log, access_log...). If yes, how am I going to set it up? Do I need to edit any line in PHP.INI file?

Thank you.
 
Old 11-11-2003, 02:09 PM   #2
TheIrish
Member
 
Registered: Oct 2003
Location: ITALY
Distribution: Debian, Ubuntu, Fedora
Posts: 137

Rep: Reputation: 15
I can't exactly understand what you need.
1. Are you asking for a system for logging each time PHP is used?
2. Are you asking for a script that logs each time a page is opened?
 
Old 11-11-2003, 03:28 PM   #3
hct224
Member
 
Registered: Jun 2003
Distribution: Redhat
Posts: 87

Original Poster
Rep: Reputation: 15
I mean I just want to view log file like apache(error_log, access_log..). In apache we set something like
error_log /var/logs/error_log
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Log file question InJesus Linux - General 1 11-09-2005 10:36 AM
Log file for subdomain question htmlcoder Linux - Newbie 0 05-19-2005 03:43 AM
Apache Log file question. GarroteYou Linux - Security 8 10-24-2004 05:51 AM
snort log file question ziegen Linux - Security 9 08-19-2004 02:49 PM
PHP Script to retrieve queries from log file saravanan1979 Programming 1 03-17-2002 08:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:47 PM.

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