Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
04-25-2006, 05:26 PM
|
#31
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Ok, not isn't THAT interesting. In your httpd.conf file, you're instructing Apache to load the PHP5 module as a DSO:
Loadmodule php5_module modules/libphp5.so
but that module doesn't exist in the modules directory, based on your output above. What exactly did you do to build PHP5?
Peace...
|
|
|
04-25-2006, 07:13 PM
|
#32
|
Member
Registered: Apr 2005
Location: Albany, NY
Distribution: Fedora Core 6
Posts: 85
Original Poster
Rep:
|
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.
http://mohawk-paintball.org/AMP/
|
|
|
04-25-2006, 07:16 PM
|
#33
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
You got your instructions from a site with "mohawk-paintcall" as the URL? No wonder we're having problems...
Reading now....
Peace...
|
|
|
04-25-2006, 07:17 PM
|
#34
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Ok, those instructions look good. We need to find where your PHP module went:
$ find / -name libphp5.so
post the results.
Peace...
|
|
|
04-25-2006, 07:17 PM
|
#35
|
Member
Registered: Apr 2005
Location: Albany, NY
Distribution: Fedora Core 6
Posts: 85
Original Poster
Rep:
|
Thats my website :P I took screenshots from the ebook, lol!
|
|
|
04-25-2006, 07:21 PM
|
#36
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Quote:
Originally Posted by Markness
Thats my website :P I took screenshots from the ebook, lol!
|
I know.. just giving you a hard time, Mr Mohawk.
Peace...
|
|
|
04-25-2006, 07:21 PM
|
#37
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
We need to find where your PHP module went:
$ find / -name libphp5.so
post the results.
Peace...
|
|
|
04-25-2006, 07:25 PM
|
#38
|
Member
Registered: Apr 2005
Location: Albany, NY
Distribution: Fedora Core 6
Posts: 85
Original Poster
Rep:
|
Results. I love warnings... :P
Quote:
[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]#
|
|
|
|
04-25-2006, 07:30 PM
|
#39
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
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.
Peace...
|
|
|
04-25-2006, 07:31 PM
|
#40
|
Member
Registered: Apr 2005
Location: Albany, NY
Distribution: Fedora Core 6
Posts: 85
Original Poster
Rep:
|
Reply posted.
Quote:
[root@cpe-24-195-24-133 mbenoit]# cd /usr/local/apache2
[root@cpe-24-195-24-133 apache2]# ls -ld modules
drwxr-xr-x 2 root root 4096 Apr 24 17:13 modules
[root@cpe-24-195-24-133 apache2]#
|
Enjoy.
|
|
|
04-25-2006, 07:34 PM
|
#41
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Ok, now do this:
# cp /usr/lib/httpd/modules/libphp5.so /usr/local/apache2/modules
Then restart Apache:
# /usr/local/apache2/bin/apachectl restart
Then try your test page and see what happens.
Peace...
|
|
|
04-25-2006, 07:40 PM
|
#42
|
Member
Registered: Apr 2005
Location: Albany, NY
Distribution: Fedora Core 6
Posts: 85
Original Poster
Rep:
|
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.
Last edited by Markness; 04-25-2006 at 07:41 PM.
|
|
|
04-25-2006, 07:53 PM
|
#43
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Ok, run this command:
$ ls -l /usr/lib/httpd/modules
and post the output here.
Thanks...
Peace...
|
|
|
04-25-2006, 07:54 PM
|
#44
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Quote:
Originally Posted by Markness
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.
Peace...
|
|
|
04-25-2006, 08:00 PM
|
#45
|
Member
Registered: Apr 2005
Location: Albany, NY
Distribution: Fedora Core 6
Posts: 85
Original Poster
Rep:
|
Roger.
So, what do we do from here! Plllease dont leave me in the dark. We're getting so close :P I must conquer this. Heheheheh
|
|
|
All times are GMT -5. The time now is 07:52 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|