var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
chmod / copy / mkdir using php
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..
Have you got php-suexec enabled on your server?
The ultimate multiple server administration software.
*Parallel shell *rm -rf protection *SSH logging*automated password changes*encrypted storage*
-Delivering innovative web hosting solutions
Sorry, didn't read the OP properly, my bad
Last edited by Ore Stone Radio; 09-13-2009 at 08:59 AM.
are you sure you are using the WHM api to create domain?
Originally Posted by fabin
Yes, we are using WHM api for creating domains.
You may want to have a cPanel technical analyst take a look at this with you: http://tickets.cPanel.net/submit
Originally Posted by supportproTech
cPanel Technical Product Specialist
Thanks for all responses.
The issue has been fixed after doing a easy apache + dom xml + php 4. It was previously on php5.
By barleduc in forum Hosting Security and Technology
Last Post: 04-19-2006, 08:07 AM
By slice16 in forum Web Design and Content
Last Post: 02-21-2005, 11:02 AM