hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : php compiled as binary?
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

php compiled as binary?

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 08-29-2002, 02:47 AM
ntwaddel ntwaddel is offline
Web Hosting Master
 
Join Date: Jul 2002
Location: San Luis Obispo, CA
Posts: 818

php compiled as binary?


how do you compile php as a binary so i can run it at the command line? I have php compiled as a module right now. If i compile it as a binary, or whatever, will it affect the module? Whats the trick? How do i do it?

__________________
Nick Twaddell
WebSpace Solutions - Custom E-Solutions
Fast, Reliable, Affordable Web Hosting

Reply With Quote


Sponsored Links
  #2  
Old 08-29-2002, 03:17 AM
Ahmad Ahmad is offline
Web Hosting Master
 
Join Date: Jan 2002
Location: Kuwait
Posts: 679
You can have both module and binary. No problem. Chances are you already have the binary. Try:

Code:
which php

__________________
Ahmad Alhashemi
PHP, Apache, C, Python, Perl, SQL
18 related BrainBench certificates

Reply With Quote
  #3  
Old 08-29-2002, 04:12 AM
ntwaddel ntwaddel is offline
Web Hosting Master
 
Join Date: Jul 2002
Location: San Luis Obispo, CA
Posts: 818
[root@ns admin]# which php
[root@ns admin]#

__________________
Nick Twaddell
WebSpace Solutions - Custom E-Solutions
Fast, Reliable, Affordable Web Hosting

Reply With Quote
Sponsored Links
  #4  
Old 08-29-2002, 04:26 PM
SPaReK SPaReK is offline
Web Hosting Master
 
Join Date: Apr 2002
Posts: 644
Try:

locate php | grep -i bin

and see if there are any php binaries listed.

Reply With Quote
  #5  
Old 08-29-2002, 04:34 PM
Ahmad Ahmad is offline
Web Hosting Master
 
Join Date: Jan 2002
Location: Kuwait
Posts: 679
You compiled PHP as an Apache module from source?

If I recall correctly, last time I've done that, PHP was automatically compiled as an interpreter too. In any case, you can visit the source directory and:

Code:
./configure && make && make install
If you don't specify any SAPI, the default is to compile it as a binary (a.k.a: interpreter, stand-alone, cgi).

__________________
Ahmad Alhashemi
PHP, Apache, C, Python, Perl, SQL
18 related BrainBench certificates

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Researchers Urge System Admins to Check for New Apache Web Server Backdoor Malware Web Hosting News 2013-05-01 11:35:53
Mozilla Updates CA Certificate Policy for Software Products Web Hosting News 2013-02-19 12:32:22
India Cloud Market Projected to Hit $16 Billion by 2020: Study Web Hosting News 2011-12-29 19:48:42
Pacific Crossing, Infinera Complete Transpacific 100G Subsea Trial Web Hosting News 2011-10-11 18:45:38
Q&A: Joyent's Jason Hoffman on SmartOS Cloud Server Web Hosting News 2011-09-02 14:08:28


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?