By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,664 Members | 1,669 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,664 IT Pros & Developers. It's quick & easy.

Which folders/ files to download from a php site for offline work?

P: n/a
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.
--
V
Sep 20 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a

"V S Rawat" <vs*****@gmail.comwrote in message
news:gb**********@aioe.org...
>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.
--
V
Hi V,
it looks like the site is looking for configuration files, the message
you mention is not a PHP error or warning.
You have to go through the code to see what files it is looking for
and what the installation code is.
What files it needs is totally dependent on how the site is
programmed. No general solution possible.

You could just try copying files and see when it starts to work.
Or start from the other side and copy everything, then delete files
one by one until it stops working.

Good luck,
Richard
Sep 20 '08 #2

P: n/a
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.
Sounds like they might be using a CMS. If so, you'll need to install the
CMS on your system. Some of the data might even be in a SQL database.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Sep 20 '08 #3

P: n/a
r0g
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.
Sep 21 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.