Jump to content
The Uniform Server Community

Ric

Developer
  • Posts

    1,516
  • Joined

  • Last visited

Everything posted by Ric

  1. This post cannot be displayed because it is in a password protected forum. Enter Password
  2. Are you using 3.3 as a production server if so please make sure you have changed the root password for your MySQL server? Otherwise kiss you server goodbye any one online has access they know the default name and password. However when used, as development servers both 3.3 and 3.4 are secure, no need to change any of the defaults.
  3. You do not need to do anything special just copy the main UniServer folder and all its content to your USB stick and that’s it. Try these pages for a little more detail: http://center.uniformserver.com/virtual_ho...host_pac_4.html http://center.uniformserver.com/us_34/us34_install_2.html It really is that easy
  4. I have just tried your proposed solution and as expected breaks phpMyAdmin. Have tried using phpMyAdmin since making that change? If it has broken phpMyAdmin change the path back to session.save_path = "/tmp" Delete the database that was created and do a fresh install. However before you start the install process copy any old .htaccess file into the folder (smf_1-1-2_install) containing install.php Open the .htaccess file and delete all it’s content now add the following line: php_value session.save_path /tmp/ Save the file and proceed with installation every thing should run smoothly.
  5. Hi Olajide Yep no problem .... done. I have also added a page on UniCenter that guides users through it as an interim solution: http://center.uniformserver.com/us_34/us34...stall_pear.html This is one page from a guide I have just published. The structure I hope will make it easy to convert to 3.5. Not intended for experts, I feel the structure looks right. Well if any one is bored with TV why not be bored even further and read this guide starts at page http://center.uniformserver.com/us_34/us34_intro_1.html Well I am off for a beer catch you latter. All the best Ric
  6. This post cannot be displayed because it is in a password protected forum. Enter Password
  7. For completeness I thought I would mention two other points: 1) At the end of the installation our are recommended to change the path It’s not that clear hence I have included these instructions: Open file php.ini Located *\Uniform Server\udrive\usr\local\php Navigate to line 439 and change it from: include_path = ".;/usr/local/PHP/includes;/usr/local/PHP/pear" To this: include_path = ".;/usr/local/PHP/includes;/usr/local/PHP/pear;/home/admin/www/plugins/pear/PEAR" Restart your server for the changes to take place 2) When downloading pear packages some will exceed the Maximum Script Execute Time of 30s increase this to 180s Change this from Apanel using the PHP configuration link. Restart your server for the changes to take place
  8. Hi Paul I must confess I did not install the full version of pear I excluded MDB2 However when I installed the full version I received two errors messages. The timing error you received, after correcting this I then received a memory size error. I fixed these by doubling the time and memory size not scientific but works. Note after you make the changes restart both your browser and server then try the installation again. 1) Open the file you downloaded: go_pear.php Location: *\Uniform Server\udrive\home\admin\www\plugins\pear Line 264 change 300 to 600 Code snippet: if (!isset($_SESSION['go-pear']) || isset($_GET['restart'])) { $_SESSION['go-pear'] = array( 'http_proxy' => $http_proxy, 'config' => array( 'prefix' => dirname(__FILE__), 'bin_dir' => $bin_dir, 'php_bin' => $php_bin, 'php_dir' => '$prefix/PEAR', 'doc_dir' => $doc_dir, 'data_dir' => $data_dir, 'test_dir' => $test_dir, 'temp_dir' => '$prefix/temp', 'cache_dir' => '$php_dir/cache', 'cache_ttl' => 600, 'webfrontend_file' => '$prefix/index.php', ), 'install_pfc' => true, 'DHTML' => true, ); } 2) From apanel select PHP configuration Change Maximum Memory Amount (MB): from 8M to 16M 3) Restart both browser and UniServer and reinstall go-pear All the best Ric
  9. This post cannot be displayed because it is in a password protected forum. Enter Password
  10. I am not sure if it was the intentional but I believe the go_pear.php file is an old version: Old: Welcome to go-pear 0.5.0! $Id: go-pear,v 1.77 2005/09/15 23:52:42 cellog Exp $ New: Welcome to go-pear 0.6.0! $Id: go-pear,v 1.105 2007/05/25 20:29:54 cellog Exp $ I download a new version from http://go-pear.org/ this is a text file save is as go_pear.php and place it in folder: *Uniform Server\udrive\home\admin\www\plugins\pear Run the server and plugin script; at configuration do not change any parameters just click install. You will receive the following during the install process: Note: I found the link Start Web Frontend is incorrect: http://localhost/apanel/plugins/pear/%5Cindex.php Change it to this: http://localhost/apanel/plugins/pear/index.php It installs I have not had time to check it out. Hope that helps you can test a few function to see if the installation works!
  11. It’s due to short-term memory loss, when that link is clicked the conformation page does not restate or emphasize that message. You could be draconian and do it for them. I would then have a chance of pronouncing your name Orwell. Sorry Olajide I could not resist that, will duck next time I see you with a wet kipper. All the best Ric
  12. Hi Take a look at this section on UniCenter http://center.uniformserver.com/new_users/...sers_index.html Page: Quick PHP is the one you are looking for http://center.uniformserver.com/new_users_...sers_php_1.html With your server running type http://localhost/phpinfo.php That will run your php page All the best Ric
  13. Hi Paul Thanks for the feedback and solution. I trust your server is working fine now. All the best Ric
  14. I am not sure but this link may help! http://center.uniformserver.com/us_34/us34...ms_3.html#cache It may be a new problem if I have time will have a look
  15. Ric

    change ports??

    Shame on me I will publish what I have late tomorrow warts and all. I am slowly going through what is generally being experienced by most users. My problem is going in and hacking code to find interim solutions. Trouble is I tend to ramble on so much and my keyboard gets hot. Seriously it has taken more time than I had allocated. I have really hammered it and find it stable generally the thing that throws most people I have spoken to is that delay. This occurs when eAaccelerator is doing its stuff and the browser has fired up before the server hence no page found. On my machine I do see a significant performance enhancement so have no problem with that initial delay.
  16. I apologise for not being active on the forum but I am bogged down generating material for UniCenter I do intend to publish this weekend honest! This may help anyone wishing to use Virtual hosting they are notes at the end of a section I am writing but are pertinent to this post. Note 1: Strange as this may seem the program does not actually enable virtual hosting you need to edit the configuration file: 1. Open file: httpd.conf 2. Located in folder: *\Uniform Server\udrive\usr\local\apache2\conf 3. Towards the end of the file locate the line: #NameVirtualHost * 4. Uncomment the line to look like this: NameVirtualHost * 5. Save file and restart server Note 2:Not running as a service. The above explains how Admin Virtual Host should work however I believe it was tested with Apache installed as a service, which allows a programmer to transparently restart the server. This forces Apache to re-read the configuration file and update apanel; hence the configured virtual host link list will work. This occurs every time a new host is added. However the default installation of UniServer is not installed as a service and the transparent re-start does not function. The script inherently works so it’s not a major problem a side effect is that a new header is created producing this error message. Warning: Cannot modify header information - headers already sent by (output started at W:\home\admin\www\includes\header.php:19) in W:\home\admin\www\vhost.php on line 64 An interim fix is to comment out the offending lines a consequence of this is to loose the real time update feature (virtual hosts become immediately available) all that means is you must restart the sever to activate your newly added virtual hosts. To apply this fix open file: vhost.php Located in folder: *\Uniform Server\udrive\home\admin\www Locate these lines (starting at line 59) // Restarts apache. Only works if safe_mode is Off in php.ini $exe_sti = explode("/usr/local/apache2/conf/httpd.conf", $httpd_conf_sti); $true_exesti = str_replace("/", "\\", $exe_sti[0]); exec($true_exesti ."Apache.exe -k restart"); header("Location:". $_SERVER["PHP_SELF"] .""); exit(); Comment them out using // make sure the closing curly brace is not commented out. It will look like this: // Restarts apache. Only works if safe_mode is Off in php.ini //$exe_sti = explode("/usr/local/apache2/conf/httpd.conf", $httpd_conf_sti); //$true_exesti = str_replace("/", "\\", $exe_sti[0]); //exec($true_exesti ."Apache.exe -k restart"); //header("Location:". $_SERVER["PHP_SELF"] .""); //exit(); } Save the file and just remember to restart the server every time you add a new host. Note 3: Not transportable When you have created your virtual hosts view your sites by typing the real web-site name into you browser address bar for example www.mpgautos.com will serve pages from the site1 folder. If you copy UniServer and your sites to a memory stick do not be surprised if they no longer work when run on a different machine. You need to copy the Windows hosts entries shown above to the machine you are running on however if this is incontinent then this link may help Virtual Hosting & PAC. Hope that helps someone Sorry for the long post
  17. Yep Norton is a pain but it has one redeeming feature. First make sure you are not connected to the Internet. Right click on any tray icon bottom right of screen associated with Norton and select DISABLE That should help eliminate problems with Norton [Norton is a pain to uninstall I have known it to detect itself as a virus interesting fact that]
  18. 3.4 Sluger First impressions What an excellent piece of kit, yep you have taken onboard all the problems as noted on this forum. My very quick tests confirm you have addressed and resolved some real irritations that were evident in 3.3 that was no slug either and was excellent. I have started to hammer 3.4-sluger and for my sins update UniCenter at the same time. Sluger at the moment just feels right. I like UniController a bit slow to start up but hey its still in beta. The security section in apanel looks Ace and a worthwhile addition especially for new users. I will try my best and publish some (provisional) new material on UniCenter (say late Sunday) if you have time download it and give the designers some feed back. Remember it is not written in stone as user we can influence change. One final comment I popped it on a USB stick by copying the main folder from my C drive worked fine. Looks as if I will not be active on the forum for a few days
  19. This post cannot be displayed because it is in a password protected forum. Enter Password
  20. This post cannot be displayed because it is in a password protected forum. Enter Password
  21. This post cannot be displayed because it is in a password protected forum. Enter Password
  22. This post cannot be displayed because it is in a password protected forum. Enter Password
  23. This post cannot be displayed because it is in a password protected forum. Enter Password
  24. This post cannot be displayed because it is in a password protected forum. Enter Password
  25. This post cannot be displayed because it is in a password protected forum. Enter Password
×
×
  • Create New...