-
Posts
1,516 -
Joined
-
Last visited
Everything posted by Ric
-
Ok do you have an entry in your hosts file? http://wiki.uniformserver.com/index.php/Vi...ing:_Name_based Location of hosts file http://wiki.uniformserver.com/index.php/Ne...#Hosts_Location All the best Ric
-
could not connect to remote db (insecure method)
Ric replied to marche's topic in Uniform Server - Windows
Like BobS I am puzzled however taking the message at face value you are using an incorrect password hash length. The MySQL server you are trying to connect to uses old passwords with hash length of 16 characters. New passwords are 41 characters. PHP 5.3.* by default uses 41 characters see following page http://www.php.net/manual/en/migration53.incompatible.php What puzzles me is this response from your host: That’s not true when using PHP 5.3.* hence the error message displayed. Probably worth contacting your host again! All the best Ric -
In your example this is the default. Any site/s Apache cannot resolve will be directed to this. <VirtualHost *> ServerName localhost:80 DocumentRoot C:/Users/Administrator/Desktop/www2/www </VirtualHost> There is no need to change the above default. Apache cannot resolve this site: <VirtualHost *> ServerName *.site1.com DocumentRoot C:/Users/Administrator/Desktop/www2/www/site1 ErrorLog logs/site1_error.log CustomLog logs/site1_custom.log combine </VirtualHost> You cannot use wildcards in the SererName hence *.site1.com is incorrect use site1.com If you ant to use wild cards include a ServerAlias directive <VirtualHost *> ServerName site1.com ServerAlias site1.com *.site1.com DocumentRoot C:/Users/Administrator/Desktop/www2/www/site1 ErrorLog logs/site1_error.log CustomLog logs/site1_custom.log combine </VirtualHost> All the best Ric
-
Oops! UniServer 6.0.6-Carbo has been republished. Now contains correct compiled version of eAccelerator for PHP 5.3.4 VC9. All the best Ric
-
installing Wordpress on a newer Uniform Server version
Ric replied to megan's topic in Uniform Server - Windows
Set-up Uniform server to use different ports 1] Extract Uniserver 5.6.16 2] Run tray menu (Double click Start.exe) 3] Left click tray menu > Advanced > Move Servers multi-server operation Press enter to all user inputs. Alternatively you can change the default values offered. Ports are incremented, executables renamed and tray menu renumbered. Note: At any time you can check port values as follows: Left click tray menu > Server Status 4] Port test: Ports may be in use by another application to run Uniform Server these must be free. Run Run_pre_check.exe If any ports are in use repeat step 3] 5] With ports free run Uniform Server Left click tray menu > Start Uniform Server Install Wordpress see Wiki Page: http://wiki.uniformserver.com/index.php/In...ess_on_5.0-Nano 6] Extract wordpress-3.0.3.zip 7] Pre-Installation 1: Copy folder wordpress-3.0.3\wordpress and all its content to Uniform Server root folder UniServer\www 8] Pre-Installation 2: Navigate to folder UniServer\www\wordpress 9] Rename file wp-config-sample.php to wp-config.php 10] Edit this renamed file (wp-config.php) as follows: Change these lines: /** The name of the database for WordPress */ define('DB_NAME', 'database_name_here'); /** MySQL database username */ define('DB_USER', 'username_here'); /** MySQL database password */ define('DB_PASSWORD', 'password_here'); /** MySQL hostname */ define('DB_HOST', 'localhost'); To: define('DB_NAME', 'wordpress'); /** MySQL database username */ define('DB_USER', 'root'); /** MySQL database password */ define('DB_PASSWORD', 'root'); /** MySQL hostname */ define('DB_HOST', '127.0.0.1:3307'); Assumes you are using the default MySQL user and password root and root respectively. Assumes MySQL port is set to 3307 (check using Server Status see step 3) 11] Installation - Create a WordPress Database named "wordpress" 12] Installation: Assumes Apache port is set to 81 (check using Server Status see step 3) 13] To start the WordPress installation process type http://localhost:81/wordpress/wp-admin/install.php Enter details for example: Site Title: UniCenter Test Username: admin Password, twice: root66 Your E-mail: test@ztest.com Click Install Wordpress You will see Success! displayed Thats it. Note: Remember to use the port you set (eg 81 ) Site: http://localhost:81/wordpress/ Login: http://localhost:81/wordpress/wp-login.php All the best Ric -
Standalone portable PHP IDE – Core components Notepad++ Core 5.8.5 NppExec_041_dll_Unicode Plugin DBGpPlugin_0_12b_dll Plugin WinBinder 2010.10.14 PHP Extension PHP 5.3.4 VC9 - Update Download: SourceForge link: Standalone Merry Xmas Ric
-
UniServer 5.6.16-Nano Released: Apache 2.2.17 MySQL 5.1.53 -- Update PHP 5.3.4 -- Update phpMyAdmin 3.3.8.1 -- Update Go-Pear 1.1.2 msmtp 1.4.21 eAccelerator 1.0-snv425 UniServer 6.0.6-Carbo Released: (Note: This is a VC9 version of 5.6.16-Nano) Apache 2.2.17 MySQL 5.1.53 -- Update PHP 5.3.4 -- Update phpMyAdmin 3.3.8.1 -- Update Go-Pear 1.1.2 msmtp 1.4.21 eAccelerator 1.0-snv425 WinBinder 2010.10.14 Download: UniServer 5.6.16-Nano UniServer 6.0.6-Carbo Merry Xmas Regards, The Uniform Server Development Team
-
How to resolve error in hosts file: localhost:80 Take a look at this page: http://wiki.uniformserver.com/index.php/Vi...ing:_Name_based All the best Ric
-
BAD md5sum found UniServer PHP IDE Plugin ...
Ric replied to Shyokou Ouyou's topic in Plug-Ins Support
Many thanks for your feedback. File for whatever reason was corrupted. I have re-uploaded file and checked download/extraction. All the best Ric -
Uniform Server PHP IDE released. - There are two versions, plugin and standalone. Plugin: Allows you to develop and debug web pages directly on Uniform Server. Installs on either Nano or Carbo series. Standalone: Runs independently of Uniform Server. This allows you to develop and debug PHP CLI scripts. It contains an integrated console and PHP interpreter making it ideal for learning PHP. Plugin – Core components Notepad++ Core 5.8.5 NppExec_041_dll_Unicode Plugin DBGpPlugin_0_12b_dll Standalone portable PHP IDE – Core components Notepad++ Core 5.8.5 NppExec_041_dll_Unicode Plugin DBGpPlugin_0_12b_dll Plugin WinBinder 2010.10.14 PHP Extension PHP 5.3.3VC9 Download: SourceForge links: Plugin Standalone Wiki Support: Install and configuration PHP IDE Design notes Merry Xmas Regards, The Uniform Server Development Team
-
[GD SUPPORT] Fatal error: Call to undefined function imagecreatefromjpeg()
Ric replied to prom3th3an's topic in PHP
I ran the following code with no errors: <?php header ("Content-type: image/jpeg"); $string = "ABC123465DEF"; $font = 5; $im = ImageCreateFromjpeg("images/logo.jpg"); $x = 5; $y = 5; $background_color = imagecolorallocate ($im, 255, 255, 255); $text_color = imagecolorallocate ($im, 255, 255,0); imagestring ($im, $font, $x, $y, $string, $text_color); imagejpeg ($im); ?> Ran on a default installation of Nano_5_6_15 Can you supply a small code snippet that fails? Or try the above to see I it fails on your machine. All the best Ric -
You have not stated what version of US you are using! However in all versions, location of .htaccess/password files are as follows: Apanel: UniServer\home\admin\www\.htaccess UniServer\htpasswd\home\admin\www\.htpasswd SSL Root: UniServer\ssl\.htaccess UniServer\htpasswd\ssl\.htpasswd WWW Root UniServer\www\.htaccess UniServer\htpasswd\www\.htpasswd Content of password files have the following format: Name:password In each .htacces file remove the hash to enable authentication. For example change this #AuthName "Uniform Server - Secure Server Access" #AuthType Basic #AuthUserFile ../../../htpasswd/ssl/.htpasswd #Require valid-user To: AuthName "Uniform Server - Secure Server Access" AuthType Basic AuthUserFile ../../../htpasswd/ssl/.htpasswd Require valid-user All the best Ric
-
There is no real significance of the double dots just left over files from development. Note you can remove folders: UniServer\unicon\tray_menu_2\bat_dev UniServer\unicon\tray_menu_2\batch_files UniServer\unicon\tray_menu_2\top_level UniServer\unicon\tray_menu_2\top_level_php All the best Ric
-
Thanks for your post and link. The new WinBinder is an excellent piece of work and well worth the download. WinBinder team has been put a considerable amount of time and effort into this new version anyone interested please check out this page Note: 6.0.5-Carbo uses new version “2010.10.14” of WinBinder All the best Ric
-
Uniform Server is an integrated package allowing all main components to work in harmony. Reconfiguring phpmyadmin’s authentication method other than “config “ breaks the control architecture. Enabling cookie authentication method prevents the MySQL server being correctly shut down hence the issue you have experienced. All the best Ric
-
UniServer 5.6.15-Nano Released: Apache 2.2.17 MySQL 5.1.52 -- Update PHP 5.3.3 phpMyAdmin 3.3.8 -- Update Go-Pear 1.1.2 msmtp 1.4.21 eAccelerator 1.0-snv425 UniServer 6.0.5-Carbo Released: (Note: This is a VC9 version of 5.6.15-Nano) Apache 2.2.17 MySQL 5.1.52 -- Update PHP 5.3.3 phpMyAdmin 3.3.8 -- Update Go-Pear 1.1.2 msmtp 1.4.21 eAccelerator 1.0-snv425 WinBinder updated to 2010.10.14 -- Update Download: UniServer 5.6.15-Nano UniServer 6.0.5-Carbo Enjoy Regards, The Uniform Server Development Team
-
Your question is not odd! Seems quite reasonable in this day and age to have the capability of sharing databases between XP and Debian. However in reality these operating systems are incompatible hence you cannot share database files between operating systems. Only solution I can think of is to export databases from one OS and import to other OS using phpMyAdmin. The plain ASCII files will require converting for appropriate operating system. All the best Ric
-
Looks like a script problem! "using password: NO" Indicates, no password is being specified by your script however to connect to MySQL server user root requires password root. Can you post part of the script that connects to the MySQL server?
-
What version of US are you using? “when I try to run my scripts I can't because of a password issue with the user root.” Can you be more specific, any error messages, what do the log files show? “If I go to phpmyadmin and change user root's pw to "no password" in the "privileges" tab the problem is solved and the scripts sends data to mysql... but a larger problem is created. I can no longer access phpmyadmin and even worse the uniform server crashes my computer whenever I try to "stop apache mysql".” You never have to change the MySQL root user using phpmyadmin, only change allowed is the root password and this is performed using Apanel. Changing the root user from phpmyadmin will result in issues you have experienced. To solve your issues extract a fresh copy of US, install your scripts and note any errors produced. Post these along with any other information that may help us diagnose the problem. All the best Ric
-
Thanks for posting. I have updated the Wiki page for Perl downloads. Please note all plugins are suitable for both Nano and Carbo series Apart from a general download link each plugin now has its own individual download link. Wiki page: Perl plugin downloads All the best Ric
-
UniServer 5.6.14-Nano Released Apache 2.2.17 -- Update MySQL 5.1.51 -- Update PHP 5.3.3 phpMyAdmin 3.3.7 Go-Pear 1.1.2 msmtp 1.4.21 eAccelerator 1.0-snv425 UniServer 6.0.4-Carbo Released (Note: This is a VC9 version of 5.6.14-Nano) Apache 2.2.17 -- Update MySQL 5.1.51 -- Update PHP 5.3.3 phpMyAdmin 3.3.7 Go-Pear 1.1.2 msmtp 1.4.21 eAccelerator 1.0-snv425 WinBinder updated to 2010.10.01 -- Update Download: UniServer 5.6.14-Nano UniServer 6.0.4-Carbo Enjoy Regards, The Uniform Server Development Team
-
It’s a shame! I do not really understand the question. To update Uniform Sever all you need to do is download the newest version. If you want to update from one version of Uniform Server to another and are running an existing site please state both versions and what existing sites to update. I am sure other members will help and point you in the right direction. All the best Ric
-
“I am now using UniServer5_6_13 on Windows 7” “The database was created using phpMyAdmin in Uniform Server and appears to run fine.” From the above your servers are working correctly. Since you are using Windows 7 do not use localhost in any database configurations MySQL does not recognise IPV6 addresses (Windows 7 default) it uses IPV4 Hence replace “localhost” with 127.0.0.1 this forces an IPV4 connection I am not sure what configuration parameter is referred to in Dreamweaver MX 2004 It may be something like db_host = localhost Change it to db_host = 127.0.0.1 There are alternatives to the above an excellent article by bobs can be found here. All the best Ric
-
It looks as if you have answerered your own question. To recap; with the exception of file .htaccess delete everything in folder UniServer\www ideally create your own favicon.ico image file and place in this folder (prevents errors in log file and gives a browser something to display) With the servers running typing http://localhost/ into a browser Apache will look for an index page to serve. It displays the first one it encounters from this list: DirectoryIndex index.html index.shtml index.html.var index.htm index.php3 index.php index.pl index.cgi If you do not have an index page a directory (folder) listing is displayed. Background: When you first start Uniform server it automatically displays the index.php page (contained in folder www). This is not normal server operation just a convenient way to confirm servers are running correctly with initial default files in folder www. Note if not already running your default browser will automatically start. Take a step back (assume servers not running) double clicking on index.html or index.php will result in index.html being displayed in your default browser and Windows asking for an application to open or run index.php What repose you get is dependent on file associations set-up on your PC. Default association are to open any file with extension .html in the default browser and no associations configured for extension php What’s important you will see something like file:///C:/UniServer/www/index.html displayed in your browser navigation bar. Page is displayed directly from your hard drive and not served from the Apache server. Start the servers and type http://localhost/index.html same page s displayed however Apache serves it to your browser. Similarly type http://localhost/index.php and that page is served. A browser will open only .html (.htm) files automatically from disk however can be persuaded to effectively type into it’s navigation bar what we want and redirect to a page we wish served from Apache. When Uniform Server is run the following page is opened in default browser: file:///C:/UniServer/home/admin/www/redirect.html Note: Depending where you extracted Uniform Server path may be different Open file UniServer/home/admin/www/redirect.html in a text editor Locate this line: You can change index.php to any page you wish to display at start-up If you want to disable this functionality Edit file: UniServer\unicon\main\start_servers.php Locate this line: if ((int)$server_operation & 4 ){ // Enabled by config or parameter Change to if ((int)$server_operation & 400 ){ // Enabled by config or parameter All the best Ric
-
UniServer 5.6.13-Nano Released Apache 2.2.16 MySQL 5.1.50 PHP 5.3.3 phpMyAdmin 3.3.7 -- Update Go-Pear 1.1.2 msmtp 1.4.21 eAccelerator 1.0-snv425 UniServer 6.0.3-Carbo Released (Note: This is a VC9 version of 5.6.13-Nano) Apache 2.2.16 MySQL 5.1.50 PHP 5.3.3 phpMyAdmin 3.3.7 -- Update Go-Pear 1.1.2 msmtp 1.4.21 eAccelerator 1.0-snv425 Bug fix – port detection (forum - Shyokou Ouyou) Common A separate pre-check has been added (code taken from new server) detects server ports in use and names offending application using each port. Download: UniServer 5.6.13-Nano UniServer 6.0.3-Carbo Enjoy Regards, The Uniform Server Development Team