Sponsored Content
Full Discussion: redhat 6.2 : Apache + PHP4
Top Forums UNIX for Dummies Questions & Answers redhat 6.2 : Apache + PHP4 Post 6174 by t_zone on Thursday 30th of August 2001 06:10:54 PM
Old 08-30-2001
redhat 6.2 : Apache + PHP4

Hello,
how are you all , I am having a hard time here

I've got my Linux Redhat 6.2 server , with pre-instalation of redhat.
anyway , I installed mysql (not rpm) and its working very well, but I faced lot of trouple with PHP4.

Apache 1.1.12 was installed through rpm package and I updated it to 1.1.14 today, and I installed ( rpm package) PHP3.0.18 .

I want to install PHP4.0.4pl1 , it's avalable in redhat.com, I tried to download it and run the installation but it failed, it keeps asking for 2 files which are ( libc.so.6 And libresolv.so.2 -GLIBC 2.2- as dependencies). I upgrade the glibc to 2.1.x before that and the those files are on my system but it still asking for them , anyway I failed to upgrade to ( glibc 2.2 which resides on version 7.0 of redhat at ftp.redhat.com) .

I looked at the files at ftp.redhat.com and I couldn't find a GLIBC 2.2 in redhat 6.2 folder , the max version was 2.1 ,, there is GLIBC 2.2 but it's in redhat 7.0 folder , I've tried to install it ! but it also failed.

How in earth could I install PHP4.0.4 (or later) at redhat through rpm ?

---Another thing I did. ( If you think whats below is better, forget what I wrote above there)
Actully I installed PHP4.0.6 (latest stable version ) on my box yesterday, but with no ( --with-apache NOR --with-apx ) because when I tried to use : --with-apache , and I specified the directory ( /etc/httpd ) which is in the access.conf file , make command failed : wrong path to apache, can't find apache.h ( as I think). --with-apx , I failed to find the directory, It's not there.
I compiled it without two options and It goes fine ( with warning about the CGI ) anyway , I added :
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
to access.conf file and I restrated Apache , but it doesn't work !

So now I couldn't have PHP4.x.x installed at all, and the main problem is : my code uses some functions on PHP which require PHP > 4 . in the meantime situation I can't run my code .
Smilie
Sencerely yours.

Last edited by t_zone; 08-30-2001 at 07:16 PM..
 

4 More Discussions You Might Find Interesting

1. Red Hat

Installing PHP4 - REHL 5

Hi All, Is there anyone facing a problem installing PHP 4 at Red hat Enterprise 5? I paid for the red hat update subscription and when i look at the website it seems PHP4 is only for Red Hat enterprise 4. My web server only can use PHP 4 and i cant use PHP 5. Am i going to have an issue... (0 Replies)
Discussion started by: c00kie88
0 Replies

2. UNIX for Advanced & Expert Users

Where to set the right "Apache" to run after reboot on a RedHat 5 machine ?!

Hi, I'am working on a RedHat server (V5) and having on it 2 Apache instances, but after each reboot i have the wrong one starting so that i have to stop it doing "httpd -k stop" and than launch the right one doing "/etc/init.d/httpd -k start". For more Details, you may see the link i inserted... (4 Replies)
Discussion started by: mehdi1973
4 Replies

3. Red Hat

How to start the right instance of Apache on RedHat server

Hi, I have 2 apache instance on my machine (RedHat), and i need to start the "apache2" after any reboot but could not find the way ( searching into "httpd.conf" ), so i'am starting "apache2" manually. After a reboot, none of them starts and when i when doing : httpd -k start, i got "apache"... (14 Replies)
Discussion started by: mehdi1973
14 Replies

4. Red Hat

Redhat Apache

How is it possible to tied a IP address to folder in apache, so when someone put the ip in there browser they land in that folder? (3 Replies)
Discussion started by: da2013
3 Replies
apache(1M)						  System Administration Commands						apache(1M)

NAME
apache - Apache hypertext transfer protocol server overview DESCRIPTION
apache consists of a main server daemon, loadable server modules, some additional support utilities, configuration files, and documenta- tion. FILES
The apache HTTPD server is integrated with Solaris. The following files specify the installation locations for apache: /etc/apache Contains server configuration files. A newly-installed server must be manually configured before use. Typically this involves copying httpd.conf-example to the httpd.conf file and making local configuration adjustments. /usr/apache/bin Contains the httpd executable as well as other utility programs. /usr/apache/htdocs Contains the Apache manual in HTML format. This documentation is accessible by way of a link on the server test page that gets installed upon fresh installation. /usr/apache/include Contains the Apache header files, which are needed for building various optional server extensions with apxs(8) /usr/apache/jserv Contains documention for the mod_jserv java servlet module. Documention can be read with a web browser using the url: file:/usr/apache/jserv/docs/index.html /usr/apache/libexec Contains loadable modules (DSOs) supplied with the server. Any modules which are added using apxs(8)are also copied into this directory. /usr/apache/man Contains man pages for the server, utility programs, and mod_perl. Add this directory to your MANPATH to read the Apache man pages. See NOTES. /usr/apache/perl5 Contains the modules and library files used by the mod_perl extension to Apache. /var/apache/cgi-bin Default location for the CGI scripts. This can be changed by altering the httpd.conf file and restarting the server. /var/apache/htdocs Default document root. This can be changed by altering the httpd.conf file and restarting the server. /var/apache/icons Icons used by the server. This normally shouldn't need to be changed. /var/apache/logs Contains server log files. The formats, names, and locations of the files in this directory can be altered by various configuration directives in the httpd.conf file. /var/apache/proxy Directory used to cache pages if the caching feature of mod_proxy is enabled in the httpd.conf file. The location of the cache can also be changed by changing the proxy configuration in the httpd.conf file. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWapchr | +-----------------------------+-----------------------------+ | |SUNWapchu | +-----------------------------+-----------------------------+ | |SUNWapchd | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) http://www.apache.org NOTES
In addition to the documentation and man pages included with Solaris, more information is available at http://www.apache.org The Apache man pages are provided with the programming modules. To view the manual pages for the Apache modules with the man command, add /usr/apache/man to the MANPATH environment variable. See man(1) for more information. Running catman(1M) on the Apache manual pages is not supported. SunOS 5.11 8 Aug 2000 apache(1M)
All times are GMT -4. The time now is 01:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy