You are not logged in.
I've just installed Arch and Samba, NTP, Apache, PHP, MySQL.
Following a old "guide" I made a year ago when installing last time.
I've compared my httpd.conf to what I used last time, and both files are identical.
From what I remember I dont have to do anything to php, except install it, and I've done it.
So, httpd refuses to start. Its like this.
# /usr/sbin/apachectl start
httpd: Syntax error on line 114 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/libphp5.so into server: libxml2.so.2: cannot open shared object file: No such file or directory
ls /etc/httpd/modules/ -l
total 7496
-rw-r--r-- 1 root root 8951 Sep 29 13:54 httpd.exp
-rw-r--r-- 1 root root 5998282 Oct 12 14:44 libphp5.so
-rwxr-xr-x 1 root root 10286 Sep 29 13:56 mod_actions.so
-rwxr-xr-x 1 root root 15440 Sep 29 13:56 mod_alias.so
-rwxr-xr-x 1 root root 9133 Sep 29 13:56 mod_asis.so
-rwxr-xr-x 1 root root 11224 Sep 29 13:56 mod_auth_basic.so
So, the file is there. It has other permits than the other files, but I'm 100% sure I've never had to alter that before.
What could be wrong, please?
Last edited by Seb74 (2007-10-18 20:44:10)
Offline
Just found, from the LAMP wiki for Arch, that you also should put a comment before this line in httpd.conf.
Did it, but no luck.
LoadModule unique_id_module modules/mod_unique_id.so
I mean, it should be so straightforward, almost no steps at all to follow, and I've did as I did last time, and also what it says in that wiki.
Offline
It is libxml2.so.2 that cannot be found, not libphp5.so
Offline
Ok, I thought it said "Cannot load /etc/httpd/modules/libphp5.so"?
Anyway, I've done as it says, and it wont work. Never had issues like this before, no idea what it could be
Offline
Googling the error, but mainly find strange language sites I cant read.
One english site mentioned something about a bug, and it were some very recent posts there. Didn't get the solution though, but had something with some changed path to do or something.
I need my server back, so will start ubuntu server download now over night. In worst case I'll have to throw Arch out, just when I was finished with almost all installation, just to try another dist
At least ubuntu has some LAMP option during install, and I doubdt THAT would fail or have serious bugs, since its so much part of the base installer. Would rather have a solution for this though....would mean less unneccesary work.
Oh well, good night, and thanks if anyone can help. I've followed the wiki-tutorial as I said, and used same httpd.conf as I had working yesterday in older Arch-install on same hardware.
Offline
If someone else gets stuck here, I did get help on another forum.
The problem was that, for some reason, libxml2 were missing.
So, a "pacman -S libxmls" was a solution to this problem.
You never know when following a guide and doing whats intuitive wont be enough in Linux....
Offline
FYI
That is libxml2 not libxmls
Offline