Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Web Coding

Reply
 
LinkBack Thread Tools
Old 09-21-08   #1 (permalink)
Programmer
 
metala's Avatar
 
intel ati

Join Date: Aug 2006
Location: Blagoevgrad, Bulgaria
Posts: 828
Blog Entries: 2

Rep: 37 metala is acknowledged by some
Unique Rep: 33
Trader Rating: 0
Default [project] Phlame - PHP Web Server with PHP support

I know how it sounds ... web server written in PHP .
I told a friend of mine about this project. He laughed and said "I would told you that you were enthusiast, but because you reach your goals (mentioned about my other project), I'll just call you insane." (something like that)



Project: Phlame (originally Swamp)
Description: Web server written in PHP with PHP support.
License: GNU GPLv2
OS: Linux , Windows
Started on: 19th September 2008
Version: Linux Alpha 0.1.41 (08.10.2008 (dd/mm/yyyy) 11:06 UTC+3)

Features:
PHP support through cgi-fcgi SAPI
PHP support is multi-threaded.
OS independent & Portable
SSL support
Half the performance of the latest version (2.2.9) of Apache
Small sized (17KB - the PHP source)

Download: (download links point to my phlame.metala.org)
Linux Alpha 0.1.41
Portable version ( PHP + Server code + source)
Server code + source

Archive
(24.09.2008 01:23 GMT+2)
Phlame Web server package Alpha 0.1.25
It contains compiled PHP interpreter for Windows, so you don't need to install PHP on your own. However, Linux support still depends on PHP (cli) and php-cgi installed.
Phlame Alpha 0.1.25 (with precompiled Windows PHP)

Known issues:


TODO:
- HTTP errors
- module based
- autoindex
- fcgi
- add mono project support
- divide in process sections

Changelog since Alpha 1
Alpha (0.)1.1:
FIX: url syntax
ADD: Some ENV variables
Alpha (0.)1.25:
ADD: Windows support
ADD: config
ADD: DirectoryIndex files
ADD: Content-Type by extension
CHANGE: phlameSrv class is no longer abstract.
FIX: some bug fixes and typos.
Linux Alpha 0.1.41
ADD: SSL support
ADD: Precompiled PHP Interpreter (Debain i686 repository)
CHANGE: Switched from Sockets extension to internal stream_socket functionality
ADD+FIX: Parsing response headers; fixed Status line parsing from PHP-CGI
CHANGE: Version number changed from Alpha 1.x to Alpha 0.1.x
__________________
System: Korpus
CPU
Core 2 Duo E6750@1.144V stable
Motherboard
Asus P5K
Memory
4 x 1GB Kingmax @ 1066MHz DDR2
Graphics Card
Sapphire Radeon HD 2600 XT 256MB GDDR3 850/810
Hard Drive
320GB Seagate ST3320620AS
Sound Card
24bit ALC883 7.1+2 & ATI's HDMI
Power Supply
FORTRON PNF-350
Case
Generic brand
CPU cooling
Stock
GPU cooling
Stock
OS
Debian Lenny + Windows XP
Monitor
19" Philips 19S7FS

Last edited by metala : 3 Weeks Ago at 03:57 PM.
metala is offline   Reply With Quote
Old 09-21-08   #2 (permalink)
Linux Lobbyist
 
error10's Avatar
 
intel nvidia

Join Date: Sep 2008
Location: Manchester, New Hampshire
Posts: 4,385

Rep: 473 error10 is a proven membererror10 is a proven membererror10 is a proven membererror10 is a proven membererror10 is a proven member
Unique Rep: 333
Folding Team Rank: 103
Hardware Reviews: 1
Trader Rating: 5
Default

Very creative. If you've got eAccelerator or something similar installed the performance might not be half bad.

System: Underground
CPU
Q9550 E0 450x8.5 (and climbing slowly)
Motherboard
ASUS P5E Deluxe w/Rampage Formula 0410 BIOS
Memory
4x2GB mushkin 996580 @ 1081 5-5-5-15
Graphics Card
EVGA 9800 GT Superclocked 512MB
Hard Drive
WD1001FALS
Sound Card
SupremeFX II
Power Supply
OCZ StealthXStream 600W
Case
Thermaltake Armor VA8003BWS
CPU cooling
TRUE Lapped + Scythe Slip Stream 1900
GPU cooling
Stock
OS
Fedora 10 x86_64
Monitor
HP w19b
error10 is online now I fold for Overclock.net error10's Gallery   Reply With Quote
Old 09-21-08   #3 (permalink)
AMD Overclocker
 
