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:
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
  #1  
Old April 23rd, 2003, 10: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: 2
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, 01: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: 3
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, 06: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: 2
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, 10: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: 3
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, 12: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: 2
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, 01: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: 2
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!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five &quot;checkpoints&quot; for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway