paulmo Posted February 2, 2008 Share Posted February 2, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/89058-wamp5php-not-executingdatabase-confusion-help-please/ Share on other sites More sharing options...
wildteen88 Posted February 3, 2008 Share Posted February 3, 2008 How are you executing your php files? Make sure you are saving them in C:\wamp\www (path may differ, however I think its correct) and then going to http://localhost/ in order to run them. Quote Link to comment https://forums.phpfreaks.com/topic/89058-wamp5php-not-executingdatabase-confusion-help-please/#findComment-456750 Share on other sites More sharing options...
paulmo Posted February 13, 2008 Author Share Posted February 13, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/89058-wamp5php-not-executingdatabase-confusion-help-please/#findComment-465437 Share on other sites More sharing options...
wildteen88 Posted February 13, 2008 Share Posted February 13, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/89058-wamp5php-not-executingdatabase-confusion-help-please/#findComment-466086 Share on other sites More sharing options...
GameYin Posted February 14, 2008 Share Posted February 14, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/89058-wamp5php-not-executingdatabase-confusion-help-please/#findComment-466686 Share on other sites More sharing options...
angelfashion Posted September 8, 2008 Share Posted September 8, 2008 it works Quote Link to comment https://forums.phpfreaks.com/topic/89058-wamp5php-not-executingdatabase-confusion-help-please/#findComment-637051 Share on other sites More sharing options...
inventacom Posted November 24, 2008 Share Posted November 24, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/89058-wamp5php-not-executingdatabase-confusion-help-please/#findComment-697940 Share on other sites More sharing options...
wildteen88 Posted November 24, 2008 Share Posted November 24, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/89058-wamp5php-not-executingdatabase-confusion-help-please/#findComment-697962 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.