|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
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! |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||||
|
|||||
|
RE: RE: Can't understand where is the apache2 and PHP compiled sources
Quote:
Hehe sorry 4 the hole i meant "all". Darn hole it made us all... I want to get the newest version! Quote:
well just turning it off does'nt make it go away from harddisk! Quote:
Sorry 4 that! Im troubleing to follow myself ;) |
|
#4
|
|||
|
|||
|
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] |
|
#5
|
|||
|
|||
|
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
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! |
|
#6
|
|||
|
|||
|
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? |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > Can't understand where is the apache2 and PHP compiled sources |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|