Page 1 of 1

Latest version install help!

PostPosted: 29. September 2006 15:56
by canada
Hello everyone!

Thanks for the fresh server!

I have been using Foxserv and it got stale php so I deleted it and downloaded Xampp 1.5.4. installer. I also downloaded perl addon 2.2.3 and tomcat 2.2.2 installers.

I am using xp pro and instaled Xampp in c:\aa\ as installer would not show the next button when I selected c:\ as installation folder.
Xampp and perl addon installed with no reported errors but tomcat installer quit on me error said:("apache 2.2.2 needed")

Should I use zip file and just extract tomcat? This is my first question...
...the second one is :

I have not changed any setting yet (user is root, no password) winmysqladmin has green light but does not show any databases (not even the test). Phpmyadmin shows mysql databases. My.ini was not touched:
# Example MySQL config file for small systems.
#
# This is for a system with little memory (<= 64M) where MySQL is only used
# from time to time and it's important that the mysqld daemon
# doesn't use much resources.
#
# You can copy this file to
# C:/xampp/xampp/mysql/bin/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options (in this
# installation this directory is C:/xampp/xampp/mysql/data) or
# ~/.my.cnf to set user-specific options.
#
# In this file, you can use all long options that a program supports.
# If you want to know which options a program supports, run the program
# with the "--help" option.

# The following options will be passed to all MySQL clients
[client]
# password = your_password
port = 3306
socket = mysql

# Here follows entries for some specific programs

# The MySQL server
[mysqld]
basedir=C:/aa/xampp/mysql
tmpdir="C:/xampp/tmp"
datadir=C:/aa/xampp/mysql/data

port = 3306
socket = mysql

old-passwords
character-set-server = latin1
collation-server = latin1_general_ci

skip-locking
key_buffer = 16K
max_allowed_packet = 1M
table_cache = 4
sort_buffer_size = 64K
read_buffer_size = 256K
read_rnd_buffer_size = 256K
net_buffer_length = 2K
thread_stack = 64K

# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets or named pipes.
# Note that using this option without enabling named pipes on Windows
# (using the "enable-named-pipe" option) will render mysqld useless!
#
#skip-networking
server-id = 1

# Uncomment the following if you want to log updates
#log-bin=C:/xampp/mysql/data/mysql-bin

# Uncomment the following if you are NOT using BDB tables
skip-bdb

skip-innodb
# Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = C:/xampp/mysql/data/
#innodb_data_file_path = ibdata1:10M:autoextend
#innodb_log_group_home_dir = C:/xampp/mysql/data/
#innodb_log_arch_dir = C:/xampp/mysql/data/
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
#set-variable = innodb_buffer_pool_size=16M
#set-variable = innodb_additional_mem_pool_size=2M
# Set .._log_file_size to 25 % of buffer pool size
#set-variable = innodb_log_file_size=5M
#set-variable = innodb_log_buffer_size=8M
#innodb_flush_log_at_trx_commit=1
#set-variable = innodb_lock_wait_timeout=50

[mysqldump]
quick
max_allowed_packet=16M

