Server Administration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesServer Administration

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 Codewalkers Forums Sponsor:
  #1  
Old April 23rd, 2003, 11:40 AM
mrq mrq is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 37 mrq User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Can't understand where is the apache2 and PHP compiled sources

I cant understand how i can delete all apache2 and PHP source when i have installed them with config file?
The problem is that i can't compile the right source for httpd.conf.
The problem gomes up because when i installed into debian then the httpd.conf file was ok and apache2 && PHP runned almost with the default config, but when i installed it to RH8 then the httpd.conf was totaly different and there was missing a module libphp4.so. Both install sources was indentical in Debian and RH8.
Compiled like that:
#httpd-2.0.45
./configure --enable-so --enable-FEATURE=yes
make
make install
#php-4.3.2RC1
./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs --enable-track-vars
make
make install
#worked fine for Debian but did'nt work out with RH8.

Now i like to find all the compiled apache2 and PHP4 sources!
For now i used a command: find / -name httpd && find / -name php
The apache2 is in /usr/local/apache2/ but can be there other stuff somewhere else like:
/var/log/httpd
/etc/rc.d/init.d/httpd
/etc/logrotate.d/httpd
/usr/lib/httpd
/usr/sbin/httpd
<-- what are thouse last one? I must say that those things made the apache2 not work anymore! Had to start the apache from "/etc/rc.d/init.d/httpd -k start" and before i had to alter the source inside the httpd so that it would use the default config from /usr/bin/apache2/conf/httpd.conf
Anyway with RH8 i twitched about a week and didnt understand why apache made so many httpd files to different places.

Anyway i want to strike out the hole apache2 && PHP4 from RH8! How i can do this? It seems that just remove the apache2 didnt help!

Reply With Quote
  #2  
Old April 24th, 2003, 02:23 AM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to postalcow
RE: Can't understand where is the apache2 and PHP compiled sources

Ok, maybe I am mis-understanding you. Please define "hole" you mean a security hole? Now when you installed redhat apache should have been installed by default via rpm and I think php installs by default. I don't understand why you had to manually compile them.

Now if you are trying to remove them completely for security you can just turn the service off. If it is off there is no security problem.

Clear up my questions and I should be able to help you. I am just having a little trouble following you, Sorry

Reply With Quote
  #3  
Old April 24th, 2003, 07:07 AM
mrq mrq is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 37 mrq User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: RE: Can't understand where is the apache2 and PHP compiled sources

Quote:
Ok, maybe I am mis-understanding you. Please define "hole" you mean a security hole? Now when you installed redhat apache should have been installed by default via rpm and I think php installs by default. I don't understand why you had to manually compile them.

Hehe sorry 4 the hole i meant "all". Darn hole it made us all...
I want to get the newest version!
Quote:
Now if you are trying to remove them completely for security you can just turn the service off. If it is off there is no security problem.

well just turning it off does'nt make it go away from harddisk!
Quote:
Clear up my questions and I should be able to help you. I am just having a little trouble following you, Sorry

Sorry 4 that! Im troubleing to follow myself ;)

Reply With Quote
  #4  
Old April 24th, 2003, 11:47 AM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to postalcow
RE: Can't understand where is the apache2 and PHP compiled sources

Well if they were installed during installation then to see what RPMs are installed do a
rpm -qa
To list all installed RPMs the to un-install the do a
rpm -e [package_name]

Reply With Quote
  #5  
Old April 24th, 2003, 01:23 PM
mrq mrq is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 37 mrq User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: Can't understand where is the apache2 and PHP compiled sources

1. But can i compile the Apache2 & PHP for RH8 from the source manualy so that it will make it all correctly for me or not?
2. What i have to do that the PHP compiles for me a libphp4.so into modules director? Added the line to httpd.conf LoadModule php4_module modules/libphp4.so but the libphp4.so was missing!
3. I have a problem with the cgi fail because i think that the source is using a wrong perl source. The correct place would be /usr/bin/perl but this is trying to access /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
Where did it get this source? How can i chance it that it will find the stuff from the correct place?

[Thu Apr 24 16:13:40 2003] [error] [client 10.1.5.81] Premature end of script headers: index.cgi
[Thu Apr 24 16:13:40 2003] [error] [client 10.1.5.81] Can't locate Mail/Ezmlm.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at /usr/local/bin/ezmlm/ezmlm-web.cgi line 44.
[Thu Apr 24 16:13:40 2003] [error] [client 10.1.5.81] BEGIN failed--compilation aborted at /usr/local/bin/ezmlm/ezmlm-web.cgi line 44.

Thank you alot! Waiting for more questions and answers!

Reply With Quote
  #6  
Old April 24th, 2003, 02:02 PM
mrq mrq is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 37 mrq User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: Can't understand where is the apache2 and PHP compiled sources

Oki i think that the last error might be because of that the perl module Mail/Ezmlm is missing but the Ezmlm.pm file does exists! Anyway i was trying to compile the source again but the perl seems to be broken.

shell##perl Makefile.PL
Checking if your kit is complete...
Looks good

We now need to know where some things live on your system. I'll try and make
some intelligent guesses - if I get it right, please just press enter at the
prompt. If I get them wrong, please type in the correct path for me and then
press enter.

First I need to know where the Ezmlm binaries live (ie where I can find
ezmlm-make, ezmlm-sub, etc).

Ezmlm binary directory? [/usr/local/bin] /usr/local/bin/ezmlm/

Now I need to know where Qmail resides on your system. The Qmail base
directory is the one in which the Qmail bin, control, etc directories
live in.

Qmail base directory? [/var/qmail]

Thank you. I will use this information to configure Mail::Ezmlm for you

Can't use an undefined value as a HASH reference at /usr/lib/perl5/5.8.0/ExtUtils/MakeMaker.pm line 457.

Does anyone know whats wrong with the MakeMaker.pm file?

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesServer Administration > Can't understand where is the apache2 and PHP compiled sources


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




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

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




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek