[#4900] setup.php dies on NetBSD
Summary setup.php dies on NetBSD
Queue Horde Groupware
Queue Version 1.0
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester tagesk (at) gmail (dot) com
Created 01/15/2007 (536 days ago)
Due
Updated 01/16/2007 (535 days ago)
Assigned 01/16/2007 (535 days ago)
Resolved 01/16/2007 (535 days ago)
Attachments scripts.patch Download
Milestone
Patch No

History
01/16/2007 Chuck Hagenbuch Comment #6
State ⇒ Not A Bug
Reply to this comment
You will get a warning from test.php...
01/16/2007 tagesk (at) gmail (dot) com Comment #5 Reply to this comment
Can you please try this patch and see if anything is reported now?
Please check your PHP logs too, if you have any configured in php.ini.
Good advice!  Looking at the log I found " PHP Fatal error:  Class 
'DOMDocument' not found in 
/usr/pkg/share/httpd/htdocs/horde/lib/Horde/Config.php on line 1290" 
which made me study the modules extra carefully, which assured that I 
found that DOM was missing.  Compiled and installed, but not enabled 
in php.ini.  Argh!

Thanx again, and sorry for the sloppyness.  A warning from setup.php 
would have helped, though.
01/16/2007 Jan Schneider Comment #4
New Attachment: scripts.patch Download
Reply to this comment
Can you please try this patch and see if anything is reported now? 
Please check your PHP logs too, if you have any configured in php.ini.
01/16/2007 tagesk (at) gmail (dot) com Comment #3 Reply to this comment
Are you sure that your php cli has the database extension loaded that
you specified in setup.php? Run "php -m" on the command line.
Here is running the setup (which ends without any message), and the 
output from "php -m".  Thanx for trying to assist me!

What database backend should we use? [false]
     (false) [None]
     (dbase) dBase
     (ibase) Firebird/InterBase
     (fbsql) Frontbase
     (ifx) Informix
     (msql) mSQL
     (mssql) MS SQL Server
     (mysql) MySQL
     (mysqli) MySQL (mysqli)
     (oci8) Oracle
     (odbc) ODBC
     (pgsql) PostgreSQL
     (sqlite) SQLite
     (sybase) Sybase
Type your choice: mysql
Request persistent connections? [0]
     (1) Yes
     (0) No
Type your choice: 0
Database server/host* [] localhost
Username to connect to the database as* [] -------
Password to connect with [] --------
How should we connect to the database? [unix]
     (unix) UNIX Sockets
     (tcp) TCP/IP
Type your choice: unix
Location of UNIX socket [] /tmp/mysql.sock
Database name to use* [] --------
Internally used charset* [iso-8859-1]
/usr/pkg/share/httpd/htdocs/horde/scripts#php -m
[PHP Modules]
ctype
date
gd
hash
imap
json
libxml
mbstring
mysql
openssl
pcre
Reflection
session
SimpleXML
SPL
standard
tokenizer
xml
xmlreader
xmlwriter
zlib

[Zend Modules]

01/16/2007 Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Are you sure that your php cli has the database extension loaded that 
you specified in setup.php? Run "php -m" on the command line.
01/15/2007 tagesk (at) gmail (dot) com Comment #1
Summary ⇒ setup.php dies on NetBSD
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Queue ⇒ Horde Groupware
Reply to this comment
When running setup.php, when prompted with the question "Internally 
used charset", regardless of what I do, the script terminates without 
any message.  This is regardless of whether I ask for 1) COnfigure 
database, 2) Create database and Tables, or 3) Configure 
administrator...    PHP 5.1.6, MySQL 5.0.27 on NetBSD 3.0 (GENERIC).