You are not logged in.

#1 2005-12-07 00:24:44

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

PHP errors after new install

I'm new to Arch but not so to Linux. I've used Linux (as my *sole* OS) for over 4 years now and have used Slack for about 3 years...
I like Arch (is like Slack on steroids  lol ), it's fast and easy to maintain.
Today however I added PHP to a test server and ... things did not go well though.
Here is what I did:

1. Run pacman -Sy php
2. Opened /etc/httpd/conf/httpd.conf
3. Uncommented the line that read: # LoadModule php5_module          lib/apache/libphp5.so
4. as root issued: /usr/sbin/apachectl --graceful

and got this error:
Syntax error on line 262 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/apache/libphp5.so into server: /usr/lib/libxslt.so.1: undefined symbol: xmlModuleClose

Needless to say PHP does not work. Is this a bug, or am I missing something?
Any help will be appreciated.

R.

Offline

#2 2005-12-07 02:49:06

afu
Member
From: Tuscalooser, Alabummer
Registered: 2004-02-19
Posts: 155

Re: PHP errors after new install

Have you done pacman -Syu recently? I had this happen last week. the following day a new PHP package was pushed out and that fixed my problem. You might have pulled an the older version somehow.
-Shawn

Offline

#3 2005-12-07 03:23:32

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: PHP errors after new install

Thanks for the reply. No, I have not done pacman -Syu but I'll try that and report back.
Thanks again.

Offline

#4 2005-12-07 19:13:14

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: PHP errors after new install

I did as you sugested but after it confirmed it would update files I got this error:

Total Package Size:   199.6 MB

Proceed with upgrade? [Y/n]

checking package integrity... done.
loading package data... done.
checking for file conflicts...
error: the following file conflicts were found:
  grub: /usr/share/grub: exists in filesystem


errors occurred, no packages were upgraded.

Naturally, the grub directory exists since the system is up and running, so I'm not sure what the problem is. Also, it does not seem to be related to my original problem.  roll
Any ideas?

Offline

#5 2005-12-07 21:49:40

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,069

Re: PHP errors after new install

did you install from the 0.7 wombat iso ?

if so, use this :

pacman -Syu --force 

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2005-12-08 20:07:55

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: PHP errors after new install

OK. I used the --force key and it did work.
The only thing is that it updated the kernel and grub and as a result upon reboot I got a kernel panic.
I used the edit command (after a second reboot) on the Arch load menu and edited /boot/grub/menu.lst and added the boot drive (namely /dev/hda3 -- in my case --) and now I'm a happy camper.
Thanks for the help. I'm getting to really like Arch!!  smile

Offline

#7 2005-12-08 22:26:21

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,069

Re: PHP errors after new install

Sorry about that, ralvez. I forgot to mention the change from devfs to udev.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#8 2005-12-08 22:45:29

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: PHP errors after new install

No sweat Lone_Wolf I appreciate the help.

Rick

Offline

#9 2005-12-08 23:16:30

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: PHP errors after new install

ralvez: You should also use the udev naming scheme in your fstab.  Otherwise, you'll have problems with the  2.6.14  kernel (currently in the testing repo).

Offline

#10 2005-12-09 01:34:51

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: PHP errors after new install

Snowman, I thought I was. Is /dev/hdaX not ?   :oops:

Rick

Offline

#11 2005-12-09 02:05:48

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: PHP errors after new install

ralvez wrote:

Snowman, I thought I was. Is /dev/hdaX not ?   :oops:

Rick

/dev/hdaX is indeed the udev scheme. All I am saying is: If your fstab  contains references to  /dev/discs/discY/partX, then you should change them to the /dev/hdaX scheme.  Like you did in your menu.lst file.  If your fstab already use /dev/hdaX, then you're all set. smile

Offline

#12 2005-12-09 02:19:52

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: PHP errors after new install

Thank you Snowman. I have my /etc/fstab also set up as per udev standard.

Rick

Offline

Board footer

Powered by FluxBB