Wormy Posted July 16, 2005 Report Share Posted July 16, 2005 Hi, I love the idea of UniServer, and it seems like it should be easy to use and such. I was hoping to use it for testing my php files before uploading them to my webserver, but it doesnt seem to work. After opening start.bat (turning the server on) everytime I try to open a .php file (using Internet Explorer) it does absolutely nothing. I can double click the .php file a hundred times and not a single Internet Explorer window will open. More so, when I attempt to navagate to a local .php page from an html, instead of loading the php page as it should, it asks me if I want to save the .php to my computer or open it immediately (the typical response if you are downloading an exe, zip, ect). UniServer seemingly works- I can navagate http://localhost.a- Including the .cgi pages it links to. In fact, it will even open the test.php page that is installed with UniServer (it will only open via link from a html page), however when I put another php page in that same exact folder, it refuses to open. I hope someone can shed some light on the topic, and maybe this will also help:http://xanthians.com/upload/05/i_hate_local_servers.jpg In that picture you might notice the HTML uses a different icon than the PHP files, despite the fact that they both use the same program to open. Quote Link to comment Share on other sites More sharing options...
elyk Posted July 16, 2005 Report Share Posted July 16, 2005 You cannot open php files by double-clicking them or by navigating to them through w:/www or uniformserverfolder/www. You must type in localhost/fileinwww.php. Otherwise, the server does not know that you want it to parse the php file. Try going to http://localhost/testingphp.php and tell me what that gives you. Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted July 16, 2005 Report Share Posted July 16, 2005 Just as elky said, you have to put the php files in W:/www and then navigate to it through http://localhost/blah.php You do not just launch it anywhere.... you must be new to this Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
The Gadget Posted October 2, 2005 Report Share Posted October 2, 2005 Just as elky said, you have to put the php files in W:/www and then navigate to it through http://localhost/blah.php You do not just launch it anywhere.... you must be new to this 1077[/snapback] just tried this and still no joy..Please can you help me, Im a newbie to this.It seems great softare if i cn get it to run..Hope someone can help mePaul Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted October 2, 2005 Report Share Posted October 2, 2005 After starting Start.bat Go to http://localhost and then enter the address. I believe you are using C:/blah/blah/ if thats the address on IE then it wont work. It needs to be http://localhost/ Example, in IE the address should say http://localhost/testingphp.php for the testingphp.php file i see there. BTW: Are you the same person as the on who posted the topic? or is your own problem the same? Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
copper Posted December 11, 2005 Report Share Posted December 11, 2005 I too am having problems.. I can go to http://localhost/a/ and get the Uniform Server 3.2a running then I go to Run MySQL Server. I can see W running in My Computer. I can even go to the W:\www\index.html and the W:\www\test.php but when I go to http://localhost/install.php I get an error message(You are not authorized to view this page). I even tried W:\www\install.php but that opens dreamweaver. I read where that doesnt work, but I tried it. I created a db and made sure the config.php has the right $dbhost = 'localhost'; $dbname = 'MyDB'; $dbuname = 'Myname'; Any help is appreciated in what I am doing wrong.... Copper Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted December 11, 2005 Report Share Posted December 11, 2005 The MySql username/passowrd is 'root' so i am guessing that $dbuname should be root along with the password field. Also make sure you created that database using phpMyAdmin. Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
copper Posted December 12, 2005 Report Share Posted December 12, 2005 Sir, I believe that I did it right. When I created the db I gave it the name of "MyDB" with a user name "Myname" and a password of "Myname". Then I made sure the config.php has the right $dbhost = 'localhost'; $dbname = 'MyDB'; $dbuname = 'Myname'; I then made sure I gave full rights to the root and the DB. So I guess you are saying to make everything "root" and that should fix my problem... Also I did make the DB using phpMyadmin through the Uniform Server. Thanks Copper Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted December 12, 2005 Report Share Posted December 12, 2005 Unless you created that user then you did it wrong. The default username/password is root/root, but you can create yours also.... You dont just give it a username/password, it has to be in the system and have access to that database... If you did create that user, then try using root/root just to test and see... If it is still saying that, take a screenshot of the problem and upload it so we can know which error it is, either from the script or the server itself... Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
empty Posted January 1, 2006 Report Share Posted January 1, 2006 I too am having problems.. I can go to http://localhost/a/ and get the Uniform Server 3.2a running then I go to Run MySQL Server. I can see W running in My Computer. I can even go to the W:\www\index.html and the W:\www\test.php but when I go to http://localhost/install.php I get an error message(You are not authorized to view this page). I even tried W:\www\install.php but that opens dreamweaver. I read where that doesnt work, but I tried it. I created a db and made sure the config.php has the right $dbhost = 'localhost'; $dbname = 'MyDB'; $dbuname = 'Myname'; Any help is appreciated in what I am doing wrong.... Copper2056[/snapback] I have found that if you try to do administrative things from localhost/apanel it won't let you, but you can use 127.0.0.1/apanel and do administrative things. Kind of a pain but everything about uniserver works if you have a little know how and some patience, i originally got up and running in about 1 minute and have been going strong ever since, so thanks to the team for giving me a simple way to manage a WAMP. Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted January 1, 2006 Report Share Posted January 1, 2006 Thanks... PS: please can you shed some light on the administrating things in /apanel/ not working with localhost but works with 127.0.0.1? 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.