Results 1 to 7 of 7
Thread: chmod / copy / mkdir using php
-
09-13-2009, 01:33 AM #1Disabled
- Join Date
- Aug 2009
- Location
- rules.php
- Posts
- 111
chmod / copy / mkdir using php
Hello,
I get the below error while trying to create a domain on cpanel using php.
========================
Warning: chmod() [function.chmod]: Operation not permitted in test.php on line 149
Warning: copy(rating.php) [function.copy]: failed to open stream: Permission denied in functions.php on line 3552
Warning: copy(productdetails_april30.php) [function.copy]: failed to open stream: Permission denied in functions.php on line 3552
========================
Is there any module missing to allow chmod function via php ?
Any help would be appreciable..
-
09-13-2009, 03:14 AM #2Junior Guru
- Join Date
- Jun 2009
- Location
- Kochi,India
- Posts
- 179
-
09-13-2009, 08:55 AM #3WHT Addict
- Join Date
- Aug 2009
- Location
- UK
- Posts
- 159
Sorry, didn't read the OP properly, my bad
Last edited by Ore Stone Radio; 09-13-2009 at 08:59 AM.
-
09-13-2009, 01:13 PM #4Web Hosting Master
- Join Date
- Mar 2009
- Location
- Gods Own Country
- Posts
- 681
are you sure you are using the WHM api to create domain?
-
09-14-2009, 05:03 AM #5Disabled
- Join Date
- Aug 2009
- Location
- rules.php
- Posts
- 111
-
09-16-2009, 04:46 PM #6Eternal Member
- Join Date
- Nov 2006
- Location
- Houston, TX
- Posts
- 565
You may want to have a cPanel technical analyst take a look at this with you: http://tickets.cPanel.net/submit
David Grega
cPanel Technical Product Specialist
-
09-17-2009, 03:04 AM #7Disabled
- Join Date
- Aug 2009
- Location
- rules.php
- Posts
- 111
Hello,
Thanks for all responses.
The issue has been fixed after doing a easy apache + dom xml + php 4. It was previously on php5.
Similar Threads
-
chmod 700 binaries like ls, cp, mkdir ?
By barleduc in forum Hosting Security and TechnologyReplies: 7Last Post: 04-19-2006, 08:07 AM -
Chmod + Mkdir
By slice16 in forum Web Design and ContentReplies: 2Last Post: 02-21-2005, 11:02 AM