Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 10-30-2004, 06:58 AM   #1
Registered: Oct 2004
Posts: 31

Rep: Reputation: 15
running apache/php files

hey guys, i have just installed morphix/debian on my hardisk and am really linux newbie. therefore, be gentle and understand me if i don't get what you will try to tell me. my question is this, i want to run php codes on my computer. however, i don't know how to do this. i know that apache was installed with morphix. in addition, how can i work with mysql during the time i am on morphix.

Last edited by limp; 10-30-2004 at 06:59 AM.
Old 10-30-2004, 07:15 AM   #2
Senior Member
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
I'm assuming that mysql and PHP are not installed.
Download both packages, and and follow the instructions on their sites as they are very easy to follow.
The instructions should tell you which conf files to edit and what to insert into them.

If they are installed or you are unsure if they are, do the following

at a prompt, type mysql

Create this file
and call it test.php
view it in a browser.

Last edited by musicman_ace; 10-30-2004 at 07:17 AM.
Old 10-30-2004, 07:35 AM   #3
Registered: Oct 2004
Posts: 31

Original Poster
Rep: Reputation: 15
yeah, it doesn't contain neither php nor mysql files. i will install them later, when i get a lot of free time. thank you for your help.
Old 11-07-2004, 09:10 PM   #4
Registered: Mar 2004
Posts: 41

Rep: Reputation: 15
Morphix is debian-based. You should be able to run the following to install php and mysql:

apt-get update
apt-get install php4 mysql-server


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 2, PHP 5, SuSE 9.2 - cannot run php files dickohead Linux - Networking 6 06-28-2006 11:25 AM
rpm reqmt for running php + mysql + apache ankscorek Linux - Software 1 04-12-2005 10:59 PM
Apache not running php scripts Seventh Linux - Newbie 3 01-08-2004 09:35 PM
I got Apache and PHP running easier than in W98 fedetxf Member Success Stories 0 12-01-2003 10:31 AM is running Apache/1.3.24 (Unix) PHP/4.2.0 rverlander LQ Suggestions & Feedback 3 09-08-2002 01:50 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration