-
Posts
1,516 -
Joined
-
Last visited
Everything posted by Ric
-
I ran the above on new versions and could not reproduce this issue. All the best Ric
-
Yep! Uniform Server 4.4-Mona released. All the best Ric
-
Running Joomla from a Lan with Uniform Server
Ric replied to jgolf's topic in Uniform Server - Windows
Strange if its working locally and you have enabled external access in .htaccess your server should be accessible. On the machine running Joomla Run a command prompt and type ipconfig /all Look for Host Name e.g fred123 this should be unique for each machine. Alternatively look for IP Address e.g 192.168.1.6 On other machines now try the following: Type the following into a browser http://fred123/joomla/ Alternatively Type the following into a browser http://192.168.1.6/joomla/ Oops that is what Danny said All the best Ric -
$hosts_sti = $_ENV["windir"]."C:/Windows/system32/drivers/etc/hosts"; Although the above works it will cause problems use the following: $hosts_sti = getenv('windir')."/system32/drivers/etc/hosts"; Alternatively in php.ini Change: variables_order = "GPCS" To: variables_order = "EGPCS" Note: Released versions include the above change. Note: Main components no longer support windows 98SE XP-Home is minimum requirement. All the best Ric
-
Well Ace! No real problems with 5-Nano Beta 3 Thought any issues would be placed here. I will be out of town until the end of September hence will not be able to answerer any problems before then. Hey, it's end of summer time and schools are back. That means I have no problems with holiday traffic. Catch you latter All the best Ric
-
Well it seems beta testers are thin on the ground. Perhaps they follow my philosophy don’t knock it until you have tried it. Then again there are a few exceptions! I like cheese but Well US beta is not that extreme. Al the best Ric
-
An interesting comment “but 4.3 works in any location w/o any tricks” slight of hand it uses a virtual drive. Have you tried V5 Beta3 on a memory stick or running as a service? All the best Ric
-
This public beta is all about testing the new control architecture. Just answered a post where I discovered the concept failed. Intention was to use vanilla PHP no fancy oop’s or version specific code. Well __DIR__ nailed that one. I tend to write most of my verbiage in real time, one UniServer running a Wiki where I write while testing other instances and various aspects of these servers. Generally I have three beta servers running. A friend who is a professional softy could not handle this concept from a hardy. Well if it’s designed you must have confidence in the product, hence run it in real time, if it breaks, you shoot yourself in the foot! That’s a real incentive to get it right. Yep! While writing some martial about cURL, discovered certificate and key generation was a little flaky. Seems the code is dogmatic about, just creating default certificates, shame that. Not a serious issue, personal server still uses encryption these self-signed certificates remain unique, just that you cannot use your real domain. Want a real certificate! Well you cannot use the signing request with these betas. The above issues will be corrected in the next beta release or final release. All the best Ric
-
Yep! That was not unexpected; after all it is a secured University network. At least you have discovered why I like UniServer! Well if you break it, delete and start again. A the best Ric
-
It should not be too difficult try the following: The magic constant __DIR__ is PHP5.3 specific hence replace with dirname(__FILE__) see below 1 Start with Clean copy of 5.3 run it once this rewrites all absolute paths (stop servers and close Unitray) 2 Rename folder UniServer\usr\local\php to UniServer\usr\local php53 need this for reference see step 3 3 Copy php folder from 4.3 to UniServer\usr\local (you now have two folders php and php53) 4 Use something like portable Win Merge compare php.ini’s UniServer\usr\local\php\php.ini UniServer\usr\local\php53\php.ini Where you see an absolute path in php53 copy it across (in other words replace all relative path for absolute paths) these are a minimum include_path user_dir extension_dir upload_tmp_dir soap.wsdl_cache_dir eaccelerator.allowed_admin_path session.save_path 5 Make two copies of php.ini name them php.ini_delvelopment_nano and php.ini_production_nano These are switched in using UniTray and overwrite pnp.ini (provides development and production switching you can change these to meet whatever you need) 6 Edit: UniServer\unicon\main\includes\config.inc.php Replace __DIR__ with dirname(__FILE__) 7) Copy Mona_4_3\UniServer\udrive\usr\local\apache2\bin\libmcrypt.dll To: Nano_5_3\UniServer\udrive\usr\local\apache2\bin\libmcrypt.dll Thats it! Run the servers, the above should give you a starting point. Once you are convinced it works copy folder UniServer to another location run the servers. This just tests rewriting of all paths, note performed once when server moved, hence checks it functions correctly. All the best Ric
-
Check the path to folder UniServer if there are any spaces in folder names, US will fail. This “error message refering to "C:\Documents"” is symptomatic of the above issue. Try extracting US directly to C drive (top level) do not extract to something like “My Documents” “Does it mean nano is no longer portable” Copy folder UniServer and all its content to a USB memory stick (again top level) and try running it. (Note stick must be writable) All the best Ric
-
Well Even do to a lack of responses! I seriously do not believe 5-Nano code is that stable! Hence I published this: http://wiki.uniformserver.com/index.php/Re...ntroduction#top Beta testing is all about finding issues and unexpected combinations of hardware and software. For example add more back-end servers and push US to its limit! Hey! Come to that how many instances of US can you run on a laptop? I have reached five I do not understand the reluctance to give US a good bashing! Neither, the exe or zip installs anything on your PC. To get rid of the annoyance just delete the file you extracted Uniform Server to. I have been asked why so many betas! That flawed me, like do you not want to change it. Which part of it’s your server do you not understand? Well beta 3 is the last attempt to prove the control architecture is a sane way to go. Not a real issue it can be regressed. The above is a serious rant, I was looking at some additional enhancements but because the core is not proven they are no longer worth looking at. I have become despondent; if there is one response I will not publish this. Well I rest my case; Bob Marley said never give up. Ace he also said get together and feel aright. Knocking on doors and waiting in vein! Yep another Bob Marley song that expresses my point, a great artist good at reactions. All the best MPG (Ric)
-
UniServer 5.0-Nano Beta 3 Download: http://sourceforge.net/projects/miniserver/ Support material: http://wiki.uniformserver.com/index.php/5....o:_Introduction AWStats plugin for 5.0-Nano Download: http://sourceforge.net/projects/miniserver...0Pugins/AWStats Support material: http://wiki.uniformserver.com/index.php/V5.0_AWStats Reagrds, The Uniform Server Development Team
-
I have read this post several times; Filezilla (protocol) is a red hearing. I would be looking at a hardware issue just wondering if there is an issue with a network card. “We took a personal computer with Vista and installed the exact same installation of Apache with the exact same configuration and tested it. Everything worked full speed. “ A wild gust, network card firmware and I could be totally wrong. If possible try a new card or alternative card. All the best Ric
-
I have no experience with Oracle or how to configure it with PHP hence will bow out gracefully. All the best Ric
-
I would be most surprised if you were allowed to do this on your University network. For security your internal University network will not be accessible from the Internet. You can allow other users on the internal network access to your server if you provide them either with the name of the PC you are running on or its IP address on the same internal network. I assume all students are allowed Internet access hence an alternative is to run your server as a home web server. Check out this page for details: http://wiki.uniformserver.com/index.php/Ho...ngle_Page_Guide Although it was written for 3.5 problems and issues remain the same. All the best Ric
-
Just wondering if you tested my proposed modifications to CA and if it works. All the best Ric
-
Oops! The above test code was not for SQLite3 hence try this for testing: <?php $db = new SQLite3('test1/mysqlitedb3.db'); $db->exec('CREATE TABLE table_fred (variable_uniserver STRING)'); $db->exec("INSERT INTO table_fred (variable_uniserver) VALUES ('Uniform Server Test')"); $result = $db->query('SELECT variable_uniserver FROM table_fred'); var_dump($result->fetchArray()); ?> Note 1: 'test1/mysqlitedb3.db is either a relative path or absolute path to your database. In this example folder test1 must already exists in folder www Note 2: With development PHP ini switched in First run gives: Result: array(2) { [0]=> string(19) "Uniform Server Test" ["variable_uniserver"]=> string(19) "Uniform Server Test" } Sencond or more runs give: Warning: SQLite3::exec() [sqlite3.exec]: table table_fred already exists in C:\mpg_uniserver_test_well_62g\UniServer\www\db_test_3.php on line 4 array(2) { [0]=> string(19) "Uniform Server Test" ["variable_uniserver"]=> string(19) "Uniform Server Test" } Note 3: With production PHP ini switched in masks the warnings Hence you get only: Result: array(2) { [0]=> string(19) "Uniform Server Test" ["variable_uniserver"]=> string(19) "Uniform Server Test" } All the best Ric
-
Hi Jani, I am not sure if I fully understand the problem. To configure sqlite on Beta 2 1) Copy files php_pdo_sqlite.dll and php_sqlite3.dll from PHP 5.3.0 distribution package to folder UniServer\usr\local\php 2) You need to edit the ini files there are three. Current working one is php.ini this will be overwritten when you use Unitray to switch between production and development. Three files are: UniServer\usr\local\php\php.ini UniServer\usr\local\php\php.ini_delvelopment_nano UniServer\usr\local\php\ php.ini_production_nano In each file locate these two lines: ;extension=php_pdo_sqlite.dll ;extension=php_sqlite3.dll Remove the semi-colon as shown below: extension=php_pdo_sqlite.dll extension=php_sqlite3.dll Note: Do not add your own lines to the file, just uncomment the existing lines. The modules need to be run in the order listed. Restart the servers, run phpinfo() from Apanel and check these three sections are displayed and enabled: pdo_sqlite SQLite sqlite3 I ran a quick test: Created a new folder UniServer\www\test1 Created following script test.php and saved to folder UniServer\www <?php try { /*** connect to SQLite database ***/ $dbh = new PDO("sqlite:test1/database.sdb"); } catch(PDOException $e) { echo $e->getMessage(); } ?> Ran the script by typing http://localhost/test.php All it does is to create an empty database database.sdb in folder test1 Hope the above is of some help. All the best Ric
-
Strange never seen that error before. What you could try is this: 1 ) Delete what you currently have (folder UniServer\plugins\UniServer_CA) 2 ) Install the original plugin (UniServer_CA_1.0.exe) 3 ) Copy msvcr90.dll to folder UniServer\plugins\UniServer_CA\CA 4 ) Inside the above folder create an empty file named openssl.exe.local Run Create_CA.bat check ca.crt is created Run Server.bat check server certificate and key are created. All the best Ric
-
Hi Jani, Thanks for performing the above tests. “Do you think about including this files (needed for https) in next version of UniServer?” I have started on Beta 3 and already included the above. DannyH is in the process of looking at a wider range of OS’s hence may change. “Maybe it will be usefull to have also Restart command for restarting servers (now Start, Stop)? “ It was considered, however UniTray started to grow at an alarming rate hence restart was dropped. That said you could go in and modify UniTray and create your own menu to meet this requirement. Noticed I never answered your original post! Trust you enjoyed beta testing and now have a server you can use. All the best Ric
-
I am assuming V5-Beta Paths: var $log_path = 'F:\\UniServer\\www\\ambasada\\amb\\logs'; var $tmp_path = 'F:\\UniServer\\www\\ ambasada\\amb\\tmp'; Note: The above is not a portable solution. You can leave the lines as is and add a Constructor check out this page: http://wiki.uniformserver.com/index.php/In...ano#Portability MySQL: var $dbtype = 'mysql'; var $host = 'localhost'; var $user = 'root'; var $password = 'root'; var $db = 'vebsajt'; Change default browser: Run Firefox: 1 On the menu bar, click Tools, from the drop-down menu click Options 2 Click Advanced (top right), click General tab 3 Click Check Now (bottom right) 4 Select Yes to set Firefox as your default browser. (IE will not now automatically open) Note: file:///F:/UniServer/www/ambasada/amb/index.php This indicates you opened file index.php directely! To view your site: Start Uniform Server and type the following into Firefox http://localhost/ambasada/amb/index All the best Ric
-
Hi Jani, Again many thanks for your time. I have checked the key-gen binaries (Beta 2) these are dependent on msvcr90.dll Solution is to copy the following files: From folder C:\UniServer\usr\local\apache2\bin openssl.exe ssleay32.dll libeay32.dll zlib1.dll To folder: C:\UniServer_beta_2_ref\UniServer\unicon\key_cert_gen\gen These are dependent on msvcrt.dll I am wondering, on a clean machine does this file exist on a system path? Search the C drive if you find only one instance in apache2\bin you will need to copy it to UniServer\unicon\key_cert_gen\gen Majority of users will not see this problem however on a clean machine it is an issue and requires resolving. All the best Ric
-
Strange! I have just installed Joomla_1.5.14 on 5.0-Nano beta 2 and cannot confirm your findings. http://wiki.uniformserver.com/index.php/In...mla_on_5.0-Nano All the best Ric