Notices


Reply
Thread Tools
Posts: 4 | Thanked: 0 times | Joined on Apr 2014
#1
Hi guys!
Who can explain, how add php module in apache?

I used openrepos
apache2_2.4.6_armel.deb
php_5.5.4_armel.deb

In manual says, edit your httpd.conf for loading php module
LoadModule php5_module modules/libphp5.so

But where this lib? I cant understand what i must do.

Help me please and sorry for my bad english.
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#2
edit the file (remove the # tag in the line containing #LoadModule php5_module)

/usr/local/apache/conf/httpd.conf

edit: well, I just realized, I didnt compile the php5 module
wait a few days, and I will update apache with this

Last edited by nieldk; 2014-04-29 at 04:17.
 
Posts: 4 | Thanked: 0 times | Joined on Apr 2014
#3
I'm looking forward your apdate
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#4
Please do try to install again
Attached Images
 
 
Posts: 4 | Thanked: 0 times | Joined on Apr 2014
#5
I apologize, but i can't understand versions packages not changed (openrepos), so where i can download your update apache?
 
Posts: 4 | Thanked: 0 times | Joined on Apr 2014
#6
I'm install updated apache (thank for work) but have trouble

When i try to start apache i see next


~ # /usr/local/apache2/bin/apachectl start
/usr/local/apache2/bin/httpd: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory

When i try install pcre_8.33-1_armel.deb

Errors were encountered while processing:
/home/user/MyDocs/Q/pcre_8.33-1_armel.deb
aegis-NOT-installing pcre (from '')

*use open mode kernel

Last edited by 0vod; 2014-05-01 at 12:41.
 
Posts: 114 | Thanked: 381 times | Joined on Jan 2014
#7
Hi, I'm encountering an error while trying to install apache. Can some one point out what I am missing.

This is what I get.

Unpacking apache2 (from .../apache2_2.4.9_armel.deb) ...
dpkg: error processing /var/cache/apt/archives/apache2_2.4.9_armel.deb (--unpack):
error setting permissions of `./usr/local/apache2': Operation not permitted
dpkg-deb (subprocess): data: internal gzip write error: Broken pipe
dpkg-deb (subprocess): failed in write on buffer copy for failed to write to pipe incopy: Broken pipe
dpkg-deb: subprocess <decompress> returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/apache2_2.4.9_armel.deb
aegis-NOT-installing apache2 (from 'com.nokia.maemo/net.openrepos.harmattan')
Updating desktop entries... Done
E: Sub-process /usr/bin/dpkg returned an error code (1)
~ #
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#8
devel-su
you need to do this as root
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#9
Originally Posted by 0vod View Post
I'm install updated apache (thank for work) but have trouble

When i try to start apache i see next


~ # /usr/local/apache2/bin/apachectl start
/usr/local/apache2/bin/httpd: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory

When i try install pcre_8.33-1_armel.deb

Errors were encountered while processing:
/home/user/MyDocs/Q/pcre_8.33-1_armel.deb
aegis-NOT-installing pcre (from '')

*use open mode kernel
you need to install with
# AEGIS_FIXED_ORIGIN=com.nokia.maemo dpkg -i pcre_8.33-1_armel.deb

its a system library that gets replaced, and aegis is prventing installation from a less trusted source
 
Posts: 114 | Thanked: 381 times | Joined on Jan 2014
#10
Of course I was root. And I even tried coderus' hack installer. I dont know why that pwrmission error showed up even though I was root.

Anyway. I tried installing after devel-su and develsh and it worked. Thanks.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 10:59.