We have installed
apache 2.2, and activeperl to run bugzilla, all that on a Windows Server 2003.
Here We want to install PHP on the server to install a wiki.
I followed those steps: tutorial to install PHP and enable it from
Apache.
After all those steps, I restart couples of times, and When I try a simple phpinfo() on PHP, the whole PHP code is commented:
< ! - - ?php
phpinfo();
? - -
Now, the httpd.conf was already edited for the PERL and it can be those edits that make the mistake.
Here is the whole httpd.conf file:
ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2"
Listen 6969
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 php5_module "c:/php/php5apache2_2.dll"
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authn_file_module modules/mod_authn_file.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 cgi_module modules/mod_cgi.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
LoadModule include_module modules/mod_include.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 negotiation_module modules/mod_negotiation.so
LoadModule setenvif_module modules/mod_setenvif.so
User daemon
Group daemon
ServerAdmin
[email protected]
DocumentRoot C:/bugzilla-4.4.2/
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Options Indexes FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
ScriptInterpreterSource Registry-Strict
DirectoryIndex index.html index.html.var index.cgi index.php
Order allow,deny
Deny from all
Satisfy All
ErrorLog "logs/error.log"
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %s %b" common
<IfModule logio_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/"
AllowOverride None
Options None
Order allow,deny
Allow from all
DefaultType text/plain
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddHandler cgi-script .cgi
AddType application/x-httpd-php .php
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
PHPIniDir "c:/php"