View Single Post
Old 03-16-2012, 10:22 AM  
_Lush_
Confirmed User
 
_Lush_'s Avatar
 
Industry Role:
Join Date: Jul 2005
Location: GDL Jal.
Posts: 536
Wordpress 1 click install problem

I created a php file to unpack a tar file containing wordpress. here is the code below. Problem is after running php file it is not unpacking the files under the user associated with the domain. I can only modify files or folders by logging in as super user. Anybody have better code snippet that will fix this problem.

Code:
<?php
exec('tar -xzf wordpress.tar.gz');
?>
__________________
IcQ 50611033
_Lush_ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote