Click to See Complete Forum and Search --> : Setting up PHP learning/practice box; need advice on Mandrake install.


Alex Ethridge
07-23-2005, 03:17 AM
I want to be able to learn PHP and test-run my scripts on a Linux box.

Mandrake has check-boxes during the installation that allow for component selections. What should I tic in these boxes so that I will have done the Linux install properly for writing PHP scripts and test-running them? I know I will also need other things not available in the Mandrake install. I'm just trying to get the Mandrake install right at this point.

To be clear, this box will not be employed as an actual web server; it will be used by me for writing and test-running PHP scripts.

With my entire half-hour experience, I now know about as much about Linux as I know about moon rocks so be kind.

cybertron
07-23-2005, 09:58 AM
First, the obvious one is php. Mandriva should take care of any dependencies for that when you select it. If you want to test web-based scripts (mostly what PHP is used for:)) then you'll also need Apache and mod_php, both of which should be on the Mandriva CDs. Other than that I think you should be okay.

Actually, maybe mysql too if you're using databases with your scripts.

Alex Ethridge
07-23-2005, 12:54 PM
Thanks, I didn't know it might be that simple--that the install should take care of PHP dependencies, or that PHP was even on the install DVD.

To be clear, this is the downloaded ISO from Mandrake.

Is MySQL on that DVD, too? I guess I'll find out when I run the installation.

bsm2001
07-23-2005, 02:20 PM
All is included for a basic server setup. If you need mor then add the contrib and plf repositories to the list.

http://easyurpmi.zarb.org/

askrieger
07-23-2005, 08:11 PM
Make sure you have a good editor (either emacs or vim) for your php files. I don't know that editors get installed automagically if you just click the server box.