The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> PHP Development
|
php3 on Redhat 6.1
Discuss php3 on Redhat 6.1 in the PHP Development forum on Dev Shed. php3 on Redhat 6.1 PHP Development forum discussing coding practices, tips on PHP, and other PHP-related topics. PHP is an open source scripting language that has taken the web development industry by storm.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

May 1st, 2000, 11:10 AM
|
|
Contributing User
|
|
Join Date: Apr 2000
Location: Los Angeles, California
Posts: 102
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!
|

May 1st, 2000, 11:03 PM
|
|
Junior Member
|
|
Join Date: May 2000
Posts: 1
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.
|

May 2nd, 2000, 08:27 AM
|
|
Contributing User
|
|
Join Date: Feb 2000
Posts: 38
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.
|

May 2nd, 2000, 11:24 AM
|
|
Contributing User
|
|
Join Date: Apr 2000
Location: Los Angeles, California
Posts: 102
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...
|

May 2nd, 2000, 02:40 PM
|
|
Guest
|
|
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.
|

May 4th, 2000, 10:01 PM
|
|
Contributing User
|
|
Join Date: May 2000
Posts: 43
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
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|