Re: Aegir for PHP-4.1.2?

Felix Natter <[email protected]>
Newsgroups gmane.comp.web.midgard.user
Message-ID <[email protected]>
Felix Natter <[email protected]> writes:

> Piotras <pp-VVDi8QVAvoBWk0Htik3J/[email protected]> writes:
>
>> Felix Natter <[email protected]> wrote:
>>
>>> hi,
>>
>> hi, blame me for anything :)
>>
>>> 
>>> midgard-1.6.3 is supposed to work with PHP >= 4.1
>>> (http://www.midgard-project.org/documentation/installation/source/)
>>> 
>>> on the Aegir-homepage it says:
>>> PHP 4.2.1 and higher (Apache 2 requires PHP 4.3.5 because of the bug in PCRE
>>> library bundled with earlier versions)
>>> (http://www.midgard-project.org/projects/aegir/requirements.html)
>>> 
>>> Isn't this contradictory since midgard-1.6.3 contains Aegir?
>>
>> midgard-php should depends on PHP4 >= 4.3.x
>>
>>> Can I use Aegir-1.0.1 with PHP 4.1.2, and if so how can I downgrade?
>>> (I've already installed Midgard_AllinOne.tar.bz2 and I tried
>>>  to install 1.0.1 with these instructions: 
>>>  http://www.midgard-project.org/projects/aegir/download/1.0.1.html
>>>  but I am afraid to mess up the database)
>>
>> You can do this little trick.
>> Download Aegir-1.0.1, unpack its all xml files to $prefix/share/midgard/data.
>> ( overwrite old files or remove them ).
>> Create new database with datagard, old Aegir will be automagically imported.
>
> thanks, this works. Although somehow when I ran datagard to create the
> database and I said yes to "create virtual host", it created a httpd.conf
> with "LoadModule midgard_module /usr/lib/apache/1.3/midgard-apache2.so"
> instead of "LoadModule midgard_module /usr/lib/apache/1.3/midgard-apache1.so".
>
> I guess I should install the 1.6.2 sources that Eero will up though, because
> http://<VHOST>/ still does not work. I was under the wrong impression that aegir
> was the whole CMS, but from what I know now it's just the administrative interface.
>
> Of course I need the engine to display the content to be working too, so do
> I have to install 1.6.2 in order for this to work (or how do I tell midgard
> that http://<VHOST> should display the pages I create using aegir)?

http://<VHOST>/sample/ now works after I updated the host table.
(with one warning:
Warning: file("sample/?fetch_size=true") - No such file or directory in /opt/midgard/var/cache/midgard/3-44-8-0.php on line 142)
Does that mean that the CMS system basically works or should I reinstall with 1.6.2?

thanks in advance,

-- 
Felix Natter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.