Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help in apache and perl running

Status
Not open for further replies.
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?

Jeb Beasley
 
yes phpinfo()its working.windows xp operating system
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top