Jump to content


Photo

Apahe and Php On Openpli 4.0

apache php mysql

  • Please log in to reply
60 replies to this topic

Re: Apahe and Php On Openpli 4.0 #21 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 22 September 2014 - 13:49

probably just temporary problem with the php download server (it worked on Saturday)...

if you don't want to wait, you can download the php sources e.g. from here:
http://ftp.icm.edu.p...-5.4.14.tar.bz2
put the archive into your sources directory,
also create an empty php-5.4.14.tar.bz2.done file in there,
and start baking again...


True sarcasm doesn't need green font...

Re: Apahe and Php On Openpli 4.0 #22 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 22 September 2014 - 15:01

Hi

 

I successfully compile php as your instruction.

 

when compile complete where its save.? i mean which directory i take and install .

 

Thanks for your help



Re: Apahe and Php On Openpli 4.0 #23 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 22 September 2014 - 16:28

I successfully compile i found ipk package in /build/tmp/deploy/ipk is it correct ?

 

There is i found php ( php-dbg_5.4.14-r5.0_mips32el ) which size is 19mb ) after installation 70 mb.

 

when i try to run from usr/bin/.debug folder i get this error

 

-----------------------

/usr/bin/.debug# ./php
./php: line 1:EL▒▒B4▒9▒P4: not found
./php: line 2: syntax error: unexpected word
-------------------------
Or
How i can install and run in box.?
 
Thanks


Re: Apahe and Php On Openpli 4.0 #24 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 22 September 2014 - 19:12

Search for php-5.4.14-r5.0_mips32el package. Dbg contains debug files.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Apahe and Php On Openpli 4.0 #25 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 22 September 2014 - 19:50

Hi

 

I search for php ipk what i found i attaching screenshot.

 

All these ipk files i found for php .

 

Which file i need to install and how it work in box.

 

Thanks for your reply..

Attached Files


Edited by bable, 22 September 2014 - 19:50.


Re: Apahe and Php On Openpli 4.0 #26 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 23 September 2014 - 14:03

Anyone Know.,?



Re: Apahe and Php On Openpli 4.0 #27 Sjaaky

  • Senior Member
  • 7,443 posts

+41
Good

Posted 23 September 2014 - 14:12

Copy them to your box and install them? If you kow about php, you know what these packages are for.

 

Install them with "opkg install <package-name.ipk>".


Edited by Sjaaky, 23 September 2014 - 14:18.


Re: Apahe and Php On Openpli 4.0 #28 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 23 September 2014 - 15:34

All.?



Re: Apahe and Php On Openpli 4.0 #29 Sjaaky

  • Senior Member
  • 7,443 posts

+41
Good

Posted 23 September 2014 - 15:38

Only the ones you need.



Re: Apahe and Php On Openpli 4.0 #30 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 23 September 2014 - 17:54

Hi

 

As you say i installed ipk files which i required i understand what you saying.

 

but which one is main ipk files.

 

Example

 

when we install in ubuntu we install apache and php then its run on localhost and we can run test.php.

 

Which main ipk i install and where i put test.php there is no specify.

 

Thanks for your reply



Re: Apahe and Php On Openpli 4.0 #31 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 23 September 2014 - 18:11

By the way i try to running .

 

Now install ipk i required now i try to start from init i getting this error.

 

 

 php-fpm start
 php-fpm: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory
 
its come with php compilation or need to download indivadually.
 
Thanks


Re: Apahe and Php On Openpli 4.0 #32 WanWizard

  • PLi® Core member
  • 68,559 posts

+1,737
Excellent

Posted 23 September 2014 - 21:58

you need a mysql client package.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Apahe and Php On Openpli 4.0 #33 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 24 September 2014 - 10:18

Hi

 

where to download sql client package.?

 

can you give me link or opkg instruction for openpli.

 

Thanks for your reply



Re: Apahe and Php On Openpli 4.0 #34 WanWizard

  • PLi® Core member
  • 68,559 posts

+1,737
Excellent

Posted 24 September 2014 - 11:52

I don't know, I never attempted to turn an STB into a full-blown webserver. I only know what the error means...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Apahe and Php On Openpli 4.0 #35 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 24 September 2014 - 12:06

Any body tell me where to download sql client package.?



Re: Apahe and Php On Openpli 4.0 #36 Sjaaky

  • Senior Member
  • 7,443 posts

+41
Good

Posted 24 September 2014 - 13:30

Add this line to your local.conf. It will prevent the dependency on mysql.

 

PACKAGECONFIG_pn-php = ""

 

And then rebuild the php package from the build directory:

MACHINE=xp1000 bitbake php -f -c configure
MACHINE=xp1000 bitbake php


Re: Apahe and Php On Openpli 4.0 #37 Sjaaky

  • Senior Member
  • 7,443 posts

+41
Good

Posted 24 September 2014 - 13:38

Or, in case you really need mysq, which is scarcely indicated by a mere tag on this thread, you can "bitbake mysql5".


Edited by Sjaaky, 24 September 2014 - 13:38.


Re: Apahe and Php On Openpli 4.0 #38 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 24 September 2014 - 15:10

php-fpm start
 php-fpm: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory
 
its come with php compilation or need to download indivadually.
 
Thanks

 

 

all missing dependencies (like libmysqlclient18) should have been built before building the php, so take a look into /deploy/ipk/mips32el, it should be there...

(btw. you were not prompted to install dependencies when installing the package?)


True sarcasm doesn't need green font...

Re: Apahe and Php On Openpli 4.0 #39 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 24 September 2014 - 16:42

Hi

 

There is ( sqlite3_3.8.5.0-r0_mips32el.ipk ).

 

I also compiling php as Sjaaky instruction.

 

If i install sqlite then problem will solve.?

 

Thanks for your reply and help



Re: Apahe and Php On Openpli 4.0 #40 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 24 September 2014 - 17:21

Hi

 

I solve mysql client issue. 

 

Now i getting this error.

 

php-fpm start
php-fpm: error while loading shared libraries: libpam.so.0: cannot open shared object file: No such file or directory
 
I not found this file with php ipk.
 
How i can solve this issue.
 
Thanks




Also tagged with one or more of these keywords: apache, php, mysql

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users