-
Posts
1,516 -
Joined
-
Last visited
Everything posted by Ric
-
This page is worth a read: http://wiki.uniformserver.com/index.php/5....o:_Introduction All the best Ric
-
Note: Current version of Campsite 3.3.4 is not compatible with PHP 5.3.* Hence you will need to install on a version of Uniform Server that uses PHP 5.2.* For example Uniform Server 5.5a-Nano uses PHP 5.2.11 All the best Ric
-
Try replacing define('DB_HOST', 'localhost'); With define('DB_HOST', '127.0.0.1'); All the best Ric
-
Well my tenure of Uniform Server is over. Olajide is back in the drivers seat. Yep! Feb was the dead line. I wish everyone all the best. I will remain an active member on the forum. Regards Ric PS Will publish 5.6 when it’s ready
-
Thanks for the update. Always worth posting if an issue has been resolved. All the best Ric
-
There is nothing special about CLI once you have extracted Uniform server to a folder you already have it. The error message from KalturaCE means it cannot find the executable. If you are not going to move the servers set the Windows path as follows: I will assume the path to php5ts.dll is C:\Nano_5_5\UniServer\usr\local\php (Substitute your real path) also assume you are using XP 1] Click Start > Click Control Panel double click on System (icon) This opens the System Properties window 2] Click on Advanced tab 3] Click 'Environment Variables' button Opens 'Environment Variables' window 4] In the 'System Variables' text box (bottom of window) 5] Scroll to Variable “Path” 6] Highlight it (Left mouse click) then click Edit button Opens the Edit system variables pop-up 7] Click in the “Variables Values” text box 8] Using right arrow key navigate to end of this text box 9] Enter ';' followed by your PHP directory for example: ;C:\Nano_5_5\UniServer\usr\local\php 10] Click OK and restart your computer All the best Ric
-
WinBinder plugin released Well this year it would seem we have stopped working on US. Truth is we are waiting for PHP 5.3.2 However it does give us an opportunity to suggest where US is going. Last year core control architecture was changed from Perl to PHP CLI. Real significance of that change you can create your own Uniform Server controller. For web site design most members will be familiar with PHP however that talent can be used for designing Windows application. To achieve this the WinBinder PHP module is ideal. Although the core has remained unchanged the open source community is actively supporting it. Two members of the WinBinder project have kindly allowed their material to be published for Uniform Server tutorials and inclusion in any associated downloads. Alec Gorge – Contributed php_winbinder.dll binaries Andrew Fitzgerald - Contributed PHC-Win Without these contributions neither the tutorials or downloads would have been possible hence my personal thanks to these two chaps for making it possible. Uniform Server downloads use WinBinder-0.46.0 this has been greatly modified retaining its excellent documentation and examples. PHP core and appropriate binaries added to produce a fully portable version that runs straight out of the box. Read the Wiki support material first PHP WinBinder: Introduction PHP WinBinder 2: Introduction Choose a download that suits your needs from SourceForge. Downloads Note: Tutorials assume no knowledge of Windows application design. PHP and WinBinder allow you to produce powerful Windows applications. Regards, The Uniform Server Development Team
-
Very strange! Have you tried clearing your browser cache? All the best Ric
-
You have not stated which version of Uniform Server I will assume 5.5 Go to folder UniServer\a_diagnostic and read file Read_me.txt Run the tests; see if they highlight any issues. Do you get any response if you type http://127.0.0.1/ into a browser? All the best Ric
-
I don’t think that’s possible. A USB drive letter can change depending in what order you connect USB devices. If you want to use existing databases on your PC and have a separate database on your USB stick. You could try the following compromise: Copy Uniform server to your USB Stick. Run the servers. Run move servers once (this changes the ports) Install your database The application that accesses this database requires its MySQL port changing from 3306 to 3307. Don’t know if that helps with what you are trying to do. All the best Ric
-
There is a bug in 5.3.1 PhpMyAdmin works because it uses 127.0.0.1 instead of localhost it also uses extension mysqli I think the bug ignores localhost and tries to connect to the MySQL server using IPV6. Change your test code to <?php error_reporting(0); $connect = mysql_connect("127.0.0.1:3306", "root", "root"); $connect; echo "Connection was "; if (!$connect) { echo "not"; } echo " successful."; ?> Just wondering it that works. I would be interested to see if 5.6 beta works? It uses 5.3.2RC1, which may have fixed this bug. All the best Ric
-
It may be worth trying a pre-configured plugin Check out this page on Source Forge All the best Ric
-
I do not understand the issue. Hay that’s me, what password are you referring to? All the best Ric
-
You do not mention which version of US you are using. I assume 5-series Errors will be logged to file: UniServer\usr\local\apache2\logs\error.log This is by default because US is enabled for production. To change this click on UniTray Select Advanced > php.ini switch to Development Restart servers, errors will now show in browser. All the best Ric
-
Does the latest version of Uniform Server support rewrite?
Ric replied to xeoshow's topic in Uniform Server - Windows
Well! Its been enabled by default since 3.5 I think! Certainly 4 and 5 series have it enabled by default. All the best Ric -
Well! That’s a blinder; your servers are obviously working. The only thing that springs to mind is the “host” file or lack of or lack of an entry. Try typing this into a browser http://127.0.0.1/ What result do you get? All the best Ric
-
You are doing nothing wrong, as you have observed shebangs are and need to be different. This page is worth a read: http://wiki.uniformserver.com/index.php/5.0-Nano:_Perl All the best Ric
-
This error message "The webpage cannot be found" indicates you have the servers running. However the cause of the error message “I installed Joomla by copying the download into www” you should have copied the file to folder UniServer and extracted from there. Terminology: “-two modes either as a standard program or service (I assume service means actually operating as a website and program means used in developing a website, but am not sure.)” standard program - When you start your PC you must manually start the servers. service - When you start your PC servers are automatically started. If your servers are to be run 24/7 running as a service will allow the servers to automatically start after a power failure (assuming your PC does not die after such an event). Installation Step-by-step guide 1] Create a new folder on C drive named server – can be any name, must not contain spaces. 2] Download UniServer5_5a.exe and save to the above folder C:\server (Note this server version uses PHP 5.2.12 ) 3] Double click on UniServer5_5a.exe this extracts the server. 4] A new folder UniServer is created containing the servers. 5] Open folder C:\server\UniServer double click on Start.exe this starts UniTray (A tray icon is created blue background white digit one) 6] Left mouse click on UniTray top two-menu items start and stop the servers. 7] Start servers (first menu item) if challenged by your firewall allow access. 8] Your browser will automatically open and display Uniform Server’s initial page. 9] Stop servers using UniTray (second menu item) 10] Close UniTray (last menu item Exit) 11] Download Joomla plugin file V55_Joomla_1_5_15a.exe save to folder C:\server\UniServer 12] Double click on V55_Joomla_1_5_15a.exe this extracts the Joomla application. 13] Confirm this folder has been created C:\server\UniServer\www\joomla 14] Start UniTray (5) start servers (6,7) 15] Type following into browser http://localhost/joomla/ 16] Initial Joomla page displayed. “Maybe if we had a writer from Computers for Dummies rewrite the instructions it might help me.” I agree. ”-Under Download there is a reference to different version of PHP but I don't know if there is a preferred one” UniServer5_5a.exe with PHP 5.2.12 is preferable, majority of older applications should run under this version of PHP. Some applications are still not PHP 5.3 compliant. “The Server Status reports that that Apache SSL Server is disabled but Apache is running and set up as a standard programme” Server status provides an overview of the server’s functionality. Apache SSL Server is disabled is referring to a feature of the server that uses a secure socket layer this encrypts data over the Internet. No need to worry about this. Run as a service. 1] Open folder C:\server\UniServer double click on Start.exe this starts UniTray (A tray icon is created blue background white digit one) 2] Right mouse click on UniTray click top menu item install and run all services 3] If challenged by your firewall allow access. 4] Your browser will automatically open and display Uniform Server’s initial page. 5] Close UniTray: Either left or right mouse click to display menu click last menu item Exit. Next time you start your PC the servers will automatically run (no need to start UniTray). Your browser will not automatically open (browser is a standard program) hence you manually start this. Type following into your browser http://localhost/joomla/ displays your Joomla site Uninstall service. If you want to remove the server or install a new version you must uninstall the services first. 1] Open folder C:\server\UniServer double click on Start.exe this starts UniTray (A tray icon is created blue background white digit one) 2] Right mouse click on UniTray click second menu item stop and remove all services 3] Close UniTray: Either left or right mouse click to display menu click last menu item Exit. Remove/delete server First stop servers or uninstall services. Delete folder C:\server (or whatever you named it) I hope the above helps, have a play, if you break the servers just delete the folder and start again. All the best Ric
-
UniServer 5.6-Nano Beta 1 Changes - Disabled eAccelerator until PHP 5.3.2 repleased - Updated PHP to 5.3.2RC1 - UniTray bug fix This release of Uniform Server is purely to give all users a chance of running code with PHP 5.3.2RC1 My personal opinion! This version of PHP is a production candidate. Hence if applications throw errors when US is switched to development mode those issues need to be addressed and resolved. That said if an application uses depreciated commands with no errors it is probably usable. Again a personal opinion; always test before deploying. Download: UniServer 5.6-Nano I think 2010 will be interesting I will be maintaining V4 and V5. My caretaker roll will be over and Olajide will return after a well-deserved break. Hence I thank Olajide for allowing such an unrestrictive privilege. All the best Ric
-
Using UniServer with a separate HTTP server
Ric replied to Drakonas's topic in Uniform Server - Windows
Both XAMPP and Uniform Server tightly integrate their components to offer a complete working package. This means you will have problems substituting the Apache server. However that said if you are using NetworkActiv Web Server as your main server have you considered using Uniform Server or XAMPP as a backend server. That said if NetworkActiv Web Server meets your requirements why are you attempting to use either XAMPP or Uniform Server? I have read you post several times and think I may have missed something fundemtal. All the best Ric -
No the V5 series was specifically designed to remove the requirement for a virtual drive. The new architecture offers more flexibility and controllability. True however these absolute paths are confined to an applications configuration file, which requires a small tweak for portability. See Wiki for application examples The V4 series is not dead current versions are 4.5-Mona and 4.5a-Mona This Wiki page provides an overview of current releases: All the best Ric
-
To achieve what you want requires no PHP coding just standard links I will assume: 1] The folder-image you are using is named folder.gif and you have placed it in folder UniServer\www\images 2] Also you have created three folders for your sites UniServer\www\site1 UniServer\www\site2 UniServer\www\site3 Edit file UniServer\www\index.php Just above this line: The Uniform Server is a WAMP package……. Add the following code: <br> <div align="center"> <img src="images/folder.gif" align=ABSMIDDLE alt="site1" /><a href="site1/"> Site1 </a> <img src="images/folder.gif" align=ABSMIDDLE alt="site2" /><a href="site2/"> Site2 </a> <img src="images/folder.gif" align=ABSMIDDLE alt="site3" /><a href="site3/"> Site3 </a> </div> <br> Each link points to a site folder. When clicked looks for a index page in the following order index.html index.shtml index.html.var index.htm index.php3 index.php index.pl index.cgi and displays the first one found. I assume each of your sites will have either index.html or index.htm Note: If you do not wish to use UniServer\www\index.php you can create your own index.html file in folder UniServer\www this will override index.php Include a block similar to the above to point to your three sites. This is correct operation; it opens an index page in root folder WWW (page displayed defined by order as explained above) Yes you can please read UniServer\docs\LICENSE.txt for restrictions. All the best Ric
-
I am not sure if I understand the problem! However the following two options may be appropriate: Option 1: With the exception of file .htaccess delete all files and folders in folder UniServer\www Now create folders to house your sites in folder UniServer\www For example two sites fred1 and fred2 would give UniServer\www\fred1 UniServer\www\fred2 Add your sites to these folders. (fred1 and fred2 are effectively your site root folders) Start the servers type http://localhost/ displays an index page listing folders fred1 and fred2 these are links that will take you to your sites. The above meets your requirements however is far from ideal Option 2: For this option I will assume a fresh install of Uniform Server. Lets assume you have two domains fred1.net and fred2.com their corresponding sites will be saved in folders UniServer\www\fred1 and UniServer\www\fred2 respectively (folders can have any name you like). 1] Start servers 2] Run Apanel 3] Left menu, under Configurations click link "Admin Virtual Host" 4] Name text box enter: fred1.net 5] Path to DocumentRoot text box: This is automatically filled in with the path to folder www. At the end of this add folder fred1 will look similar to this: C:/test/UniServer/www/fred1 6] Click Create Vhost (creates a Vhost entry in Apache’s configuration file and a new folder fred1 in folder C:/test/UniServer/www) Repeat steps 3,4 and 5 for next site. Note: Sites links are added to the top of this page after restarting servers you can use these to view your sites. However when the servers are started you want an index page with site links. Create a new file named index.html in folder UniServer\www with the following content: Index Indexfred1 fred2 Copy or create your sits in folders fred1 and fred2 Restart servers and check index page links functions. Additional information can be found on the Wiki: Virtual Hosting: Name based If you want a fully portable version check out this page: UniServer USB: UniServer USB V55 All the best Ric
-
No need to apologise we have all been down similar paths. Anyway thanks for taking time to post, always nice to know what resolved a problem and it also helps other users. All the best Ric
-
The following statement was a little premature "This approach allows you to test your code on PHP version 5.2.12 and have the capability of installing all 5.5-Nano plugins." All plugin applications were modified for portability unfortunately used the magic constant __DIR__ this is specific to PHP 5.3.* and not supported by PHP 5.2.12 To address this all plugin applications have been updated. Magic constant __DIR__ now replaced with __FILE__ in addition MySQL port tracking has been added. Also taken the opportunity where appropriate to upgrade to latest version of each application. Current line up as follows: Drupal 6.15 Joomla 1.5.15 MediaWiki 1.15.1 Moodle Moodle 1.9.7+ WordPress 2.9 Xoops 2.4.2 Sourceforge Plugin download Other plugins are available for the 5-Series 5.0-Nano main Wiki page now contains a compatibility table. The two parallel versions V5.5 and V5.5a are now compatible in terms of plugins. You now have a choice of testing with PHP 5.3.* or PHP 5.2.* It looks like PHP 5.3.2 although in development will be a production version. At the next development release perhaps a corresponding development release of US! Regards, The Uniform Server Development Team