Jump to content
The Uniform Server Community

Len Jacobson

Member
  • Content Count

    22
  • Joined

  • Last visited

Everything posted by Len Jacobson

  1. On my new laptop (running Windows 10 Pro), I have created a test server. It appears to be working correctly with one exception -- I cannot enter "laptop-test-server" into the URL field of my browser and bring up the test server. When I do that, the browser brings up a search engine that shows me hits for the search on "laptop-test-server". I have modified the 'hosts', 'httpd.conf', and 'httpd-vhosts.conf' files as I have always done. But this time it doesn't work. I have attached the 'hosts' file in its entirety. I have attached just the last section of the 'httpd.conf' file, because the rest of that file is exactly the original content of the file. And I have attached the 'httpd-vhosts.conf' file. Any suggestions will be greatly appreciated. Len Jacobson My_hosts My_httpd.conf My_httpd-vhosts.conf
  2. I have no idea what has happened, but just now I opened up the UniServer control dialog box and clicked once again on "phpMyAdmin". It worked!! I have not made any changes to anything on my new laptop since the last time I clicked on that button and brought up only lines of text (i.e., no nicely windowed 'phpMyadmin'). I fear, however, that the problem may reoccur. If anyone has any ideas, I (and others) would appreciate your thoughts. Len Jacobson
  3. Sudeep, It does appear that I do have the Visual C++ Redistributable file installed. Please see the attached JPEG image from my Control Panel. Len
  4. Sorry to show my ignorance -- what is VC Runtime 32bit? My laptop is a 64-bit computer. Len Jacobson
  5. NEW INFORMATION -- Two New Bits of Information On my old laptop, I had been using UniServerZ 12.2.0. I installed that version on the new laptop and it exhibited the very same problem -- 'phpMyAdmn" won't display nicely formatted. So the issue is not due to something in the newest version of UniServerZ. My new laptop runs Windows 10 Pro, whereas the old laptop ran Windows 10 Home. So I installed the newest version of UniServerZ onto my desktop computer, which is running Windows 10 Pro. That installation of UniServerZ works fine. So the issue is not due to Windows 10 Home vs. Windows 10 Pro For security, I am running Windows Defender Firewall. No other security program. Any suggestions? Len Jacobson
  6. On my old laptop, I had been using UniServerZ 12.2.0. I installed that version on the new laptop and it exhibited the very same problem -- 'phpMyAdmn" won't display nicely formatted. So the problem has got to be caused by my new computer. The one big difference between the two laptops is that old laptop was operating Windows 10 Home and the new one is running Windows 10 Pro. Could that be the cause of the problem? Len Jacobson
  7. I have used UniServer for several years. I just bought a new laptop and am trying unsuccessfully to install the newest version of UniServer -- 14.0.2. After installation, the following pages display properly: localhost Server Console MySQL Console But clicking on phpMyAdmin button causes a display of unformatted PHP code: get(Response::class); /** @var DatabaseInterface $dbi */ $dbi = $containerBuilder->get(DatabaseInterface::class); /** @var HomeController $controller */ $controller = $containerBuilder->get(HomeController::class); if (isset($_REQUEST['ajax_request']) && ! empty($_REQUEST['access_time'])) { exit; } if (isset($_POST['set_theme'])) { $controller->setTheme([ 'set_theme' => $_POST['set_theme'], ]); header('Location: index.php' . Url::getCommonRaw()); } elseif (isset($_POST['collation_connection'])) { $controller->setCollationConnection([ 'collation_connection' => $_POST['collation_connection'], ]); header('Location: index.php' . Url::getCommonRaw()); } elseif (! empty($_REQUEST['db'])) { // See FAQ 1.34 $page = null; if (! empty($_REQUEST['table'])) { $page = Util::getScriptNameForOption( $GLOBALS['cfg']['DefaultTabTable'], 'table' ); } else { $page = Util::getScriptNameForOption( $GLOBALS['cfg']['DefaultTabDatabase'], 'database' ); } include ROOT_PATH . $page; } elseif ($response->isAjax() && ! empty($_REQUEST['recent_table'])) { $response->addJSON($controller->reloadRecentTablesList()); } elseif ($GLOBALS['PMA_Config']->isGitRevision() && isset($_REQUEST['git_revision']) && $response->isAjax() ) { $response->addHTML($controller->gitRevision()); } else { // Handles some variables that may have been sent by the calling script $GLOBALS['db'] = ''; $GLOBALS['table'] = ''; $show_query = '1'; if ($server > 0) { include ROOT_PATH . 'libraries/server_common.inc.php'; } $response->addHTML($controller->index()); } I have tried reinstalling UniServer, but it didn't help. I have never encountered this problem before and would appreciate any suggestions. Thanks much. Len Jacobson
  8. My son came up with the solution. In the 'hosts' file, I needed to have on one line the following: 127.0.0.1 localhost laptop-test-server Previously, I had them on separate lines. To be honest, I don't know why it worked when I put them all on one line, but the bottom line is that that's how I got it to work.
  9. I have not used Uniform Server in a while. I am presently using PHP Version 5.6.19. I have defined a "<Virtual Host>" with the name, "laptop-test-server". It appears to be properly recognized. If I then open a PHP file on the test server with the URL "laptop-test-server/include/somePHPfile.php", I get the following error message: Forbidden You don't have permission to access /include/somePHPfile.php But if I open that same PHP file on the test server with the URL "localhost/include/somePHPfile.php", it works fine. Similarly, if I open it with the URL "127.0.0.1/include/somePHPfile.php", it also works fine. Can someone point me in the direction to fix this problem? Thanks much. Len Jacobson
  10. On previous versions of the Uniform Server, I have had no problem installing and upgrading a package called WHMCS that uses PHP and MySQL. After installing UniServer Zero Version 12.2, I cannot get WHMCS to install/upgrade. It has permission problems. Here is one example of an error that I received: Unable to complete incremental updates: Unable to import the 3.6.2 database file. Unable to import C:\UniServerZ\www\TestServer\events\whmcs\resources\sql\upgrade362.sql: Error on rename of '.\reunions_whmcs\#sql-2f44_3d.frm' to '.\reunions_whmcs\tblaccounts.frm' (Errcode: 13 - Permission denied). My computer is running Windows 10. I would appreciate any ideas to overcome this issue. Thank you. Len Jacobson
  11. Ric, You have answered my two questions perfectly and I thank you!! Regarding the download of ZeroXII_php_5_6_19_g.exe, I didn't know where to find it. You gave me the link to its location and that is what I needed. Again, thank you very much.
  12. I am trying to upgrade my previous version of Uniform Server to UniServer Zero 12.2.0 on my Windows 10 laptop. At present, I have the following two problems: According to 'phpinfo()', the PHP configuration file (php.ini) is located in the C:\Windows directory. But it's not there. Am I expected to create that file and place it in that directory? If so, do I use use the 'php_test.ini' file (or the 'php_development.ini' file or the 'php_production.ini' file) and modify it as I want and save it then as 'php.ini' in the C:\Windows directory? Or do I simply modify one of those three files as needed, leave it in its current directory, and then use the UniController to select the chosen .ini file? UniServer Zero 12.2.0 comes with PHP 7.0 as the default version. I see in the documentation that I can install earlier versions of PHP (e.g., 5.6) and that I should download the desired version(s). And I see the file name of the various earlier versions of PHP (e.g., ZeroXII_php_5_6_x.exe). But nowhere do I see a link to download the needed file(s).I would appreciate help with these two issues. Thank you very much. Len Jacobson
  13. Thank you very much. You solved my issue.
  14. I have UniServer 8.9.2 installed on my Windows 8.1 laptop. I start it by executing "Start_as_program.exe" and it works fine. But I find it curious that when I do start it up with "Start_as_program.exe", the MySQL server starts up automatically, but I have to manually start up the Apache server. Why won't they both start up when I execute "Start_as_program.exe"? Additionally, I really would like both the Apache server and the MySQL server to start automatically whenever I reboot my computer. Is there a way to do that? Thank you. Len Jacobson
  15. I have been happily using the Uniform Server on my Windows 7 laptop for a couple of years. But now that I have installed Version 8.5.4, I have a problem pertaining to the password for user 'root' on the MySQL server. Prior to using this version, there was no default password for 'root'. I was perfectly content with having no password for 'root' because I use the Uniform Server solely as a test server on my laptop. I am not concerned about security in that environment. So now I see that after installing Uniform Server, the user 'root' has a password of 'root'. If I try to delete that password, I lose the ability to get into 'phpMyAdmin', and still my PHP code (that does not reference a password for 'root') fails when trying to connect to the MySQL server. The "Change Password" utility (that comes up when clicking on 1 and then "Server Configuration" and then "MySQL") will not allow me to enter nothing for the password. Can anyone suggest a way to allow no password for the user 'root'?
  16. BobS, I am using the latest version of WHMCS. The reason I want to use it on the Uniform Server is to test our coding that makes use of WHMCS. You are probably right, that installing an older version of the Uniform Server would fix this problem. But I want to use the latest of both WHMCS and the latest Uniform Server.n Thank you for trying to help.
  17. I am using a third-party product (WHMCS) that requires the PHP function 'dl()', which dynamically loads extensions. In the PHP manual, there is a message that says "This function has been removed from some SAPIs in PHP 5.3." When I tried to execute the installation code of WHMCS, it failed with a message: "Call to undefined function dl() in ...". In the 'php.ini' file, I saw that the parameter, 'enable_dl', is 'Off'. I changed that to 'On', but still the 'dl()' function is undefined. Can someone please help me past this problem? Thank you.
  18. I have a line of code that invokes the 'system()' function, and the command passed to the 'system()' function is the 'tar' command. This code works perfectly when I run it on my (Linux) production server; when I run it on the 'Uniform Server', I get an empty file as its output. Can anyone tell me why this doesn't work and if there is a way to make it work? Thank you very much. (This addendum I am adding several hours later.) My question is ridiculous. I realized shortly after posting my question (when I was no longer at home near my computer) that the 'system()' command can only execute Windows commands. Since 'tar' is not a Windows command, there is no way my code could work on the Uniform Server. Sorry for bothering people with this query.
  19. A friend has suggested totally removing Norton Internet Security, assuming that even though I turned it off it could still be interfering with Uniform Server. To be honest, I'm not sure I want to do that. So I am still stuck.
  20. I am SO sorry that I am not responding to this note until now. Please accept my apologies!! Before resorting to this forum, I did a Google search on the Internet and read that IIS must be installed. So I installed it. It didn't help. Then, when I turned to this forum, I saw entry after entry that said to NOT install IIS. So I removed it. The problem persists. Thank you for trying to help me.
  21. I have been using Uniform Server successfully for about one year. It's loaded on my Windows Vista laptop. It works perfectly. Recently, I had the need to install it on my Windows XP Pro system. I can't get it to start up. In the 'Server_Start.bat' line that brings up 'redirect.html', I see the the blue Uniform Server logo page perfectly. But after one second, when it tries to refresh with 'http://localhost/apanel', I get the '404' error that the page wasn't found. By modifying the 'Server_Start.bat' file so that it stops just after the 'redirect.html' line, I see that if I enter the URL 'http://localhost/apanel' into the browser, it can't find it. And if I enter, instead, 'http://127.0.0.1/apanel', it can't find it, either. The "w:\" drive appears to be alive and well. But for whatever reason, 'localhost' and '127.0.0.1' are not found. Facts: (1) Windows XP Pro (2) Have Norton Internet Security on the machine. Turned off all its protection, but that didn't help. (3) I tried using the 'hosts' file from my Windows Vista system (where Uniform Server is working fine), but that didn't help. (4) I tried a few things I saw in this forum -- still doesn't recognize 'localhost' or '127.0.0.1' Thank you, in advance, for any suggestions.
×
×
  • Create New...