Difference between revisions of "Talk:Install a new server (CentOS)"

From Organic Design wiki
(Already reinstalled with 1.4.15 which worked fine on meridian server)
(Ideas for fixing http://www.wikiexpert.com)
Line 1: Line 1:
 +
;Potential Server fix
 +
The preoblem with the redhat install could be caused by using mysql5, we need to check the recommended installation dependencies and instll them. I think for completeness we should also uninstall the rpm's that have been replaced by source installs for Apache, mysql, PHP etc --[[User:Sven|Sven]] 08:30, 27 Apr 2006 (NZST)
 +
----
 
Unfortunately you were right, there's still something wrong somewhere... I've run the config which all worked, it setup the db etc and made index.php a default for directory requests, but the main site still draws a blank (not even any http headers returned!?)... --[[User:Nad|Nad]]
 
Unfortunately you were right, there's still something wrong somewhere... I've run the config which all worked, it setup the db etc and made index.php a default for directory requests, but the main site still draws a blank (not even any http headers returned!?)... --[[User:Nad|Nad]]
 
:I guess we first need to check the php.ini (/usr/local/lib from memory), and http.conf (/usr/local/apache2/conf) files. Maybe theres something in there. What about reinstalling a fresh version of MediaWiki 4.x.x? --[[User:Sven|Sven]] 10:14, 1 Apr 2006 (NZST)
 
:I guess we first need to check the php.ini (/usr/local/lib from memory), and http.conf (/usr/local/apache2/conf) files. Maybe theres something in there. What about reinstalling a fresh version of MediaWiki 4.x.x? --[[User:Sven|Sven]] 10:14, 1 Apr 2006 (NZST)

Revision as of 20:30, 26 April 2006

Potential Server fix

The preoblem with the redhat install could be caused by using mysql5, we need to check the recommended installation dependencies and instll them. I think for completeness we should also uninstall the rpm's that have been replaced by source installs for Apache, mysql, PHP etc --Sven 08:30, 27 Apr 2006 (NZST)


Unfortunately you were right, there's still something wrong somewhere... I've run the config which all worked, it setup the db etc and made index.php a default for directory requests, but the main site still draws a blank (not even any http headers returned!?)... --Nad

I guess we first need to check the php.ini (/usr/local/lib from memory), and http.conf (/usr/local/apache2/conf) files. Maybe theres something in there. What about reinstalling a fresh version of MediaWiki 4.x.x? --Sven 10:14, 1 Apr 2006 (NZST)
All that stuff's totally normal - and how come the config/index.php was able to completely set up the db etc? I've just installed the same version on the new meridian server without a hitch...? --Nad 10:46, 1 Apr 2006 (NZST)
Also, downloaded 1.4.15 and installed that from scratch, install went perfectly, but then no wiki/index.php response!

Hmmm no domxml (see our current info.php), I'm seeing if it can be done from php.ini... Nad 12:29, 31 Mar 2006 (NZST)

Ok, that's working, it still needed to be pointed to the domxml.so in php.ini even though it was in the configure --Nad 12:43, 31 Mar 2006 (NZST)
I hope you added that to the article :p --Sven 15:14, 31 Mar 2006 (NZST)
Aw mate! I had to head out to do some LAN stuff over town (doing it now), but don't worry, I'll add those things (I can just copy from the debian post install) --Nad 16:57, 31 Mar 2006 (NZST)
We just need to make phpinfo.php (organicdesign) similar to phpinfo.php (wikiexpert). Should be able to add arguements to the php installation ./configure part, and just do a make, and make install over the top of the files already compiled --Sven 18:28, 31 Mar 2006 (NZST)

Ok, I'm copying last nights backup over to it now, and I'll install with that to check it out with latest code etc. We can just do another import and overwrite when we're ready for the real move later. --Nad 12:11, 31 Mar 2006 (NZST)


I'm pretty sure that --with-dom is usually --with-xml and --with-domxml...

Doesnt appear to be a --with-domxml switch (only dom)
[root@wikiexpert php-4.4.2]# ./configure --help | grep xml
  --with-dom[=DIR]        Include DOM support (requires libxml >= 2.4.14).
                          DIR is the libxml install directory.
  --disable-xml           Disable XML support using bundled expat lib
  --with-xmlrpc[=DIR]     Include XMLRPC-EPI support.
[root@wikiexpert php-4.4.2]# ./configure --help | grep dom
  --with-dom[=DIR]        Include DOM support (requires libxml >= 2.4.14).
  --with-dom-xslt[=DIR]     DOMXML: Include DOM XSLT support (requires libxslt >= 1.0.18).
  --with-dom-exslt[=DIR]    DOMXML: Include DOM EXSLT support (requires libxslt >= 1.0.18).
  --with-qtdom            Include QtDOM support (requires Qt >= 2.2.0).
PHP is currently compiled with:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-ming --with-xml --with-domxml --with-zlib-dir=/usr/local/lib

If dom is not there, this may need to be

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-ming --with-dom --with-zlib-dir=/usr/local/lib