Truemag

  • Categories
    • Tips And Tricks
    • Internet
    • PHP
    • Javascript
    • CSharp
    • SQL Server
    • Linux
  • Lastest Videos
  • Our Demos
  • About
  • Contact
  • Home
  • Write With Us
  • Job Request
Home PHP PHP Error Log File Location

PHP Error Log File Location

To find where your PHP Error Log File Reside, you can do 2 ways as below:

1. Using phpinfo()

Create a php file on your web server with content below:

	phpinfo();

phpinfo();

Name it something likes phpinfo123.php and browse it on your browser. Then try to search with this keyword “error_log”, you should see a line similar to this:

error_log	C:\Windows\temp\php-errors.log	C:\Windows\temp\php-errors.log

error_log C:\Windows\temp\php-errors.log C:\Windows\temp\php-errors.log

phpinfo-error-log

phpinfo-error-log

2. Using your php.ini

Open your php.ini file, it should be located at:

+ C:\Program Files (x86)\PHP on Windows operating system
+ /etc/php.ini on Linux/Unix environment

Find out the line that read as follows:

error_log

error_log

Mar 18, 2011Hoan Huynh
Create Youtube PlaylistProperty or indexer 'Microsoft.Crm.Sdk.Query.ColumnSet.Attributes' cannot be assigned to - it is read only
You Might Also Like:
  • How To Save PHP Error Log To File In IIS
  • Facebook Like Button And Recommend Button With fb:like, iframe and html5
  • How To Track Website With Multiple Google Analytisc Accounts
  • PowerShell Piwik – File cannot be loaded because the execution of scripts is disabled on this system
  • Changing hosts file in Windows
  • Get File Mime Type Using PHP
  • PHP display all errors and warnings
  • Display User Current Location On Google Map
  • PHP Get Remote File Size And Content Type
  • JavaScript Get Radio Button Value
Hoan Huynh

Hoan Huynh is the founder and head of 4rapiddev.com. Reach him at [email protected]

10 years ago PHPerror_log, php.ini, phpinfo682
0
GooglePlus
0
Facebook
0
Twitter
0
Digg
0
Delicious
0
Stumbleupon
0
Linkedin
0
Pinterest
Most Viewed
PHP Download Image Or File From URL
22,195 views
Notepad Plus Plus Compare Plugin
How To Install Compare Text Plugin In Notepad Plus Plus
20,069 views
Microsoft SQL Server 2008 Attach Remove Log
Delete, Shrink, Eliminate Transaction Log .LDF File
15,845 views
JQuery Allow only numeric characters or only alphabet characters in textbox
13,317 views
C# Read Json From URL And Parse/Deserialize Json
9,815 views
4 Rapid Development is a central page that is targeted at newbie and professional programmers, database administrators, system admin, web masters and bloggers.
Recent Posts
  • Free Online Photo Editor
  • Easy Tips For Writing An Essay
  • What Can I Expect From An Academic Essay Service?

  • Can Be Essay Service Companies Good For You?

  • Tips To Choosing The Ideal Essay Writers
Categories
  • CSharp (45)
  • Facebook Graph API (19)
  • Google API (7)
  • Internet (87)
  • iPhone XCode (8)
  • Javascript (35)
  • Linux (28)
  • MySQL (16)
  • PHP (84)
  • Problem Issue Error (29)
  • Resources (32)
  • SQL Server (25)
  • Timeline (5)
  • Tips And Tricks (141)
  • Uncategorized (112)
Recommended
  • Custom Software Development Company
  • Online Useful Tools
  • Premium Themes
  • VPS
2014 © 4 Rapid Development