Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just editted httpd.conf and prepared to run Apache 1.3.27 on my Slack 9. When I type: #httpd -f /etc/apache/httpd.conf, I got nothing. No error message, no successful starting message (if apache have one of these). With #ps -Af I can't see any httpd processes. I tried via /etc/rc.d/rc.httpd script.. #./rc.httpd start, but I got:
Code:
# ./rc.httpd start
/usr/sbin/apachectl start: httpd could not be started
I cat`ed the script and saw that it uses something /usr/sbin/apachectl. I tried #/usr/sbin/apachectl start, and got the same 'httpd could not be started' output. Oh, and I chmod'ed rc.httpd to 755.
I searched this forum and found that I could use http -e DEBUG.. but when I try to use it I got the 'invalid option' output.. i.e. http -h screen.
Where can be the mistake?
Hmm sounds like there is some errors in your confirguration file, in apache, and if you cant find the file, then try deinstall, and make a new install of apache
Have you changed something in the config file, in apache?
I don't want to reinstall. I want to FIND the reason. The slackware with the apache is installed before two weeks. Where can be the reason about that wierd thing?
I had some trouble with my Proftpd, it complained about it couldnīt match my hostname or something..I also had trouble with apache..it gave the same message "couldnt be started" or something...I found out that my hostname and the settings in "hosts" wherenīt the same...maybe check that..?
I removed the Apache package using the pkgtool. Then downloaded Apache2's source and compile it in other directory. Now it works, but I'm worried about other thing. Do I have to remove installed php and Mysql packages and reinstall them considering to the new apache directory?
yeah, as far as i know, you have to reconfigure php and mysql with the new apache2. otherwise, ur apache will not know you have php since u haven't loaded the php module into the httpd conf file. and u didn't necessarily have to deinstall ur first apache. u could have set the listen command to something like 8080, and then see if that works?!?!?
Is reconfigure=reinstall?? A hope no.. Where are config files which I have to edit? I have php.ini (if I need it for that purporse) but it's in the old apache config dir in /etc/apache.. I don't know nothing about MySQL configuring..
it's not all as bad as it seems. i guess u can try to add this: as root, type updatedb, and then type locate*php*.so. it should give u the address of the php module. then open httpd.conf and insert
LoadModule php4_module /path/to/mod_php4.so
open up httpd.conf for apache and add:
LoadModule php4_module /usr/libexec/libphp4.so
in the appropriate section and see if php works. I have never used mysql even though I did install it with php. so i dont know what to do with mysql.so. hope this helps. it should though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.