[Refdb-users] troubles with phpweb setup
Status: Beta
Brought to you by:
mhoenicka
|
From: Markus H. <mar...@mh...> - 2007-04-16 20:19:50
|
Hi C=E9cile, Cecile Hebert writes: > I am using apache2 and webmin as an administration interface, and I = have=20 > the feeling the example apache configuration example does not look l= ke=20 > the config files I have. I was not able to bring the link from=20 > /usr/local/share/refdb/www/ to /refdb/ to work, neither by using a=20= > symbolic link (even with +FollowSimLinkoption) nor by making the lin= k in=20 > the config file. >=20 > So I tryed to hard copy the www directory to the root directory of= my=20 > web server. This works somehow, I can see the pages, fill the forms,= ask=20 > for references and get no errors messages... but no references at al= l.=20 > And I see nothing happening in the window where refdbd should give l= ogs. >=20 >=20 > Does phpweb needs refdb working as a daemon=3F=3F > Can someone tell me how to set up apache2 properly=3F > Does someone knows where the error can come from=3F >=20 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=5Fphp5 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)=3F You might find additional clues in the error messages. Does php run ok on your box=3F 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 --=20 Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |