LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-12-2004, 08:15 PM   #1
GauSs_
LQ Newbie
 
Registered: Aug 2004
Location: Croatia/Split-Zagreb
Distribution: mandrake 10.1
Posts: 10

Rep: Reputation: 0

i've installed mandrake 10.0 on my comp( with WEB/FTP option on) and wrote simple php script( saved it into my home directory)! when i open it with mozilla my php script isn't working! The browser works with it like it is simple html document?

1) Do i need to change some .conf file?
2) Where do i need to put my php scripts?

Thanks 4 the answer
 
Old 08-13-2004, 04:37 AM   #2
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Hello GauSs_

You should have posted your new question in a new thread, but dont worry as I've informed the mods and they should split these posts off and put the new thread in a more relevant forum, eg Networking or Software.

Are you using apache2 or apache? Have you installed the apache2 mod_php?
 
Old 08-13-2004, 05:04 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Done. New thread created.
 
Old 08-13-2004, 06:07 AM   #4
GauSs_
LQ Newbie
 
Registered: Aug 2004
Location: Croatia/Split-Zagreb
Distribution: mandrake 10.1
Posts: 10

Original Poster
Rep: Reputation: 0
tnx 4 moving my post! i didn't know where to put it!
yes i've installed apache2_mod_php and i'm using apache2

Last edited by GauSs_; 08-13-2004 at 06:09 AM.
 
Old 08-13-2004, 10:10 AM   #5
GauSs_
LQ Newbie
 
Registered: Aug 2004
Location: Croatia/Split-Zagreb
Distribution: mandrake 10.1
Posts: 10

Original Poster
Rep: Reputation: 0
me again! it seems that only apache2-mod_perl is started automatically! How can i start apache2-mod_php?

Last edited by GauSs_; 08-13-2004 at 10:11 AM.
 
Old 08-13-2004, 11:14 AM   #6
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 243Reputation: 243Reputation: 243
what does ' cat httpd.conf | grep php ' say ?
 
Old 08-13-2004, 02:27 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
When you say that you opened it up in mozilla - what does it say in the address bar?

Are you accessing it via your webserver?
 
Old 08-13-2004, 03:02 PM   #8
GauSs_
LQ Newbie
 
Registered: Aug 2004
Location: Croatia/Split-Zagreb
Distribution: mandrake 10.1
Posts: 10

Original Poster
Rep: Reputation: 0
i've worked it out! it seems that i probably scruwed up something during my work with mandrake so i reinstalled it and now it seems to work! tnx all 4 help
 
  


Reply


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
Are PHP session variables held in memory when you leave a PHP site? Locura Programming 11 11-16-2008 08:37 PM
php5 apache2 mysql4 don't work, php does not seem to read php.ini atom Linux - Software 5 03-24-2005 11:05 AM
php apache or php cgi - php learner rblampain Linux - Security 3 12-17-2004 11:10 PM
PHP -- How to execute a shell script from PHP using FTP functions?? zoonalex Programming 3 07-29-2004 11:51 AM
Updating php 4.3.1 from tar and keeping current php configuration with mandrake 9.1 mrjeep Linux - General 0 04-02-2003 07:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:18 AM.

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