Jump to content
The Uniform Server Community

Len Jacobson

Member
  • Content Count

    14
  • Joined

  • Last visited

Everything posted by Len Jacobson

  1. 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.
  2. 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
  3. 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
  4. 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.
  5. 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
  6. Thank you very much. You solved my issue.
  7. 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
  8. 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'?
  9. 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.
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. 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...