Re: Q on PHP 4.3.2 & Apache 2.0.43
| From: | Sek-Mun Wong | Date: | Fri, 01 Aug 2003 00:00:10 +0000 |
| Subject: | Re: Q on PHP 4.3.2 & Apache 2.0.43 | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20958@lists.php.net to get a copy of this message | ||
red herring!
those are Apache directives you've listed, not php.ini settings. I assume
you mean php.conf which is included by httpd.conf?
I assume you know how to install php as a SAPI module (you've got all the
directives below plus the help url)
However, that's just a SAPI red herring, this is how you install PEAR under
windows:
(I admit I installed it using the linux method using cygwin under windows, I
assume this will work)
Installation: Windows
#
# On Windows, go-pear uses stdin for user input, so you must download
# go-pear first and then run it:
#
# Note: In PHP 4.2.0-4.2.3, the PHP CLI binary is named php-cli.exe while
since
# PHP 4.3.0, it's simply named php.exe in the cli/ folder of your PHP
directory.
# The CGI is also named php.exe but it sits directly in your PHP directory.
#
# > cli/php -r 'readfile("http://pear.php.net/go-pear");' > go-pear
# > cli/php go-pear
#
# Installation: Notes
#
# - If using the CGI version of PHP, append the -q option to suppress
# headers in the output.
# - Once the go-pear script is initiated, you will see instructions on
# how to continue installing PEAR. The first thing you should see is:
#
# Welcome to go-pear!
#
"Jswalter" <jsWalter@torres.ws> wrote in message
news:20030731230708.21798.qmail@pb1.pair.com...
> I am trying to run the web installer for PEAR.
>
> I get this message...
>
> Sorry! The PEAR installer actually does not work on Windows platform
> using CGI and Apache.
> Please install the module SAPI (see
> http://www.php.net/manual/en/install.apache.php
> for the instructions) or use the CLI (cli\php.exe) in the console.
>
> This is my php.config file...
>
> LoadFile "/etc/php/php4ts.dll"
> LoadFile "/etc/php/gnu_gettext.dll"
> LoadModule php4_module "/etc/php/sapi/php4apache2.dll"
> Action application/x-httpd-php "/etc/php/php.exe"
> ScriptAlias /php/ "/etc/php/"
> AddType application/x-httpd-php .php .phtml
> AddType application/x-httpd-php-source .phps
>
> What am I doing wrong?
>
> walter
>
>