perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Witt" <trw...@gmail.com>
Subject Installing embperl on Windows 2000
Date Thu, 16 Nov 2006 17:07:29 GMT
Hello all,

We recently inherited a website from a developer who was terminated. The
site works great but the hardware is failing and we have to to migrate it to
another server. The problem we are currently having is that we can't get
embperl to work properly. We have followed all the instructions on
installing it to the letter however we receive errors when trying to run the
Apache 2.2 service on a Windows 2000 machine. The error we receive when
trying to run Apache is:

 *The Apache service named  reported the following error:*

*>>> httpd.exe: Syntax error on line 133 of D:/Apache2.2/conf/httpd.conf:
Can't locate API module structure `embperl_module' in file
D:/Perl/site/lib/auto/Embperl/Embperl.dll: No error     . *

We receive this error even though the file exists in the proper location. We
have loaded mod_perl 2.2.2. I have setup d:\perl\bin as an environment
variable.

httpd.conf

LoadModule actions_module "modules/mod_actions.so"
LoadModule alias_module "modules/mod_alias.so"
LoadModule asis_module "modules/mod_asis.so"
LoadModule auth_basic_module "modules/mod_auth_basic.so"
# LoadModule auth_digest_module "modules/mod_auth_digest.so"
# LoadModule authn_anon_module "modules/mod_authn_anon.so"
# LoadModule authn_dbm_module "modules/mod_authn_dbm.so"
LoadModule authn_default_module "modules/mod_authn_default.so"
LoadModule authn_file_module "modules/mod_authn_file.so"
# LoadModule authz_dbm_module "modules/mod_authz_dbm.so"
LoadModule authz_default_module "modules/mod_authz_default.so"
LoadModule authz_groupfile_module "modules/mod_authz_groupfile.so"
LoadModule authz_host_module "modules/mod_authz_host.so"
LoadModule authz_user_module "modules/mod_authz_user.so"
LoadModule autoindex_module "modules/mod_autoindex.so"
# LoadModule cern_meta_module "modules/mod_cern_meta.so"
LoadModule cgi_module "modules/mod_cgi.so"
# LoadModule dav_module "modules/mod_dav.so"
# LoadModule dav_fs_module "modules/mod_dav_fs.so"
# LoadModule deflate_module "modules/mod_deflate.so"
LoadModule dir_module "modules/mod_dir.so"
LoadModule env_module "modules/mod_env.so"
# LoadModule expires_module "modules/mod_expires.so"
# LoadModule file_cache_module "modules/mod_file_cache.so"
# LoadModule headers_module "modules/mod_headers.so"
LoadModule imagemap_module "modules/mod_imagemap.so"
LoadModule include_module "modules/mod_include.so"
# LoadModule info_module "modules/mod_info.so"
LoadModule isapi_module "modules/mod_isapi.so"
LoadModule log_config_module "modules/mod_log_config.so"
LoadModule mime_module "modules/mod_mime.so"
# LoadModule mime_magic_module "modules/mod_mime_magic.so"
# LoadModule proxy_module "modules/mod_proxy.so"
# LoadModule proxy_ajp_module "modules/mod_proxy_ajp.so"
# LoadModule proxy_balancer_module "modules/mod_proxy_balancer.so"
# LoadModule proxy_connect_module "modules/mod_proxy_connect.so"
# LoadModule proxy_http_module "modules/mod_proxy_http.so"
# LoadModule proxy_ftp_module "modules/mod_proxy_ftp.so"
LoadModule negotiation_module "modules/mod_negotiation.so"
# LoadModule rewrite_module "modules/mod_rewrite.so"
LoadModule setenvif_module "modules/mod_setenvif.so"
# LoadModule speling_module "modules/mod_speling.so"
# LoadModule status_module "modules/mod_status.so"
# LoadModule unique_id_module "modules/mod_unique_id.so"
LoadModule userdir_module "modules/mod_userdir.so"
# LoadModule usertrack_module "modules/mod_usertrack.so"
# LoadModule vhost_alias_module "modules/mod_vhost_alias.so"
# LoadModule ssl_module "modules/mod_ssl.so"
LoadModule perl_module "modules/mod_perl.so"
LoadModule php5_module "D:\PHP\php5apache2_2.dll"
# the line below is necessary to load embperl but currently
LoadModule embperl_module "D:/Perl/site/lib/auto/Embperl/Embperl.dll"

PerlModule Embperl
 Alias /embperl/ "D:/Perl/site/lib/"
   <Location /embperl>
     SetHandler perl-script
     PerlHandler HTML::Embperl
     Options ExecCGI
   </Location>

If we comment out the code from the PerlModule line on, it still give us the
same error when starting Apache.

Can you provide any insight on what causes this error? To assist in the
diagnosis of our problem, we have included the .conf file as well. Any
assistance that can be provided would be greatly appreciated.

Thanks,
Tom Witt

Mime
View raw message