Jump to content

Recommended Posts

have created database/table in php/myadmin which looks exactly like godaddy server i'm used to. then going to local host screen (wamp5 home), in browser file/open/index.php; php scripts are not executing.

 

then i see there's also an sql lite manager--this is a different app than the sql database in php/myadmin (mentioned above) where i set up the database/table. so try to create a database/table in lite manager but no clue about browse/path fields, or even if it's necessary to set up 2 (!) different databases locally.

 

then there's a mysql console that asks for a password. that makes 3 different sql areas. 

 

i'm trying to get a handle on this to see php results without having to upload constantly to godaddy.

 

have clicked on "start all services" in wamp5. the download of wamp5 went fine. it includes:

apache 2.2.6

php 5.2.5

mysql 5.0.45

 

i'm guessing "put online" is not necessary for my local previewing...anyhow putting it online doesn't make a difference concerning php not executing.

 

thanks for help--got advice here to go with a wamp setup for ease.

  • 2 weeks later...

please someone show me the light:

 

1) when i open index.html file (which is in wamp folder)

 

with aestan tray manager, this is in my browser:

 

C:\wamp\files\index.html

 

2 ) when i open index.php (which is in wamp folder) with

 

aestan tray manager, get nothing except another "wamp5

 

server online" clock icon in the lower right of my screen.

 

3) when i click on server icon and bring up "localhost",

 

browser says this: http://localhost/

 

4) when i put http://localhost/index.php in browser, get

 

nothing. when i put http://localhost/index.html in this

 

browser, get "the webpage cannot be found."

 

again the wamp install went off without a hitch. someone

 

please help me set this up. need to execute php from my

 

machine.

thank you

 

 

Why are your saving your files in C:\wamp\files. It should be C:\wamp\www

 

Also your web browser should not read C:\wamp\files\index.html it should be http://localhost <- you have to go to that address first

 

What is aestan tray manager? You should be using the Wamp tray manager.

 

Read the following page on how to use wamp:

http://www.wampserver.com/en/presentation.php

Never just open the file. Go type it in. If you have index.html saved in your www folder. Then type this into your browser:

 

http://localhost/index.html

 

Vary the URL with file differences. Make sure you start wamp.

  • 6 months later...
  • 2 months later...

I am running vista and I'd i installed wamp. Is this the right program i need? I have a php script which requires mysql database. I installed the php files into the wamp/www  folder and goto http://localhost/install/install.php  and the script begins the install process of the script. When it comes to enter database info ie: username, database and password, I get error to connect to sql server. I went to sql lite and it only ask for database name and option to upload sql file. Then i went into myphpadmin. there, i can create a database name and upload sql file but the script is asking for username, databasename and user password for database. There is no where in wanp that i found that allows me to enter this info required by the script to continue install. I tried user name: root and password: root and database name i created in myphpadmin. Nothing worked. Please help with this or sugest a very simple way to install and run scripts on my computer

Your script is most probably using MYSQL for the database.

 

for the mysql username you should use root with no password (these are defaults)

 

You can enter any name for the database. Make sure you have created it first (via phpMyAdmin) though. if its not working get in contact with the author of the script.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.