"fopen" function doesn't work in llitespeed

#1
hi
my php version is 5.3.20 and webhost control panel is Directadmin.
my web server is litespeed 4.2.1.
when we use fopen function in scripts it does'nt work.
what is solution ??
plz help me
 
#3
error log

2013-04-24 07:23:29.545 [NOTICE] [5.202.50.233:13746-0#APVH_www.domain.com] [STDERR] PHP Warning: fopen(.ada.php): failed to open stream: Permission denied in /home/clipdooni/domains/domain.com/public_html/ntabs/addfile.php on line 15

and 15th line in addfile.php is :
"$create_file = fopen($file, "w+")"
 

webizen

Well-Known Member
#4
check the directory permission. seem php user has no write permssion in ntabs folder.

ls -ld /home/clipdooni/domains/domain.com/public_html
ls -ld /home/clipdooni/domains/domain.com/public_html/ntabs
 
Top