WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: PHP interpreter for Apache httpd server  (Read 7831 times)

Offline Alexey

  • Newbie
  • *
  • Posts: 14
PHP interpreter for Apache httpd server
« on: November 27, 2014, 08:45:36 AM »
I'd like to have Apache web server and php interpreter at PiCore.

Apache 2.4 is noticed to be at the repository, but I haven't noticed PHP interpreter at the repo.
Is it available for PiCore?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: PHP interpreter for Apache httpd server
« Reply #1 on: November 27, 2014, 12:36:30 PM »
Not yet, but will come soon together with MariaDB (MySQL). Testing it on x86 and when ok, will build them on piCore.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Alexey

  • Newbie
  • *
  • Posts: 14
Re: PHP interpreter for Apache httpd server
« Reply #2 on: November 28, 2014, 03:30:31 AM »
Goot to know it, will wait for php interpreter!
Would be nice to be able to run an interpreter as FastCGI or as an Apache module, as both possible solutions.

Offline Alexey

  • Newbie
  • *
  • Posts: 14
Re: PHP interpreter for Apache httpd server
« Reply #3 on: December 03, 2014, 04:25:27 AM »
bmarkus, would the 'mod_fcgid' (this module) be available for the upcoming php interpreter, compiled for PiCore?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: PHP interpreter for Apache httpd server
« Reply #4 on: December 03, 2014, 04:51:00 AM »
bmarkus, would the 'mod_fcgid' (this module) be available for the upcoming php interpreter, compiled for PiCore?

mod_fcgid was added to repo last week.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Alexey

  • Newbie
  • *
  • Posts: 14
Re: PHP interpreter for Apache httpd server
« Reply #5 on: December 03, 2014, 05:48:26 AM »
Sorry, I can't see it in repo.
I have also look inside 'apache2.4.tcz' archive, in '\usr\local\apache2\modules' folder - don't see 'mod_fcgid'.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: PHP interpreter for Apache httpd server
« Reply #6 on: December 03, 2014, 05:56:52 AM »
Sorry, I can't see it in repo.
I have also look inside 'apache2.4.tcz' archive, in '\usr\local\apache2\modules' folder - don't see 'mod_fcgid'.

It is in the 6.x repo.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Alexey

  • Newbie
  • *
  • Posts: 14
Re: PHP interpreter for Apache httpd server
« Reply #7 on: December 03, 2014, 06:06:58 AM »
I see it, thank you!

Offline Alexey

  • Newbie
  • *
  • Posts: 14
PHP interpreter
« Reply #8 on: December 15, 2014, 06:31:25 AM »
bmarkus, is the php interpreter available?

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 720
Re: PHP interpreter for Apache httpd server
« Reply #9 on: December 16, 2014, 03:51:15 AM »
Why not using wget ??

Code: (bash) [Select]
wget -q -O - 'http://localhost/test.php?param1=12&param2=user' | head

Offline Alexey

  • Newbie
  • *
  • Posts: 14
Re: PHP interpreter for Apache httpd server
« Reply #10 on: December 17, 2014, 01:04:46 PM »
Why not using wget ??

Code: (bash) [Select]
wget -q -O - 'http://localhost/test.php?param1=12&param2=user' | head

...how can wget be used to execute php scripts on a web server? or what do you mean?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: PHP interpreter for Apache httpd server
« Reply #11 on: December 17, 2014, 01:58:20 PM »
php.tcz added to repo. For sure it is too big and must split up to smaller tcz's but good to start. You can advise how to split it.

Please try.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 720
Re: PHP interpreter for Apache httpd server
« Reply #12 on: December 18, 2014, 04:15:33 AM »
Just mean that you can use wget to access php for command line.
If you don't have any php command line program.
If you only have an php-module in some webserver.


Why not using wget ??

Code: (bash) [Select]
wget -q -O - 'http://localhost/test.php?param1=12&param2=user' | head

...how can wget be used to execute php scripts on a web server? or what do you mean?