![]() |
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. |
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 :) |
Re: N9 - Apache+php
I'm looking forward your apdate
|
Re: N9 - Apache+php
1 Attachment(s)
Please do try to install again :)
|
Re: N9 - Apache+php
I apologize, but i can't understand versions packages not changed (openrepos), so where i can download your update apache?
|
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 |
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) ~ # |
Re: N9 - Apache+php
devel-su ;)
you need to do this as root |
Re: N9 - Apache+php
Quote:
# 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 |
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. |
Re: N9 - Apache+php
When I'm trying to install pcre_8.33-1_armel.deb (kernel+), I get this error:
~ # AEGIS_FIXED_ORIGIN=com.nokia.maemo dpkg -i pcre_8.33-1_armel.deb (Reading database ... 49672 files and directories currently installed.) Unpacking pcre (from pcre_8.33-1_armel.deb) ... dpkg: error processing pcre_8.33-1_armel.deb (--install): trying to overwrite '/usr/share/man/man1/pcretest.1.gz', which is also in package libpcre3 8.12-3maemo1+0m6 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 in copy: Broken pipe dpkg-deb: subprocess <decompress> returned error exit status 2 Errors were encountered while processing: pcre_8.33-1_armel.deb aegis-NOT-installing pcre (from 'com.nokia.maemo') If there is somebody alive around here, I would appreciate help =) |
Re: N9 - Apache+php
Quote:
You can install it by forcing install (it doesnt break anything) Code:
AEGIS_FIXED_ORIGIN=com.nokia.maemo dpkg -i --force-all pcre_8.33-1_armel.deb |
Re: N9 - Apache+php
Unfortunately, now when I'm trying to start the server it says there is lib missing:
Code:
/usr/local/apache2/bin # ./apachectl start Installed apr-util, but still nothing Well, I installed apr-util and apr and it seems everything is ok more or less) now it shows only: Code:
/usr/local/apache2/bin # ./apachectl start Yes, I got 'It works!' message) Yay) Now cannot make php work %) Can't find libphp5.so or any php module anywhere on the device. |
All times are GMT. The time now is 11:40. |
vBulletin® Version 3.8.8