PHP problem : mkdir doesn't work using shell_exec()

Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=7MwG0EJhSDI



Duration: 5:16
10,446 views
60


My simple php script is : shell_exec("mkdir this_folder")
but, when i running on browser.. it doesn't work...

in this video will help you how to fix that problem.
The problem caused by, your file.php not owned to www-data (apache).




Other Videos By Ambar Hasbiyatmoko


2017-01-12Ubuntu 16.04 problem after reinstall : low screen resolution and no internet connection
2017-01-09Bucardo : (Basic Tutorial) Postgresql Replication Master to master in 1 server Centos7
2017-01-09Error Install Flash Plugin in Ubuntu 16 04 : adobe flashplugin amd64 404 Not Found
2017-01-08Codeigniter - error when Redirect URL(Not Found) in Ubuntu 16.04
2017-01-08Disable Recent History in Ubuntu 16.04
2017-01-07Easy Install QGIS in Ubuntu 16.04 LTS(Xenial Xerus)
2017-01-06Bucardo problem : Can't locate ExtUtils MakeMaker.pm in @INC when trying to install bucardo
2017-01-05PHP tutorial : Passing PHP variable to Pyton (file.py)
2017-01-05PHP tutorial : run Python from PHP in Ubuntu
2017-01-04PHP problem - imagecreatefrompng error : the localhost page isn't working
2017-01-02PHP problem : mkdir doesn't work using shell_exec()
2016-12-28Codeigniter problem - Blank screen when connect with postgresql
2016-12-27Centos 7 : user is not allowed to run sudo on localhost. This incident will be reported
2016-12-26Highcharts Tutorial : Adding line of highcarts and custom line color
2016-12-23Centos 7 - Run inotify on startup
2016-12-22Codeigniter+Postgresql+Centos: Unable to connect to your database server using the provided settings
2016-12-20Stuck on loading centos linux 7 & get problem 'A start job is running for etc,rc.local'
2016-12-19Install virtualbox on ubuntu 16.04 LTS
2016-12-18How to install Steam in Ubuntu 16.04 and fixing the Steam not opening
2016-12-16Javascript tricks - How to include a JavaScript file in another JavaScript file
2016-12-15Incron Ubuntu - user 'root' is not allowed to use incron



Tags:
apache
www-data
mkdir
shell_exec
exec
create
php
problem
error
folder
permission
denied
browser
ubuntu
linux