[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates

[isamchk]
key_buffer = 8M
sort_buffer_size = 8M

[myisamchk]
key_buffer = 8M
sort_buffer_size = 8M

[mysqlhotcopy]
interactive-timeout

[WinMySQLadmin]
Server=C:/aa/xampp/mysql/bin/mysqld.exe
#user=root
#password=

winmysqladmin environment myOdbc shows:
"Not found
Driver version
driver C:\WINDOWS\system32\myodbc3.dll
api level
setup C:\WINDOWS\system32\myodbc3s.dll
sql level"

start check window says Yes, ok, ok ,ok

When i click on the create report in report window it says "
the server must be connected"
Localhost works as well at all the examples and security admin area.

Really hope someone can point me in the right direction for first or/and second question. I am stuck on this and don't know what to do.
Thanks in advance!

PostPosted: 29. September 2006 23:12
by Izzy
Did you read the readme-addon-tomcat.txt file and follow the instructions?

If you used the installer to install XAMPP then you should use the Addon installer versions of the Addons.

If you still get the 2.2.2 issue then this one might be for the developers as it clearly states the Addon is for 1.5.3 and 1.5.4 versions of XAMPP but in the readme-addon-tomcat.txt it does not mention Apache 2.2.3 or the 1.5.4 version of XAMPP.
Tomcat 5.5.17
XAMPP 1.5.3 + 1.5.4 Tomcat 5.5.17 and mod_jk/1.2.15 for the XAMPP base packages 1.5.3 & 1.5.4. NEEDED SUN J2SE SDK 5.0. The Addon Installer is build for the XAMPP Installer Version only.
See also README

From the readme-addon-tomcat.txt file
Add-on Tomcat 5.5.17 (for Apache 2.2.2 = XAMPP 1.5.3)

=> Tomcat 5.5.17
=> mod_jk/1.2.15
=> addon needs 20 MB free space on disk




I spotted a path that needs fixing.
Code: Select all
# The MySQL server
[mysqld]
basedir=C:/aa/xampp/mysql
tmpdir="C:/xampp/tmp"
datadir=C:/aa/xampp/mysql/data

You would need to change the tmpdir path to the same as the others as you do not have a "C:/xampp/tmp" but you should have "C:/aa/xampp/tmp". Check it first. Or you could create the C:\xampp\tmp directory.

I don't know what is your second question?

Check this:
Code: Select all
[WinMySQLadmin]
Server=C:/aa/xampp/mysql/bin/mysqld.exe
#user=root
#password=

Is mysqld.exe running or is mysqld-nt.exe running?
Ctrl-Alt-Delete - click on the Processes tab and look for either of the above files running. The mySQL Admin... from the Xampp Control Panel uses the mySQL as a Service - mysqld-nt.exe

If all functions work from http://localhost then your XAMPP installation is installed correctly.

update

PostPosted: 30. September 2006 07:25
by canada
Thanks for answering!
Yes, I got the tomcat addon xampp installer and preinstalled jre1.5.006
but after numerous complete xampp reinstalls tomcat installer for xampp 1.5.3-1.5.4 keeps asking for apache 2.2.2 . I guess I have to wait till new tomcat addon comes out.
As I mentioned before apache and mysql work fine with all the exception of winmysqladmin wich has green light but does not show databases and gives "The server must be connected" notice upon clicking on "generate report" button.
I created the missing temp dir and changed the path from:
[WinMySQLadmin]
Server=C:/aa/xampp/mysql/bin/mysqld.exe
#user=root
#password=

to:[WinMySQLadmin]
Server=C:/aa/xampp/mysql/bin/mysqld-nt.exe
#user=root
#password=

since the task manager does show mysqld-nt.exe running, but the above issues persists after restart.
Is any adjusting needed or should this setup be ok ?(for php 5 development purposes)

PostPosted: 30. September 2006 07:58
by Izzy
Yes, I got the tomcat addon xampp installer and preinstalled jre1.5.006
Your talking about the JAVA SUN J2EE 5.0 SDK which is a requirement as that is different to the java runtime environment you mention.
readme-addon-tomcat.txt wrote:FIRST (!) PLEASE BE SURE YOU HAVE INSTALLED JAVA SUN J2EE 5.0 SDK !!!
e.g. jdk-1_5_0_06-nb-4_1-win-ml.exe



You can control and edit the my.ini from the WinMySQLAdmin panel under the my.ini Setup tab.
Changing the path is usually done automatically depending on if your are running MySQL as a service or not. mysqld-nt.exe is the Service version and mysqld.exe is the non service version.

Also under the Environment tab there is a button to Start/Stop Extended Server Status.

You should be set to go and do what you want in php5.

A good test to see if all is working as it should is to use the XAMPP Welcome Page and flick through the demos.
http://localhost
You can control your MySQL databases from phpMyAdmin and Secure the server. Also check the status of your running processes and use phpinfo() to check how your php is configured, all from the one menu.
Your php.ini file is located in:
xampp\apache\bin directory

PostPosted: 01. October 2006 02:11
by Izzy
I just installed the Tomcat and Perl add on using the 7Zip files.

Apart from a few configuration tweaks I had to needlessly perform, because the xamppsetup.bat refused to go past recognising the Java SDK I had just installed as per the readme file (just another faulty bat file composition - the Perl add on also had similar bat file issues), the add ons worked just fine on 1.5.4 of XAMPP.

So the issues you are having might well be poorly composed and tested bat files or a poorly composed and tested installer and of course the lack of comprehensible documentation (the read me files are an absolute joke or should I say a riddle).

The main problem with XAMPP and it's addons is the lack of understandable documentation. It is sloppy and quite inadequate even for an experience user. The average nube or novice would have great difficulty trying to sort out the poor translations and the inadequate and often ambiguous content.

XAMPP developers need to take a close look at the themselves and the inadequate documentation as it is spoiling what is an otherwise good implementation of wampp. It is also filling up the forums with totally needless questions that should be addressed in the accompanying documentation or help files.

It really is time now for the developers to get their act together and do something urgently about this lack of documentation.