PHP on DSLForum: Other Help Topics Topic: PHP on DSL started by: php1 Posted by php1 on Dec. 17 2005,22:46
Hello, is it possible to install php (http://www.php.net) on DSL ? Sven Posted by php1 on Dec. 17 2005,22:52
Does DSL have a C/C++ compiler ?Sven Posted by RoGuE_StreaK on Dec. 18 2005,00:25
Haven't checked out PHP for DSL in a while, but there was an extension somewhere in the repository for PHP for the monkey web server. Worked as far as I tested it, which admittedly wasn't very far.And supposedly if you get < XAMPP >, it's Apache, PHP, MySQL etc all in one package, that extracts to a single dir in /opt, so you can back it up easily. But I haven't gotten around to trying this one yet. Short answer, yes it's possible, though not sure if there's any functionalities that may not work "out of the box". Posted by php1 on Dec. 18 2005,09:48
Hello, I downloaded XAMPP and tried to install it, but I've been unable to extract the *.tar.gz to /opt. I don't know why. If I try to install the php5 extension for Monkey, it says, that there was no gcc or cc. Sven Posted by newOldUser on Dec. 18 2005,14:24
php1,Xampp version 1.5 works fine for me on DSL version 1.5 I think that box has a hard drive install of DSL on it. How are you running DSL? Xampp gets extracted into the /opt/lampp directory. Good luck Posted by eimajenthat on Dec. 20 2005,10:24
How much space does that Xlampp whosit take up? ATM, I'm using the MonkeyWeb daemon which is doing just fine. Rather nifty, in fact. But I don't see a plugin for PHP5 for it, only PHP4. If it's got PHP5, where can I get it? Otherwise, I better look in to the lamp thing. It sounds cool, but heavy. For the project I want to play with I'll probably need apache and sql anyway.I don't suppose there's a super lightweight SQL Server? Although, I don't actually know how much space MySQL and PostgreSQL take up. I'm really committed to the whole lean machine thing, but I'm gonna need some a this stuff for a work project. To the guy with installation troubles, if you're running off CD, there sometimes seems to be more than one /opt, it's kinda confusing. That might be part of your problem. I had to untar the PHP4 package from the root directory, else is made extra /opt directories and other strangeness. Posted by newOldUser on Dec. 20 2005,11:56
More info about Xampp can be found at < the Xampp website > It's about a 50 meg download but off hand I don't know how big it expands to.DSL comes with a SQL engine called SQLite. More info at < the SQLite website > I'm not sure what version DSL has. The last time I looked it was 2.8 but that wasn't the current version of DSL. I know I remember reading somewhere that Roberts had used a PHP-SQLite interface for some script (might be the new calendar). You can do a lot with Monkey-PHP-SQLite so you may want to pursue that if you want to stay lean and quick. Good luck Posted by eimajenthat on Dec. 21 2005,00:10
Kick ass!
|