6.0.0-beta1
7/24/25

[#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 (6765 days ago)
Due
Updated 01/16/2007 (6764 days ago)
Assigned 01/16/2007 (6764 days ago)
Resolved 01/16/2007 (6764 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/16/2007 06:18:30 PM Chuck Hagenbuch Comment #6
State ⇒ Not A Bug
Reply to this comment
You will get a warning from test.php...
01/16/2007 06:17:12 PM 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 05:56:39 PM 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 05:30:13 PM 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 05:01:26 PM 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 09:37:44 PM tagesk (at) gmail (dot) com Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ setup.php dies on NetBSD
Queue ⇒ Horde Groupware
State ⇒ Unconfirmed
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).

Saved Queries