KloroFormd's Avatar
 
amd ati

Join Date: Apr 2007
Location: Dallas, TX
Posts: 1,597

Rep: 143 KloroFormd is acknowledged by manyKloroFormd is acknowledged by many
Unique Rep: 109
Trader Rating: 1
Default

...why?

Nice work... but why?
__________________
Current Settings: 2.625GHz

I did Latty's Linux Challenge and I now still use Linux!

System: FrankenF0cker
CPU
AMD A64 X2 4000+ Brissy @ 2.6GHz
Motherboard
Biostar GeForce 6100 AM2
Memory
2x512MB Kingston & 2x2GB AData
Graphics Card
Gigabyte ATI 4850 @ 735/1050
Hard Drive
250GB WD SATA-II
Sound Card
Onboard
Power Supply
HEC 585-watt
Case
Just4PC Cheapo
CPU cooling
AC64 Pro/AC MX-2 TIM
GPU cooling
Stock Zalman
OS
vLite x64 Ult. | Ubuntu 8.04 x64
Monitor
17" Viewsonic LCD
KloroFormd is offline   Reply With Quote
Old 09-21-08   #4 (permalink)
Programmer
 
metala's Avatar
 
intel ati

Join Date: Aug 2006
Location: Blagoevgrad, Bulgaria
Posts: 828
Blog Entries: 2

Rep: 37 metala is acknowledged by some
Unique Rep: 33
Trader Rating: 0
Default

Quote:
Originally Posted by KloroFormd View Post
...why?

Nice work... but why?
I wanted a full platform. My web apps + my web server. Like AMD wanted own chipsets, graphics and processors :P
The second most reason why, is because I want to make portable web email client, without the need of large xampp/wamp/lamp with apache & mysql.

PS.
I added Alpha 1.1, with some fixes - url syntax, env variables....
__________________
Debian worshipper, PHP phanatic
My: Clubs, Photo
Quote:
Originally Posted by mct75 View Post
I get tired of seeing every AMD thread ragged to death by intel users saying AMD sucks.
I use an AMD processor but I respect intel users enough to not go into their threads and harass them to death.

System: Korpus
CPU
Core 2 Duo E6750@1.144V stable
Motherboard
Asus P5K
Memory
4 x 1GB Kingmax @ 1066MHz DDR2
Graphics Card
Sapphire Radeon HD 2600 XT 256MB GDDR3 850/810
Hard Drive
320GB Seagate ST3320620AS
Sound Card
24bit ALC883 7.1+2 & ATI's HDMI
Power Supply
FORTRON PNF-350
Case
Generic brand
CPU cooling
Stock
GPU cooling
Stock
OS
Debian Lenny + Windows XP
Monitor
19" Philips 19S7FS

Last edited by metala : 09-22-08 at 05:53 AM.
metala is offline   Reply With Quote
Old 09-22-08   #5 (permalink)
Linux Lobbyist
 
error10's Avatar
 
intel nvidia

Join Date: Sep 2008
Location: Manchester, New Hampshire
Posts: 4,385

Rep: 473 error10 is a proven membererror10 is a proven membererror10 is a proven membererror10 is a proven membererror10 is a proven member
Unique Rep: 333
Folding Team Rank: 103
Hardware Reviews: 1
Trader Rating: 5
Default

Now put up a web site somewhere running this thing where we can download it..

System: Underground
CPU
Q9550 E0 450x8.5 (and climbing slowly)
Motherboard
ASUS P5E Deluxe w/Rampage Formula 0410 BIOS
Memory
4x2GB mushkin 996580 @ 1081 5-5-5-15
Graphics Card
EVGA 9800 GT Superclocked 512MB
Hard Drive
WD1001FALS
Sound Card
SupremeFX II
Power Supply
OCZ StealthXStream 600W
Case
Thermaltake Armor VA8003BWS
CPU cooling
TRUE Lapped + Scythe Slip Stream 1900
GPU cooling
Stock
OS
Fedora 10 x86_64
Monitor
HP w19b
error10 is online now I fold for Overclock.net error10's Gallery   Reply With Quote
Old 09-22-08   #6 (permalink)
Programmer
 
metala's Avatar
 
intel ati

Join Date: Aug 2006
Location: Blagoevgrad, Bulgaria
Posts: 828
Blog Entries: 2

Rep: 37 metala is acknowledged by some
Unique Rep: 33
Trader Rating: 0
Default

