-
Notifications
You must be signed in to change notification settings - Fork 0
/
LAMP_ENV
37 lines (27 loc) · 892 Bytes
/
LAMP_ENV
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
PHP
-------------------------------------------------
(1)tail -f /home/ubuntu/lib/apache2/log/error.log
This log is not very helpful and outdated.
It does not have PHP application related errors.
But, any hint will save me a day.
Keep looking.
(2)php_errors.log seems to be creating at thc current directory.
This log seems to capture all stdout errors to this file.
SQL
--------------------------------------------------
mysql-ctl cli
use dblogin;
show tables;
mysql credential
username:dguai
password:"" <=Empty string
LINUX
-------------------------------------------------
(1)Ubuntu release
lsb_release -a
(2).profile exists on home directory
must source ~/.profile after a change
(3)Home directory is /home/ubuntu/workspace
//USE very cautiously.
Run this first: find . -name "php_errors.log" -type f
find . -name "php_errors.log" -type f -delete