FRIHOSTFORUMSSEARCHFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a 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

do frihost support wordpress installation?
Install A php script And wordpress
How to upgrading WordPress?
mod_security reports WordPress as SQL injection attack!
Installation of Joomla/Wordpress/Phpbb

Fix for deleting files/directories owned by apache
Problem during PhpBB installation, please help
php, css question (wordpress)
Preventing bad PHP script calls
How do I install Wordpress?

Cours sur les open sources
How to install Wordpress on your web server ?
PHP Security problems with latest frihost changes
1000+ Frih$ - Php Forum Points Project
Wordpress stops posting, get sent to the front page.
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

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