|
Hi all,
I've solved my Apache problem by removing and
recompiling Midgard 1.5.0.
Installation seemed to go well. I can now access the /example and /admin sites. But when I try to access /asgard, I get the following error: "Fatal error: Cannot redeclare processsubmit() in code-global(6) : eval()'d
code on line 483".
I hope anyone can tell me what could be causing this. Please bear in mind
that this (Linux, Apache, Midgard etc.) is al pretty new to me.
Here's the installation log of my new install. I've marked some of my
remarks and questions in the log with >>>>>
If I should provide further information, please tell me what exactly.
I had the following already working: apache 1.3.28 apache-devel 1.3.28 mod_php4 4.3.3 mod_php4-core 4.3.3 mod_php4-devel 4.3.3 Downloaded the following files to
/usr/src/packages/SOURCES/midgard: midgard-lib-1.4.4.tar.bz2 Unzipped and untarred them
using: tar xvJf midgard-lib-1.4.4.tar.bz2 Checked to see if $PATH contained /sbin and
/usr/sbin: Echo $PATH $PATH Contained both. $ cd midgard-lib-1.5.0 $ ./configure 'make' ended with the following
output: make[1]: Leaving directory
�/usr/src/packages/SOURCES/midgard/midgard-lib-1.5.0/test� make[1]: Entering directory
�/usr/src/packages/SOURCES/midgard/midgard-lib-1.5.0� make[1]: Nothing to be done for
�all-am�. >>>>> Is this
OK? make[1]: Leaving directory
�/usr/src/packages/SOURCES/midgard/midgard-lib-1.5.0� make install ended with the following
output: make[2]: Nothing to be done for
�install-data-am�. make[2]: Leaving directory
�/usr/src/packages/SOURCES/midgard/midgard-lib-1.5.0� make[1]: Leaving directory
�/usr/src/packages/SOURCES/midgard/midgard-lib-1.5.0� >>>>> Is this
OK? $ cd ../mod_midgard-1.5.0 $ ./configure --with-apxs=/usr/sbin/apxs
>>>>> What is apxs? Configure
said I have a choice: --with-apxs or �with-apache. Shouldn�t I have chossen
�with-apache? $ cd ../midgard-php4-1.4.4 $ cd ../midgard-data-1.4.4 >>>>> I'm not sure if nogroup is
the group for Apache. How can I check? --with-db-admin-password=mysqlrootpassword
\ >>>>> I've changed the domain
and IP for security reasons :-) Here's a snippet of my httpd.conf: MidgardDatabase midgard mysqlusername mysqlpassword
## Uncomment this if you want serve files
instead of Midgard URLs ## Uncomment this for PHP3,
>>>>> I've removed the lines "NameVirtualHost 123.456.789.123:80" and "Port 80" and changed the line "<VirtualHost 123.456.789.123:80>" to get it to work:
<VirtualHost *>
Goodnight (or perhaps -day),
Maarten
|
