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.
Ok. Go to this link, and you can see exactaly what I was instructed to do through the book.
Now, some of the instructions say download program along the lines of...so and so, but that wasnt exact so I just downloaded the most up to date program from each site it sent me to because thats what was listed.
[root@cpe-24-195-24-133 mbenoit]# find / -name libphp5.so
/usr/lib/httpd/modules/libphp5.so
find: WARNING: Hard link count is wrong for /selinux: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.
[root@cpe-24-195-24-133 mbenoit]#
Excellent! I think we have the missing piece.. I think.
Ok, here is the ServerRoot as defined in your httpd.conf file:
ServerRoot "/usr/local/apache2"
That means that is where Apache will look for various things, namely our PHP DSO module. You've got it in /usr/lib/httpd/modules/libphp5.so and I'm thinking it needs to be in /usr/local/apache2/modules.
So, try this:
$ cd /usr/local/apache2
$ ls -ld modules
Then post that output. Then I'll have you do something else.
I get the same error. Any other clue what the problems might be?
Quote:
[root@cpe-24-195-24-133 conf]# ls
extra httpd.conf httpd.conf~ magic mime.types original
[root@cpe-24-195-24-133 conf]#
What are those other two files in there? Each time I save in emacs it makes copies with a ~ next to it or like before there was a #httpd.conf# that I deleted because it was never in there originally.
What are those other two files in there? Each time I save in emacs it makes copies with a ~ next to it or like before there was a #httpd.conf# that I deleted because it was never in there originally.
The tilde is a backup copy of the file you edited. Emacs does that. The #file# file is a work copy that didn't get properly cleaned up, for whatever reason.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.