Web server file question - installation

rayfos

New member
Hi,
First instruction in installing dadabik is to put files under the web server.
I have searched by hard drive and can't find any 'localhost' or any 127.0.0.0 - in order to move any files under it.
Help!

Thanks.

RF
 

alpha2zee

Well-known member
All webservers are set to have a 'root' directory - e.g., for Apache, it is dictated by content in Apache's httpd.conf file. On Mac OS X, the default 'root' path is /Library/WebServer/Documents. Browsing to 'localhost'/127.0.0.1 on the server computer (and, generally speaking, to www.yourdomain.com from elsewhere), one sees files in that 'root' directory.
 

rayfos

New member
alpha2zee,
Your reply was most helpful.
Amazing!
I was able to do everything in the instructions except for the last step!
The last step was to run the file install.php.
I tried ./install.php and was told that I did not have permission. I was su. I chown and chmod 755 and then the permission glitch went away but I still had a problem of a couple of "no such files or directory" on the first two lines and then a "command not found". I looked at the file install.php with a text editor and as near as I can tell the files are all there where mentioned.
It's over my head.
Any other help/suggestions will be appreciated.

Thank you so much.

Ray
 

alpha2zee

Well-known member
Unless you haven't, you should chmod the entire dadabik directory.

Also, make sure that the parameters in config.php, the essential ones at the top, are correctly set. Watch out for missing slashes, commas, quote-marks, etc.

One assumes that you have set the MySQL database with atleast one table.

The 'command not found' error you report seems not to be a dadabik-generated one. Are you trying to execute install.php through some command console? You have to do it through a web browser - localhost (or yourdomain.com)/dadabik/install.php.

I hope this helps!
 

rayfos

New member
No, I had not chmod 755 /dadabik directory. Now I have.
Yes, I did the ./install.php from a console and not from the web browser (Firefox). When I do either just localhost/dadabik/install.php or localhost/dadabik/./install.php I get the same response: What do you want to do with this file? Open it with the default viewer? I guess I do not know how to run a file from the web browser Firefox!
It feels bad to be so ignorant!!

I certainly appreciate your help and patience with newbies!

Thanks,

Ray
 

alpha2zee

Well-known member
Almost always PHP files are accessed through a browser. In a way they are just HTML (webpage) files, but with extra codes.

When one browses, one basically requests and downloads files from a webserver. HTML files are static files like image files, and the server just sends them.

PHP files (and others like CGI, ASP, etc.) are first processed by the server to generate the 'dynamic' webpage file 'on the fly.'

Webservers thus have modules to process such code. The commonly used Apache webserver uses the 'PHP Apache Module.'

Browse to http://localhost/dadabik/index.php. If the install.php is needed, you will br redirected to that page. See what happens.
 

rayfos

New member
Sameo
Sameo
I guess I must really be dense.
Directing the browser to either http://localhost/dadabik/index.php or http://localhost/dadabik/install.php I get the same result - "You have chosen to open index.php or install.php which is a php script from http://localhost" and I am given two choices: open or save. If I open it - I can see it in kwrite. If I save it - it is saved. (1,2,etc).
I guess it is possible that everything is working just fine!
I have not been able to determine or open the one test table I have made in the one database I have created in mysql.
I am not sure what to do from here!

Yes I am using an "Apache server 1.3.33 at localhost port 80."
I am using a Dell8100 with Xandros 3 delux OS.

Appreciate your time and efforts to help me.

Thank you,

Ray
 
Top