FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


php shell calls and wordpress installation





cafefort
Hi folks Smile

I have a problem, here's the story if you ever can help me
I'll be happy.

Well, My poor FTP connexion doesn't allow me to upload all the 303 files of wordpress, so I uploaded the whole archive at once and written a script to
uncompress it in the server side. Here's how it goes:

script uncompress.php
----------------------------

Code:
<?php
$output = shell_exec('tar -zxvf wordpress.tar.gz');
echo "<pre>$output</pre>";
echo "end";
?>


When I execute it, it shows me all the content of the wordpress.tar.gz
archive but it doesn't actually decompress in the current directory (my public_html)

Can anybody please tell me what's going wrong?

I badly need it to work Smile

Thanks Smile
xorcist
What directory does it put the files in? mabye you can change the script to put the files in the public_html directory.
cafefort
Normally It should put them in the current directory.

Because when I run these commands in linux it does it in the currect directory.
The problem is that it just shows me the files, it lists them withour really
copying them Sad

You may take a look:
http://www.reussir-sur-internet.com/unzip2.php

Thanks in advance Smile
yupeng
I don't have much PHP knowledge,but wish your problem will be figure out as soon as possilbe
cafefort
Yupeng and xorcist thanks for your help and interrest Smile

Well, at the end I gived it up and used this service http://web2ftp.com it took a while, but at least I didn't have to watch for unsend or badly sent files to send them again.
303 files! wow! Smile

Thanks again and have a nice day
Related topics
Fix for deleting files/directories owned by apache
Problem during PhpBB installation, please help
php, css question (wordpress)
Preventing bad PHP script calls
Install A php script And wordpress
How do I install Wordpress?
Cours sur les open sources
How to upgrading WordPress?
mod_security reports WordPress as SQL injection attack!
do frihost support wordpress installation?
Installation of Joomla/Wordpress/Phpbb
how to install word press
Best WordPress Plugins for unfair advantage over others
Need a PHP expert or Wordpress wizard
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.