Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 14th June 2004, 07:49 AM
marks_linux Offline
Registered User
 
Join Date: Jun 2004
Location: UK
Age: 38
Posts: 103
Fedora Core 2 and Apache and php

Can anyone give me a step by step on how to get php and apache working together. Testing php from command line works fine, but any php in web pages does not execute.

I think the module? required for apache is missing or not installed (I'm running with default versions of appache php and mysql from the FC2 AMD 64 distro).I say this cos I've looked in /etc/httpd/modules
and there is no mention of php.

Ta In advance
Mark
__________________
AMD 64 3200+
MSI K8T Neo
1024 RAM
40GB Maxtor IDE
120GB Maxtor SATA
ATI Radeon 9600XT 256mb
Fedora Core 4 i386 and nowhere to go
Reply With Quote
  #2  
Old 14th June 2004, 08:15 AM
ilja Offline
Registered User
 
Join Date: Apr 2004
Location: Euregio
Posts: 3,613
I hope that helps : http://www.php.net/manual/en/install.apache2.php
__________________
--
http://twitter.com/ik12
Reply With Quote
  #3  
Old 14th June 2004, 10:25 AM
marks_linux Offline
Registered User
 
Join Date: Jun 2004
Location: UK
Age: 38
Posts: 103
Thanks for that.

Now up and running
__________________
AMD 64 3200+
MSI K8T Neo
1024 RAM
40GB Maxtor IDE
120GB Maxtor SATA
ATI Radeon 9600XT 256mb
Fedora Core 4 i386 and nowhere to go
Reply With Quote
  #4  
Old 14th June 2004, 10:26 AM
ewdi's Avatar
ewdi Offline
Retired Admin
 
Join Date: Jan 2004
Location: Penguin Land
Age: 63
Posts: 1,939
i personally prefer an installer tools scripts, it's easier for you to compile more modules and etc.

try http://apachetoolbox.com/
__________________
+ Visit My new blog
- [B]SlashGear US, SlashGear Japan, and
+Founder & Admin of www.fedoraforum.org

Follow me at http://twitter.com/ewdi

Laptop : MacBook Pro 2.4Ghz 4GB DDR, 20-inch iMac Aluminium/4GB RAM
Reply With Quote
  #5  
Old 21st August 2004, 07:35 AM
tcherbin Offline
Registered User
 
Join Date: Aug 2004
Posts: 1
I have followed the SAPI instructions for php Please help

I compiled apache and php and changed the config file..

When I do
http://localhost/test.php?function=test

The webpage
prints
function='';

the test.php has
<?php
echo "function = '$function'<BR>"
?>

Please help, I've been trying about 4 times to get this to install correctly.
Reply With Quote
  #6  
Old 21st August 2004, 11:59 AM
philipgm Offline
Registered User
 
Join Date: Aug 2004
Posts: 7
In php from version 4.3 (?I think) global variables are turned off by default to enhance security. You can turn them back on or explicitly GET the variable with $_GET

so

$value=$_GET['function'];

before your echo should fix it
Reply With Quote
Reply

Tags
apache, core, fedora, php

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache for fedora core 4 dosti Servers & Networking 2 22nd November 2006 05:01 AM


Current GMT-time: 15:51 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat