mod_perl error Invalid command 'PerlOptions'
when i do apachectl configtest i receive
Code:
Invalid command 'PerlOptions', perhaps mis-spelled or defined by a module not included in the server configuration in my httpd.conf file just before i do the include i have <IFModule mod_perl.c> and then i end it after the include. not sure if i was supposed to do that or not but i with or without i still get the same error. i found a post but i acidently closed it out and can't find it now. it said to copy 2 files from the mod_perl src dir after the make install to somewhere else and im wondering if that maybe what is holding me back. any help is always appreciated! :) thanks slackers |
Is this the post you were looking for?
http://www.linuxquestions.org/questi...d.php?t=520972 Would help if you tell us what Apache and mod_perl versions you're using. |
sorry, didn't even think to mention that because i just used what comes preinstalled on 11.
so it's apache 1.3.37 (i think) and mod perl 1.30 |
Well i got that file copied over, and set the permissions like you had mentioned in your thread.
when i installed mod_perl it updated my httpd.conf for me by loading the module in it correctly with both the lines you also mention in your post. do you think i could be getting this error because im calling another .conf file? should i just add this code to my httpd.conf file? if i do would i need to add it under <IFModule mod_perl.c> </IFModule> section or would anywhere matter? --edit-- i tried adding the code just to the httpd.conf file under the IFModule mod_perl.c section and still same error. |
Ah, i just found out i don't have a directory called /usr/bin/apxs. could this be a problem?
--edit-- i found it else where. i found it in /usr/sbin/apxs |
here is part of my apache log. maybe this might help solve the issue as well.
Code:
[Thu May 24 11:20:08 2007] [error] Can't locate ModPerl/Registry.pm in @INC (@INC contains: ../../ /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/lib/perl5/5.8.8/i486-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i486-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl . /usr/ /usr/lib/perl) at (eval 93) line 3.\n |
Solved
I solved it! well turns out what the program was telling me to do was for mod_perl. after digging in the documents for a while i saw the difference it was telling me to add to the httpd.conf file. obviously that line wasn't part of it.
so i got it up and operational! yey! |
All times are GMT -5. The time now is 03:56 AM. |