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



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.
.



Relevant Pages

  • Which folders/ files to download from a php site for offline work?
    ... 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. ... Which minimum folders/ sites I must download to make the site run from localhost. ...
    (comp.lang.php)
  • Re: Which folders/ files to download from a php site for offline work?
    ... localhost php installation, it gave some errors mentioning the file ... Which minimum folders/ sites I must download to make the site run ... there some sure minimum folders/ files that a php installation would ...
    (comp.lang.php)
  • Re: Which folders/ files to download from a php site for offline work?
    ... 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. ... Which minimum folders/ sites I must download to make the site run from localhost. ... you'll need to install the CMS on your system. ...
    (comp.lang.php)
  • Re: File Download from Network Share
    ... How do you want to download this file? ... > I have created common users on both the webserver and the file server. ... > localhost temporary internet files. ...
    (microsoft.public.dotnet.framework.aspnet)
  • how to add a virtual directory in apache with support to php files?
    ... which is the default root directory for localhost, ... pops out the download dialog to download the Welcome.php file. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)

Loading