Re: Which folders/ files to download from a php site for offline work?
- From: r0g <aioe.org@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 20 Sep 2008 21:39:06 -0400
V S Rawat wrote:
I have to work on a website (in php).
I downloaded index.php and when I loaded it through my wamp localhost
php installation, it gave some errors mentioning the file names, from
includes\ so I downloaded them.
now it is just saying
"No configuration file found and no installation code available.
Exiting..."
It is not even telling the filenames it needs to run that site offline.
Which minimum folders/ sites I must download to make the site run from
localhost.
of course it would depend on how the site is coded, but still, are there
some sure minimum folders/ files that a php installation would keep -
like cgi-bin/ cgi-sys are mandatory for a perl based work.
Doesn't matter if pics/ graphics/ database are not there. I just want to
run the index.php from localhost.
Thanks.
On many site's you won't be able to 'run the index.php' without the
database and/or some other config files so get _all_ of the files if
that's practical, and a dump of the database behind it. If you then have
any absolute path issues you can use hosts/mod_rewrite to make it think
it's at home, or better still rewrite the absolute stuff to be relative.
Roger.
.
- References:
- Prev by Date: Re: Blogform Digital Magazines, Inc. is hiring a PHP Developer/Administrator
- Next by Date: Re: Easy (?) PHP/MySQL question
- Previous by thread: Re: Which folders/ files to download from a php site for offline work?
- Next by thread: Re: Newbie problem: PHP script not running in browser
- Index(es):
Relevant Pages
|
Loading