troubles with phpweb setup

"Markus Hoenicka" <[email protected]> Mon, 16 Apr 2007 22:19:41 +0200
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
Hi Cécile,

Cecile Hebert writes:
 > I am using apache2 and webmin as an administration interface, and I have 
 > the feeling the example apache configuration example does not look lke 
 > the config files I have. I was not able to bring the link from 
 > /usr/local/share/refdb/www/ to /refdb/ to work, neither by using a 
 > symbolic link (even with +FollowSimLinkoption) nor by making the link in 
 > the config file.
 > 
 > So I tryed to  hard copy the www directory to the  root directory of my 
 > web server. This works somehow, I can see the pages, fill the forms, ask 
 > for references and get no errors messages... but no references at all. 
 > And I see nothing happening in the window where refdbd should give logs.
 > 
 > 
 > Does phpweb needs refdb working as a daemon??
 > Can someone tell me how to set up apache2 properly?
 > Does someone knows where the error can come from?
 > 

I don't run apache2 over here. I've checked the installation
instructions again with my Apache 1.3 installation on FreeBSD. All I
needed to do is to follow the instructions in phpweb/INSTALL, using
the OS-specific tweaks as usual:

- I had to rebuild php5 as it was configured without mod_php5 support
- then I had to build a matching php5-session package
- the changes for httpd.conf were already in place, so everything
  worked from that point on.

I suspect your problems are rooted in some change of the Apache
configuration file syntax. Unless someone on this list can provide an
apache2 configuration file that works with RefDB, I'd suggest to take
this question to an Apache mailing list or forum. As the changes to
httpd.conf required by the RefDB PHP interface are very limited,
someone might be able to tell you in an instant how to do this with
apache2. If you find an answer, please let the list know. I'd like to
add this to the documentation.

Did you check the Apache log (usually /var/log/httpd-errors.log)?
You might find additional clues in the error messages.

Does php run ok on your box? Try "php -v".

Finally, refdbd does not have to run as a daemon. The PHP interface
calls only the clients, which then access refdbd. The clients don't
care whether refdbd runs as a standalone process or as a daemon. If
you configure the clients appropriately, you could even run refdbd on
a different box without breaking the PHP interface.

regards,
Markus

-- 
Markus Hoenicka
[email protected]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/