file not found

imieeet

New member
Joined
Nov 27, 2022
Messages
2
hello there
i configured a domain and put the wordpress installer (installer.php) in public html directory of domain whenever i type my ip address it says apache is configured correctly but going to my-ip-address/installer.php says file not found but its right there in file manager and in 'public html' directory of server. no problem there.
anyway after googling stuff i got to this link
and in second answer i traced php and come to this error when i refresh page

rt_sigprocmask(SIG_BLOCK, [QUIT USR1 USR2 TERM CHLD], NULL, 8) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7ff88ace1f10) = 5167
rt_sigprocmask(SIG_UNBLOCK, ~[RTMIN RT_1], NULL, 8) = 0
mkdir("/sys/fs/cgroup/user.slice/user-115.slice", 0755) = -1 EEXIST (File exists)
mkdir("/sys/fs/cgroup/user.slice/user-115.slice/directadmin-exec.scope", 0755) = -1 EEXIST (File exists)
openat(AT_FDCWD, "/sys/fs/cgroup/user.slice/user-115.slice/directadmin-exec.scope/cgroup.procs", O_WRONLY|O_CREAT|O_APPEND, 0666) = 10
lseek(10, 0, SEEK_END) = 0
fstat(10, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
write(10, "5167\n", 5) = 5
close(10) = 0
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7ff88d527090}, {sa_handler=0x5625ecbff450, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7ff88d527090}, 8) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7ff88d527090}, {sa_handler=0x5625ecbff450, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7ff88d527090}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
mmap(NULL, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7ff88ac65000
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 8) = 0
clone(child_stack=0x7ff88ac6dff0, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 5168
munmap(0x7ff88ac65000, 36864) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
wait4(5168, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 5168
rt_sigaction(SIGINT, {sa_handler=0x5625ecbff450, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7ff88d527090}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {sa_handler=0x5625ecbff450, sa_mask=~[KILL STOP RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7ff88d527090}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5168, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
getpid() = 1491
write(6, "C", 1) = 1
rt_sigreturn({mask=[]}) = 0
getpid() = 1491
getpid() = 1491
epoll_wait(9, [{EPOLLIN, {u32=3987960576, u64=94720901739264}}], 1, 303) = 1
read(5, "C", 1) = 1
read(5, 0x7ffddcc6bb77, 1) = -1 EAGAIN (Resource temporarily unavailable)
 
Hello,

Document root for a server IP is pointed to /var/www/html. You might use a corresponding domain if you need to access content from a public_html folder.
 
oh i see. i thought i can access the same files wether its from ip or domain. my domain had a problem and i couldnt test that. thanks man
 
Back
Top