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 magento.stackexchange.com, 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 community@magento.com.

Magento Forum

isn’t possible to install if php5 is cgi
 
albs
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
localhost:81/..
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
http://localhost:81/magento_0_6_14100/install

i have this page:

<?=__('Magento')?>

__(’Skip to Main Content’)?> »
getChildHtml(’topSearch’)?>
getWelcome()?> getChildHtml(’topLeftLinks’)?>
getChildHtml(’topRightLinks’)?>
getChildHtml(’topMenu’)?>
getChildHtml(’store’)?>
getChildHtml(’breadcrumbs’)?>
getChildHtml(’left’)?>
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/httpd.pid

Timeout 300

KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15

<IfModule mpm_winnt.c>
ThreadsPerChild 250
MaxRequestsPerChild 0
</IfModule>

LoadModule info_module modules/mod_info.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule status_module modules/mod_status.so
LoadModule headers_module modules/mod_headers.so
LoadModule access_module modules/mod_access.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_module modules/mod_auth.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 imap_module modules/mod_imap.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
LoadModule userdir_module modules/mod_userdir.so
LoadModule rewrite_module modules/mod_rewrite.so

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
</IfModule>
</IfModule>
Options FollowSymLinks

#AllowOverride None
order deny,allow
deny from all
</Directory>

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

<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>
</IfModule>

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

<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>
</IfModule>

<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>
</IfModule>

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

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

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
</Directory>

Alias /icons/ “icons/”

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

IndexOptions FancyIndexing VersionSort

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

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

 
Magento Community Magento Community
Magento Community
Magento Community
 
albs
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
</Directory>

</VirtualHost>

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