Results 1 to 2 of 2
Discuss get working php (5.2.8) on lighttpd at the Free Toolchain Software (Cydia App's) - Hackint0sh.org; hi guys someone had managed to get working php 5.2.8 (from cydia) on lighttpd?...
  1. #1
    Newbie Array

    Join Date
    Jan 2009
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default get working php (5.2.8) on lighttpd

    hi guys

    someone had managed to get working php 5.2.8 (from cydia) on lighttpd?



  2. #2
    Newbie Array

    Join Date
    Feb 2009
    Location
    Tegucigalpa, Honduras
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Smile Works! / Trabaja!

    Code:
    [root@iPhone-de-hell1]# dpkg -l | grep -E "php|lighttpd|lynx"
    ii  lighttpd                               1.4.18-6         very small, supposedly fast, webserver
    ii  lynx                                   2.8.6-4          older, better, console web browser
    ii  php                                    5.2.8-3          overly popular HTML templating language
    
    [root@iPhone-de-hell1]# cat lighttpd.conf
    server.port                 = 80
    server.errorlog            =  "/tmp/lighttpd.error.log"
    server.name                = "www.example.org"
    server.tag                 = "Apache 1.3.29"
    server.dir-listing          = "enable"
    
    server.modules             = (
    "mod_cgi"
    )
    
    cgi.assign = ( ".php" => "/usr/bin/php-cgi" )
    server.document-root         = "/var/root"
    
    [root@iPhone-de-hell1]# cat test.php
    <?php
      phpinfo();
    ?>
    
    [root@iPhone-de-hell1]# lighttpd -f lighttpd.conf
    
    [root@iPhone-de-hell1]# lynx http://127.0.0.1/test.php --dump | grep "PHP"
       [1]PHP Logo
    PHP Version 5.2.8
       PHP API 20041225
       PHP Extension 20060613
       Registered PHP Streams php, file, data, http, ftp
    [3]PHP Credits
    PHP Core
       session.name                    PHPSESSID   PHPSESSID
       safe_mode_allowed_env_vars PHP_ PHP_
    PHP Variables
       _SERVER["PHP_SELF"] /test.php
    PHP License
       under the terms of the PHP License as published by the PHP Group and
       If you did not receive a copy of the PHP license, or have any questions
       about PHP licensing, please contact license@php.net.
       3. http://127.0.0.1/test.php?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000
    
    Last edited by hell1; 02-05-2009 at 05:18 PM.

 

 

Similar Threads

  1. ✰✰ iphone web server project (lighttpd) ✰✰
    By srvsrvsrv in forum iOS 3.x (iPhone OS 3.x)
    Replies: 0
    Last Post: 04-28-2010, 11:23 AM
  2. Replies: 9
    Last Post: 07-23-2008, 01:53 PM
  3. Lighttpd offline
    By lolof in forum Free Toolchain Software (Cydia App's)
    Replies: 2
    Last Post: 01-13-2008, 09:59 PM
  4. Lighttpd security & power usage
    By iPhoneDave in forum Free Toolchain Software (Cydia App's)
    Replies: 0
    Last Post: 11-10-2007, 01:54 AM
  5. Lighttpd + Ruby
    By Chapaev in forum Free Toolchain Software (Cydia App's)
    Replies: 0
    Last Post: 10-03-2007, 11:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 02:00 AM.
twitter, follow us!