WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to compile php5 cli  (Read 2343 times)

Offline roman.styler

  • Newbie
  • *
  • Posts: 12
How to compile php5 cli
« on: October 07, 2010, 01:18:09 PM »
Hi all!
At this moment I need possibility to use sockets extension with php5 cli. But unfortunately php5 extension doesn't have this function.
So I decided to compile php5 on tinycore. Before I haven't had any experience with linux, thats why I have a lot of problems.
From php.net I've downloaded last sources of php5 and extracted them into /home/install/php5 folder.
After I tried to reproduce instructions from here:
http://www.web-tech-india.com/articles/php/compiling_php_apache/

But, I think, before I have to install compiler and other necessary software.
Please, help me. What I have to do, because command ./configure returns a lot of errors. And I'm not able to go forward.
Note. I want to have only php5 cli software without apache.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: How to compile php5 cli
« Reply #1 on: October 07, 2010, 02:04:22 PM »
Use the appbrowser to load the compiletc extension - you could also take a look at the extensions section of the wiki

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: How to compile php5 cli
« Reply #2 on: October 07, 2010, 06:06:16 PM »
adding sockets should be easy...i'll try to get to a php update tonight
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline roman.styler

  • Newbie
  • *
  • Posts: 12
Re: How to compile php5 cli
« Reply #3 on: October 08, 2010, 03:09:34 AM »
Thank you, I am eternally grateful !!!