Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email

Magento Forum

isn’t possible to install if php5 is cgi
Jr. Member
Total Posts:  4
Joined:  2007-12-30

I am in localhost in windowsXp
I have configurate php5 as cgi;
for use php5 I write
this work, infact in my test if I write localhost:81/phpinfo.php I have vers php 5.2
and if I write localhost/phpinfo.php I have vers. php 4.3

but if I go on

i have this page:


__(’Skip to Main Content’)?> »
getWelcome()?> getChildHtml(’topLeftLinks’)?>
getChildHtml(’global_messages’)?> getChildHtml(’content’)?>

__(’Help Us to Keep Magento Healthy’)?> - __(’Report All Bugs’)?> __(’(ver. %s)’, Mage::getVersion())?>
__(’Magento™ is a registered Trademark of Irubin Consulting Inc. DBA Varien. © Copyright 2007’)?>

after a suggest:
need to enable short_open_tags either in php.ini or .htaccess (exists in default .htaccess);
I have made correction , but continue at not work;

this is httpd file:

Listen 80

ServerRoot “/Apache-2.0.54”
DocumentRoot “/www”

ServerName localhost
ServerAdmin mail@localhost

ServerSignature On
ServerTokens Full

DefaultType text/plain

UseCanonicalName Off

HostnameLookups Off

ErrorLog logs/error.log
LogLevel error

PidFile logs/

Timeout 300

KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15

<IfModule mpm_winnt.c>
ThreadsPerChild 250
MaxRequestsPerChild 0

LoadModule info_module modules/
LoadModule deflate_module modules/
LoadModule status_module modules/
LoadModule headers_module modules/
LoadModule access_module modules/
LoadModule actions_module modules/
LoadModule alias_module modules/
LoadModule asis_module modules/
LoadModule auth_module modules/
LoadModule autoindex_module modules/
LoadModule cgi_module modules/
LoadModule dir_module modules/
LoadModule env_module modules/
LoadModule imap_module modules/
LoadModule include_module modules/
LoadModule isapi_module modules/
LoadModule log_config_module modules/
LoadModule mime_module modules/
LoadModule negotiation_module modules/
LoadModule setenvif_module modules/
LoadModule userdir_module modules/
LoadModule rewrite_module modules/

LoadModule php4_module “/php-4.3.11/sapi/php4apache2.dll”

<Directory />
<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
<IfModule mod_headers.c>
Header append Vary User-Agent
Options FollowSymLinks

#AllowOverride None
order deny,allow
deny from all

<Directory “/www">
Options Indexes FollowSymLinks
order allow,deny
allow from all

<IfModule mod_log_config.c>
LogFormat “%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"” combined
CustomLog logs/access.log combined
<IfModule mod_deflate.c>
DeflateFilterNote Input instream
DeflateFilterNote Output outstream
DeflateFilterNote Ratio ratio
LogFormat ‘“%r" %{outstream}n/%{instream}n (%{ratio}n%%)’ deflate
CustomLog logs/deflate.log deflate

<IfModule mod_dir.c>
DirectoryIndex index.htm index.html index.php index.php3 index.php4 index.cgi index.phtml

<IfModule mod_mime.c>
TypesConfig conf/mime.types
AddType application/x-tar .tgz
AddType application/x-rar-compressed .rar
<IfModule sapi_apache2.c>

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

<IfModule mod_setenvif.c>
BrowserMatch “Mozilla/2” nokeepalive
BrowserMatch “MSIE 4\.0b2;” nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch “RealPlayer 4\.0” force-response-1.0
BrowserMatch “Java/1\.0” force-response-1.0
BrowserMatch “JDK/1\.0” force-response-1.0
BrowserMatch “Microsoft Data Access Internet Publishing Provider” redirect-carefully
BrowserMatch “^WebDrive” redirect-carefully
BrowserMatch “^WebDAVFS/1.[012]” redirect-carefully
BrowserMatch “^gnome-vfs” redirect-carefully
<IfModule mod_deflate.c>
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

<IfModule mod_status.c>
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from

<IfModule mod_info.c>
<Location /server-info>
SetHandler server-info
Order deny,allow
Deny from all
Allow from

ScriptAlias /cgi-bin/ “/www/cgi-bin/”

<Directory “/www/cgi-bin">
AllowOverride None
Options Includes ExecCGI
AddHandler server-parsed .shtml
AddHandler cgi-script .cgi .pl
Order allow,deny
Allow from all

Alias /icons/ “icons/”

<Directory “icons/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all

IndexOptions FancyIndexing VersionSort

AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

..... continue code httpd below ....

Magento Community Magento Community
Magento Community
Magento Community
Jr. Member
Total Posts:  4
Joined:  2007-12-30

.... 2nd part code ...

AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*

AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core

AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^

DefaultIcon /icons/unknown.gif

Listen 81

<VirtualHost *:81>

ServerName localhost
ServerAdmin mail@localhost
DirectoryIndex index.php
DocumentRoot “C:/www”
ScriptAlias /cgi-bin/ “C:/PHP5/”
Action php5-script /cgi-bin/php-cgi.exe
AddHandler php5-script .php .php5
SetEnv PHPRC “C:/PHP5/”
<Directory “c:/PHP5/">
#AllowOverride None (after suggest,I comment this row but is same thing)
Options None
Order allow,deny
Allow from all


Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top