You are not logged in.

#1 2009-10-23 16:02:06

cfslack
Member
Registered: 2009-10-23
Posts: 6

LAMP system at local level problem whit libphp5

Well, I proposed to implement a LAMP system for testing at the local level, but I lack a point, to enable PHP for that I load the module in the conf. Apache, but the system do not have the library "libphp5.so"

When you load the module into the configuration, I returned the following error:

[root @ slack slack] # apachectl-t
httpd: Syntax error on line 120 of / etc / httpd / conf / httpd.conf: Can not load / etc/httpd/modules/libphp5.so into server: / etc/httpd/modules/libphp5.so: can not open shared object file : No such file or directory

So look for the famous library

[root @ slack slack] # locate libphp
[root @ slack slack] #

but not found, it goes without saying that I have installed php:

[root @ slack slack] # pacman-S php
warning: php-5.3.0-5 is up to date - reinstalling

Any ideas?

greetings!

Offline

#2 2009-10-23 16:41:31

magnusk
Member
From: Arlöv, Sweden
Registered: 2009-09-13
Posts: 9

Re: LAMP system at local level problem whit libphp5

Install php-apache and add the lines:
LoadModule php5_module modules/libphp5.so
Include conf/extra/php5_module.conf
to /etc/httpd/conf/httpd.conf

Last edited by magnusk (2009-10-23 16:42:30)


I am not stupid. I just have bad luck when thinking.

Offline

#3 2009-10-23 16:54:15

Zeist
Arch Linux f@h Team Member
Registered: 2008-07-04
Posts: 532

Re: LAMP system at local level problem whit libphp5

I would recommend reading:

http://wiki.archlinux.org/index.php/LAMP


I haven't lost my mind; I have a tape back-up somewhere.
Twitter

Offline

#4 2009-10-23 17:00:34

cfslack
Member
Registered: 2009-10-23
Posts: 6

Re: LAMP system at local level problem whit libphp5

well, now it's working, i'm install "php-apache" and tis fixed the problem!

Thank's

Offline

Board footer

Powered by FluxBB