contact77 Posted April 22, 2006 Report Share Posted April 22, 2006 Hi. I'm new to programming or at least PHP. I've loaded Uniserver 3.2a previously and now 3.3. I'm having a few problems. The main problem I'm having is connecting to MySQL. I'm also still getting the 3.2a main page when I go to localhost/a/. Well actually I was looking for the home page on localhost/ and I got the old 3.2a page showing the "here has to be your server" page with the reference to the 3.2a admin page and that was how I discovered the 3.2a admin page was still there. If it isn't a problem my main concern is connecting to MySQL. I've tried the PHP manual examples and I keep getting "Call to undefined function mysql_connect()". I haven't made any config changes. Am I suppose too? I basically am running the program as was downloaded from your sight. I'm not sure if I'm suppose to change anything or do anything to Windows as it mentioned something in the PHP manual about setting the path to the PHP directory so Windows could access the mysql dll. Do you have a clue as to what my problem could be? Please advise. Thanks.PS I'm using Windows 2006 v3 Quote Link to comment Share on other sites More sharing options...
megan Posted April 22, 2006 Report Share Posted April 22, 2006 Hello - in version 3.3 you go to uniform server new admin panel by going to localhost/apanel/ and then in the left menu you should be able to turn on mysql and your scripts should then be able to connect. hth ~ megan Quote Link to comment Share on other sites More sharing options...
contact77 Posted April 22, 2006 Author Report Share Posted April 22, 2006 Hello - in version 3.3 you go to uniform server new admin panel by going to localhost/apanel/ and then in the left menu you should be able to turn on mysql and your scripts should then be able to connect. hth ~ megan2927[/snapback] Thanks. I am aware of that. I have been able to turn on MySQL and have run PHP scripts from the server. The problem is that I don't connect when I run a PHP mysql_connect function. For the 3.2a problem I just wondered why I can still go to the 3.2a window when I'm using 3.3 and have deleted 3.2a from my computer? Quote Link to comment Share on other sites More sharing options...
megan Posted April 22, 2006 Report Share Posted April 22, 2006 ok then if it is not simple and straightforward you will need one of the more knowledgeable people to help you - the only other thing I can think of is when the new package was installed it would have the default password & user id for mysql and if you are using different login and password, you would have to change the defaults to those. I only thought you didn't know about the new apanel url because you did not mention it in your post sorry not to be more help, megan Thanks. I am aware of that. I have been able to turn on MySQL and have run PHP scripts from the server. The problem is that I don't connect when I run a PHP mysql_connect function. For the 3.2a problem I just wondered why I can still go to the 3.2a window when I'm using 3.3 and have deleted 3.2a from my computer?2928[/snapback] Quote Link to comment Share on other sites More sharing options...
contact77 Posted April 22, 2006 Author Report Share Posted April 22, 2006 ok then if it is not simple and straightforward you will need one of the more knowledgeable people to help you - the only other thing I can think of is when the new package was installed it would have the default password & user id for mysql and if you are using different login and password, you would have to change the defaults to those. I only thought you didn't know about the new apanel url because you did not mention it in your post sorry not to be more help, megan2929[/snapback] OK, thanks for replying so quickly. I have tried the default username password and set up my own username password as well but still didn't work? Maybe I'm getting the syntax wrong but I've tried it several ways? Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted April 23, 2006 Report Share Posted April 23, 2006 Ok.. a> make sure you do not have a file called LIBMYSQL.DLL in the C:/Windows or C:/Widows/System32 folder. Also, make sure your code is correct and you do not have a bug in it. Delete 3.2 and just use 3.3. You do not need 3.2.... Thanks Megan Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
contact77 Posted April 23, 2006 Author Report Share Posted April 23, 2006 Ok.. a> make sure you do not have a file called LIBMYSQL.DLL in the C:/Windows or C:/Widows/System32 folder. Also, make sure your code is correct and you do not have a bug in it. Delete 3.2 and just use 3.3. You do not need 3.2.... Thanks Megan2938[/snapback]Thank you for the input. OK. It's working. I don't know what happened as I didn't do anything except to check one last time to make sure my code didn't work before I sent it to you to check and lo and behold it worked(?) OK. So as for the 3.2 I already deleted it but I still can get the admin page for it when I go to http://localhost/a/. Of course none of the links work but the page still exist somehow. This may be a dumb question but where is my browser getting the info from for that page if I deleted it? Just curious. It's not a problem and I can live with it but if there is a way to get rid of it can you let me know?Thanks so much. Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted April 24, 2006 Report Share Posted April 24, 2006 Your browser might have cached it... Just restart the PC or delete old cached files. Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
contact77 Posted April 24, 2006 Author Report Share Posted April 24, 2006 Your browser might have cached it... Just restart the PC or delete old cached files.2940[/snapback]Yes that was it. Thanks for the help. Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted April 24, 2006 Report Share Posted April 24, 2006 No problem Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment 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.