![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Jul 2005
Location: GDL Jal.
Posts: 536
|
trying to upload and unpack tar file in one instance over many different domains.
thought it would be faster |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Just Doing My Own Thing
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,036
|
I do it with the file Manager in CPanel....
__________________
- Chaturbate Script - https://gfy.com/fucking-around-and-b...er-issues.html - Now supports White Labels |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Jul 2005
Location: GDL Jal.
Posts: 536
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: Jun 2005
Location: EU
Posts: 278
|
Quote:
You need after that to chowm files and dirs back to user chown -R user:user /home/path_to_user_account/path_to_wp_folder I'm not expert for php but I doubt php can do it. You need to issue that command as super user for every instance you unpacked or make shell script for it
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,220
|
if you have subversion installed you could just issue the command
Code:
svn co http://core.svn.wordpress.org/tags/3.3.1 .
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
|
hosting with cPanel real 1click install solution...
__________________
Make a bank with Chaturbate - the best selling webcam program ![]() ![]() ![]() Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!! PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email: ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |