PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 1st, 2000, 11:10 AM
ecastanedo ecastanedo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Location: Los Angeles, California
Posts: 102 ecastanedo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 10 sec
Reputation Power: 14
I have never tried to get php3 to work on my home Linux PC until now. I am running Redhat Linux 6.1. Apache and PHP3 are both installed, but I don't think that they are configured by default. I haven't been able to find any information on-line specifically for this setup. Can someone please help me out here or point me in the right direction?

Thanks in Advance!

Reply With Quote
  #2  
Old May 1st, 2000, 11:03 PM
Issue9mm Issue9mm is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 1 Issue9mm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
So as not to run the risk of sounding like another "RTFM" zealot, let me preface with this: I recently ran across the same experience, and am also fairly new to Linux.

The biggest help that I found however, was in the PHP documentation. After extracting PHP-3.0.15.tar.gz into PHP-3.0.15 folder, and entering that folder, there is a document entitled "INSTALL.REDHAT". This document alone was the single biggest help in installing PHP3.

Anyway, hope this helps.


Reply With Quote
  #3  
Old May 2nd, 2000, 08:27 AM
enygma enygma is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Posts: 38 enygma User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
one other thing that you might want to be sure of is that, if you downloaded a newer version of apache and installed it, unless you installed over the prevois installation, then the web server that it is running might be the old one (non-configured for php). If it is a newer one, search for apachectl and run it and see if that's the one you want...
i know that redhat does install a web server by default.

Reply With Quote
  #4  
Old May 2nd, 2000, 11:24 AM
ecastanedo ecastanedo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Location: Los Angeles, California
Posts: 102 ecastanedo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 10 sec
Reputation Power: 14
I chose to install both Apache and PHP during the initial installation. I guess I am wondering how I am supposed to configure them from there. I don't think that I have to download and reinstall any of these do I? I must be going about it the wrong way then, because I figured that since they were already installed I only needed to edit some configuration files.

I am very new to Apache and don't know much about getting it up and running.

Thanks Again...

Reply With Quote
  #5  
Old May 2nd, 2000, 02:40 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Don't install them with RPM. If you want them to give you the most flexibility, try to compile it from source.
Compile apache first, then php and mention --with-apxs=/usr/local/apache/bin/apxs, then you should get libphp3.so or libphp4.so modules in the libexec directory under your apache root.
In most case, you should install RPM to save some time. For apache, it's not the case.

Reply With Quote
  #6  
Old May 4th, 2000, 10:01 PM
esconsult esconsult is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 43 esconsult User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
Compiling is the way to go.

Dont forget after compiling both beasts, to go into the httpd.conf file and enable PHP3 handling!

After this, create a quickie php program with the contents:

<?php
phpinfo();
?>

This should give you a really good status information on PHP. Happy coding.


------------------
PHP, Perl, SQL Programming at http://www.mentalobjects.com

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > php3 on Redhat 6.1

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap