You will need to edit your httpd.conf file to add/ modify support for perl
#find the section that looks like this
AddModule mod_autoindex.c
AddModule mod_dir.c
AddModule mod_isapi.c
AddModule mod_cgi.c
AddModule mod_asis.c
AddModule mod_imap.c
AddModule mod_actions.c
#and make sure the line with mod_cgi is not commented out
#set up an alias to wherever you are going to put the #executable scripts as in
ScriptAlias /cgi-bin/ "d:/Apache/cgi-bin/"
# Tell apache to allow cgi in that location
<Directory "d:/Apache/cgi-bin">
AllowOverride None
Options +ExecCGI
Order allow,deny
Allow from all
</Directory>
# use this entry associates the extension to the hanlder
AddHandler cgi-script .cgi .pl
You didn't mention what operating system or any thing specific about the php error.
does <?php phpinfo(); %> work?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.