Forums WAMPStack

Urgent Help please PHP Install

Subscribe to  Urgent Help please PHP Install 9 post(s), 3 voice(s)

 
Avatar Matt 9 post(s)

I have installed the BitNami WampStack 0.9.3 version and set all passwords and all applications appear to be fine under Windows.I have carried out the tests as directed forPHP and the PHPMyAdmin and both are working. But i am still not getting data passing from the MYsql databse to the web form.

I am wondering even though the install went fine do i have to do anything else within the PHP folder to intsall or configure this application on my PC or does the install that comes with WampStack 0.9.3 do everything i need?

 
Avatar antonio Administrator 508 post(s)

Hi Matt,

I will move the post to the proper subforum

I am still not getting data passing from the MYsql databse to the web form

I’m not sure whether I understand the problem. Could you elaborate a little bit more please?

 
Avatar Matt 9 post(s)

As with any database all the data or records are kept are kept in the back end or in this case the MYSQL database. The front end the web page displays the graphical content all the drop down boxes and fields ect ect. I can view that ok with Apache on my PC BUt the connection to the databse is NOT working so no data is passing through to the web page. I installed the stack as per instructions but being very new to this i am wondering do i have to do anything more with the PHP or the PHPmy admin top get this connection working?
I cant explaine it better than that really!

 
Avatar antonio Administrator 508 post(s)

Sorry, I didn’t make myself clear. What I want to know is the PHP application you’re using that doesn’t connect to the database. I mean, if PHPMyAdmin is working properly, then maybe the problem is in the PHP application or, probably, in its configuration.

 
Avatar Matt 9 post(s)

HI antonio
thanks for your reponse. By the PHP application do you mean the web page where the PHP script resides. Somewhere in the PHP embedded in the HTML of the pages there is a varible that will call to the databse to return its data and thats where i think i have the problem as the PHP admin appears to be working, but its so hard to know exactly where this is falling over this without a lot of experience on PHP; and my background is VB and Access programming

 
Avatar antonio Administrator 508 post(s)

Yeah, that’s what I meant. I don’t have almost any experience with PHP, so I can’t really help you. But here you are some useful links

http://php.net/
http://www.free-php.net/

I hope it helps!

PS: Anyway, if you want to post the code here, maybe a guru will give us both a free lesson in PHP :)

 
Avatar Matt 9 post(s)

Maybe they will :-) many thanks

 
Avatar Bob Kouré 2 post(s)

Hi Antonio,
I don’t claim to be an expert here (I use Postgres rather than MySQL because of licensing issues and am a bit of a rdbms noob) but it sounds as though mysql isn’t installed at all – or isn’t configured.
From your command line try typing
mysql -u root -p
you should get a response – and the prompt should change to
mysql>
try typing
CREATE DATABASE test
the press enter – you should get something like a “query OK” in response
Best,
Bob

 
Avatar antonio Administrator 508 post(s)

Hi Bob,

Matt said that PHPMyAdmin was working okay, that’s why I told him that maybe he had an error in his php code. He never posted it, so we still don’t know if that could be the cause.

Thanks!

Cheers

Forums WAMPStack