Quote:
Originally Posted by error10 View Post
Now put up a web site somewhere running this thing where we can download it..
OK... after some Beta release.
__________________
Debian worshipper, PHP phanatic
My: Clubs, Photo
Quote:
Originally Posted by mct75 View Post
I get tired of seeing every AMD thread ragged to death by intel users saying AMD sucks.
I use an AMD processor but I respect intel users enough to not go into their threads and harass them to death.

System: Korpus
CPU
Core 2 Duo E6750@1.144V stable
Motherboard
Asus P5K
Memory
4 x 1GB Kingmax @ 1066MHz DDR2
Graphics Card
Sapphire Radeon HD 2600 XT 256MB GDDR3 850/810
Hard Drive
320GB Seagate ST3320620AS
Sound Card
24bit ALC883 7.1+2 & ATI's HDMI
Power Supply
FORTRON PNF-350
Case
Generic brand
CPU cooling
Stock
GPU cooling
Stock
OS
Debian Lenny + Windows XP
Monitor
19" Philips 19S7FS

Last edited by metala : 09-22-08 at 07:59 AM.
metala is offline   Reply With Quote
Old 09-22-08   #7 (permalink)
Programmer
 
metala's Avatar
 
intel ati

Join Date: Aug 2006
Location: Blagoevgrad, Bulgaria
Posts: 828
Blog Entries: 2

Rep: 37 metala is acknowledged by some
Unique Rep: 33
Trader Rating: 0
Default

