maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   N9 - Apache+php (https://talk.maemo.org/showthread.php?t=93100)

0vod 2014-04-29 01:07

N9 - Apache+php
 
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.

nieldk 2014-04-29 03:49

Re: N9 - Apache+php
 
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 :)

0vod 2014-04-29 05:05

Re: N9 - Apache+php
 
I'm looking forward your apdate

nieldk 2014-04-29 13:17

Re: N9 - Apache+php
 
1 Attachment(s)
Please do try to install again :)

0vod 2014-04-30 12:50

Re: N9 - Apache+php
 
I apologize, but i can't understand versions packages not changed (openrepos), so where i can download your update apache?

0vod 2014-05-01 12:33

Re: N9 - Apache+php
 
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

lal 2014-05-05 15:31

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)
~ #

nieldk 2014-05-05 16:44

Re: N9 - Apache+php
 
devel-su ;)
you need to do this as root

nieldk 2014-05-05 16:47

Re: N9 - Apache+php
 
Quote:

Originally Posted by 0vod (Post 1423645)
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

lal 2014-05-06 00:48

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.


All times are GMT. The time now is 09:27.

vBulletin® Version 3.8.8