I'm looking for some help regarding an issue we are having.
We have a WHM server with an active domain account.
In the domain account, there is a PHP script in the root directory that performs certain tasks BUT, when it gets to running the shell script (using shell_exec), i am getting a 500 Internal Server Error. I checked apache logs and it seems to be a permission error. The WHM server is running SUPHP so the owner of the folders/files is the Cpanel User. All folders have permissions set to the Cpanel User. If i try to run the shell script using the command:
shell_exec('./dir1/dir2/dir3/[login to view URL]');
I get this error:
sh: /home/cPanelUser/public_html/dir1/dir2/dir3/[login to view URL]: Permission denied
If i run the script from the script root directory, it works:
shell_exec('./[login to view URL]');
Looking for someone to help with this issue and fix it.
Dear sir, I will complete your project asap, LIFETIME error free guarantee and provide ONE YEAR support... I have gone through your outsourced requirement "Apache Permission Help with PHP Script" and have analysed that I have right credentials (Apache, Linux, PHP) to execute your esteemed project. You will never go wrong choosing me :)
Certified Linux System Administrator and WHM/cPanel expert ready to work. I can start right away.
Kindly check my freelancer.com customer reviews, you will find I have done system admin and cPanel projects multiple times before.
Let me know if you have any questions or need further help.
Regards,
Nick.
Hi I have not enought Ranking because I just opened my Freelancer account today.
I think I can help you fix that.
Let me know If can help.
1) I will check what is happening in the server that is reporting that Bug/Error.
2) Try to solve the issue soon as possible.
That is all I'm going to do. Now I will write BLANK lines to proceed Submit Proposal.
I have designed ,developed and maintain more than 200 database and servers as of today. I have great expertise in ORACLE ,MySql , liniux and unix . I will strictly adhere to the timeline and can start immediately. Please let me know when to start. Since I have to build reputation on Freelancer, we are providing services at throw away prices.