This is a discussion on mod_perl2 within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi all, First of all, please excuse me for my bad English. I'm not a native english speaking person. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi all,
First of all, please excuse me for my bad English. I'm not a native english speaking person. I have got the following problem: I installed Apache 2.0.47 and the mod_perl ppm packages for mod_perl2 on Windows XP Pro. After adding LoadFile "C:/.../bin/perl58.dll" and LoadModule perl_module C:/.../Apache2/modules/mod_perl.so to httpd.conf the Apache loads the mod_perl modul while starting. So far so good. Now I read that I have to create a startup file for mod_perl. I used the example file from http://perl.apache.org/. -------------------------------- use Apache2 (); use ModPerl::Util (); use Apache::RequestRec (); use Apache::RequestIO (); use Apache::RequestUtil (); use Apache::Server (); use Apache::ServerUtil (); use Apache::Connection (); use Apache::Log (); use Apache::Const -compile => ':common'; use APR::Const -compile => ':common'; use APR::Table (); use Apache::compat (); use ModPerl::Registry (); use CGI (); 1; -------------------------------- and added the according line to httpd.conf PerlRequire "C:/.../Apache2/conf/startup.pl" After that Apache doesn't starts with the error message: Unrecognized character \x92 at C:/.../Apache2/conf/startup.pl line10. Compilation failed in require at (eval1) line1. Of course its also not possible to run other scripts. I hope anybody can help me. Thanks in advance. |
| Thread Tools | |
| Display Modes | |
|
|