Quote:
Originally Posted by error10 View Post
Very creative. If you've got eAccelerator or something similar installed the performance might not be half bad.
I have managed to make it run under Windows, but it seems to be slow (that's because ran it from usb stick). For every PHP file you open (index.php, phpmyadmin.css.php...), the server initiates a sub process of php-cgi, that's how it is multi-threaded. The problem is that running brand new instance of php-cgi, causes PHP to load all the modules and functions again and again. When running PHP as a module of Apache, these PHP modules are loaded with the server.

eAccelerator will help with the data transfer.

I'm currently thinking of making swamp modules, in order to make autoindex, mimetypes, rewrite, alias... etc.

3 days of work and having 80% working server is more than I excected to do.

Something really important:
I'm looking for a new name, because I saw that there is already project with that name. I tend to choose name and then check if it's already taken. Names are of great importance in my projects.
I'm thinking right now of PHPUSE ( PHP Ueb SErver)

PS.
I stopped on Phlame.

PS2.
I'll think about the server while being at class. I'm last grade high school student, and have nothing to do, excluding that I have to fill up tests.
__________________
Debian worshipper, PHP phanatic
My: Clubs, Photo
Quote:
Originally Posted by mct75 View Post
I get tired of seeing every AMD thread ragged to death by intel users saying AMD sucks.
I use an AMD processor but I respect intel users enough to not go into their threads and harass them to death.

System: Korpus
CPU
Core 2 Duo E6750@1.144V stable
Motherboard
Asus P5K
Memory
4 x 1GB Kingmax @ 1066MHz DDR2
Graphics Card
Sapphire Radeon HD 2600 XT 256MB GDDR3 850/810
Hard Drive
320GB Seagate ST3320620AS
Sound Card
24bit ALC883 7.1+2 & ATI's HDMI
Power Supply
FORTRON PNF-350
Case
Generic brand
CPU cooling
Stock
GPU cooling
Stock
OS
Debian Lenny + Windows XP
Monitor
19" Philips 19S7FS

Last edited by metala : 09-23-08 at 06:45 AM.
metala is offline   Reply With Quote
Old 09-23-08   #8 (permalink)
Programmer
 
metala's Avatar
 
intel ati

Join Date: Aug 2006
Location: Blagoevgrad, Bulgaria
Posts: 828
Blog Entries: 2

Rep: 37 metala is acknowledged by some
Unique Rep: 33
Trader Rating: 0
Default

I released a package of Alpha 1.25.

Here are the installation instructions that are also contained in the archive.
Quote:
### Installation ###
These instuctions are after extracting the package contents...

//Windows
Edit the PHP extensions path in ini file "phlame\php-windows\php-phlame.ini"

extension_dir = "/phlame/php-windows/ext/"

Edit the following lines in file "phlame\conf\php-windows.ini", according to server root path.

doc_root = "/phlame/htdocs"
extension_dir = "/phlame/php-windows/ext/"
session.save_path = "/phlame/tmp/session"
upload_tmp_dir = /phlame/tmp/upload

//Linux

Edit the following lines in file "phlame/conf/php-linux.ini", according to server root path.

doc_root = "/phlame/htdocs"
session.save_path = "/phlame/tmp/session"
upload_tmp_dir = /phlame/tmp/upload



### Run process ###

//Windows
1.Start phlame-windows-start.bat
This will bind Phlame on 80 port, if available, otherwise will wait until it becomes available.
2.Open command prompt (aka. DOS)
Change directory to the server root.
Run phlame-windows.bat -s -p <port>

//Linux
Run shell in the server root.
Run ./phlame-linux -s -p <port>
__________________
Debian worshipper, PHP phanatic
My: Clubs, Photo
Quote:
Originally Posted by mct75 View Post
I get tired of seeing every AMD thread ragged to death by intel users saying AMD sucks.
I use an AMD processor but I respect intel users enough to not go into their threads and harass them to death.

System: Korpus
CPU
Core 2 Duo E6750@1.144V stable
Motherboard
Asus P5K
Memory
4 x 1GB Kingmax @ 1066MHz DDR2
Graphics Card
Sapphire Radeon HD 2600 XT 256MB GDDR3 850/810
Hard Drive
320GB Seagate ST3320620AS
Sound Card
24bit ALC883 7.1+2 & ATI's HDMI
Power Supply
FORTRON PNF-350
Case
Generic brand
CPU cooling
Stock
GPU cooling
Stock
OS
Debian Lenny + Windows XP
Monitor
19" Philips 19S7FS

Last edited by metala : 09-24-08 at 04:01 AM.
metala is offline   Reply With Quote
Old 09-24-08   #9 (permalink)
Linux Lobbyist
 
error10's Avatar
 
intel nvidia

Join Date: Sep 2008
Location: Manchester, New Hampshire
Posts: 4,385

Rep: 473 error10 is a proven membererror10 is a proven membererror10 is a proven membererror10 is a proven membererror10 is a proven member
Unique Rep: 333
Folding Team Rank: 103
Hardware Reviews: 1
Trader Rating: 5
Default

Quote:
Originally Posted by metala View Post
Edit the PHP extensions path in ini file "phlamephp-windowsphp-phlame.ini"
I'm just guessing here, but shouldn't this say something like:

Quote:
Edit the PHP extensions path in ini file "phlame/php-windows/php-phlame.ini"

System: Underground
CPU
Q9550 E0 450x8.5 (and climbing slowly)
Motherboard
ASUS P5E Deluxe w/Rampage Formula 0410 BIOS
Memory
4x2GB mushkin 996580 @ 1081 5-5-5-15
Graphics Card
EVGA 9800 GT Superclocked 512MB
Hard Drive
WD1001FALS
Sound Card
SupremeFX II
Power Supply
OCZ StealthXStream 600W
Case
Thermaltake Armor VA8003BWS
CPU cooling
TRUE Lapped + Scythe Slip Stream 1900
GPU cooling
Stock
OS
Fedora 10 x86_64
Monitor
HP w19b
error10 is online now I fold for Overclock.net error10's Gallery   Reply With Quote
Old 09-24-08   #10 (permalink)
Programmer
 
metala's Avatar
 
intel ati

Join Date: Aug 2006
Location: Blagoevgrad, Bulgaria
Posts: 828
Blog Entries: 2

Rep: 37 metala is acknowledged by some
Unique Rep: 33
Trader Rating: 0
Default

Quote:
Originally Posted by error10 View Post
I'm just guessing here, but shouldn't this say something like:
When in quote and code... \ just disappears, I'll try \\
__________________
Debian worshipper, PHP phanatic
My: Clubs, Photo
Quote:
Originally Posted by mct75 View Post
I get tired of seeing every AMD thread ragged to death by intel users saying AMD sucks.
I use an AMD processor but I respect intel users enough to not go into their threads and harass them to death.

System: Korpus
CPU
Core 2 Duo E6750@1.144V stable
Motherboard
Asus P5K
Memory
4 x 1GB Kingmax @ 1066MHz DDR2
Graphics Card
Sapphire Radeon HD 2600 XT 256MB GDDR3 850/810
Hard Drive
320GB Seagate ST3320620AS
Sound Card
24bit ALC883 7.1+2 & ATI's HDMI
Power Supply
FORTRON PNF-350
Case
Generic brand
CPU cooling
Stock
GPU cooling
Stock
OS
Debian Lenny + Windows XP
Monitor
19" Philips 19S7FS
metala is offline   Reply With Quote
Reply

Tags
phlame, php, portable, web server



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 09:17 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.33506 seconds with 9 queries