PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I am php programmer i would like to create a control panel for my server running on linux and apache . ther are 10 sites running now. I want at lease the below mensioned features.
1. create ftp user name .
2. add domain name and sub domain.
3. create email account .
If any one have any idea about any of these points plese help me .
kettle_drum wrote:All you have to do is use exec() to run system commands to do what you want. Tie this up with a front end and your good to go.
.
when i use exe() or system() the command is executiing as annonimus user (apache user) . That user dont have the permission to run system level commands . How can i solve this ? I am new in system level programming so any suggestions are welcomes with pleasure.
You might try Webmin http://www.webmin.com. It is a free web-based control panel, is mature, failry secure, and easy to use. And, it's open source so you can see under the hood and look at how they get around some problems that always come up with these web-based sysadmin things (like the Apache user not having any permissions).
Thanks 4 suggestion but iam sorry I want to create my own c-panel because this is my clients requirement .
Thanku u ,
ErichTheWebGuy wrote:You might try Webmin http://www.webmin.com. It is a free web-based control panel, is mature, failry secure, and easy to use. And, it's open source so you can see under the hood and look at how they get around some problems that always come up with these web-based sysadmin things (like the Apache user not having any permissions).