Home > Archive > PHP Installation > February 2006 > Re: [PHP-INSTALL] Re: REMOVAL NOW
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: [PHP-INSTALL] Re: REMOVAL NOW
|
|
| juan Culasso 2006-02-16, 6:58 pm |
| PLEASE HELP ME!!!!
REMOVE AT THIS TIME!!!!!!!
PLEASE -
----- Original Message -----
From: Mark Galbreath
To: brian@activustech.com ; brian.wolf@activustech.com ; plastiqmanb@aol.com ; php-install@lists.php.net
Sent: Wednesday, February 15, 2006 9:37 PM
Subject: [PHP-INSTALL] Re: REMOVAL NOW
This is the Hotel California mail list. You can check in, but can never leave.
[color=darkred]
REMOVE ME
THIS WILL BE THE 3rd ATTEMPT AT PHP.NET UNSUBSCRIBE
REDICUOULS
-----Original Message-----
From: Mark Galbreath <GalbreathM@gao.gov>
To: brian@activustech.com; brian.wolf@activustech.com; php-install@lists.php.net
Sent: Wed, 15 Feb 2006 13:29:21 -0500
Subject: Re: [PHP-INSTALL] installation problem
Get rid of this:
<Directory "c:/oscommerce/*">
Options +ExecCGI
AddHandler cgi-script .php
</Directory>
If you want to run php scripts in their own directory, use something like
<Location /php-bin>
Action application/x-httpd-php "c:/php/php.exe"
</Location>
Otherwise, yes, apache expects CGI scripts to begin with a shabang (#!) and full path to binary.
Mark<-|-<kraM
[color=darkred]
Even though this probably is not a new topic, can someone suggest a
remedy for my installation difficulties?
Here's my configuration:
Apache 2.0.55
PHP 5.1.2 installed in c:\php
Windows 2000 SP4
I'm trying to test a PHP application. Whenever I try to execute a PHP
script, two errors are generated in the apache error log:
[Wed Feb 15 13:10:57 2006] [error] [client 127.0.0.1]
C:/oscommerce/catalog/install/index.php is not executable; ensure
interpreted scripts have "#!" first line
[Wed Feb 15 13:10:57 2006] [error] [client 127.0.0.1] (9)Bad file
descriptor: don't know how to spawn child process:
C:/oscommerce/catalog/install/index.php
It looks like apache expects something like "#!c:\php\php.exe" as the
first line of each script. I've added these lines to the apache
configuration file (htpd.conf):
<Directory "c:/oscommerce/*">
&n! bsp; Options +ExecCGI
AddHandler cgi-script .php
</Directory>
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
PHPIniDir "c:/php/"
AddHandler cgi-script .py .php .class .jar
Action application/x-httpd-py "/python/python.exe"
Action application/x-httpd-php "/php/php.exe"
Can anyone suggest a solution?
Thanks.
Brian
--
------------------------------------------------------------------------
Brian Wolf <mailto:brian@activustech.com>
Activus Technologies <http://www.activustech.com>
410.367.2958
Enterprise Development Consultants helping small to mid-size
organizations gain a competitive advantage through intelligent
application of technology! .
------------------------------------------------------------- -----------
| |
| Michael Scappa 2006-02-16, 6:58 pm |
| "Just when I thought I was out, they pull me back in."
- Godfather III
_____
From: juan Culasso [mailto:alcu@adinet.com.uy]
Sent: Thursday, February 16, 2006 11:42 AM
To: Mark Galbreath; brian@activustech.com; brian.wolf@activustech.com;
plastiqmanb@aol.com; php-install@lists.php.net
Subject: Re: [PHP-INSTALL] Re: REMOVAL NOW
PLEASE HELP ME!!!!
REMOVE AT THIS TIME!!!!!!!
PLEASE -
----- Original Message -----
From: Mark Galbreath <mailto:GalbreathM@gao.gov>
To: brian@activustech.com ; brian.wolf@activustech.com ; plastiqmanb@aol.com
; php-install@lists.php.net
Sent: Wednesday, February 15, 2006 9:37 PM
Subject: [PHP-INSTALL] Re: REMOVAL NOW
This is the Hotel California mail list. You can check in, but can never
leave.
[color=darkred]
REMOVE ME
THIS WILL BE THE 3rd ATTEMPT AT PHP.NET UNSUBSCRIBE
REDICUOULS
-----Original Message-----
From: Mark Galbreath <GalbreathM@gao.gov>
To: brian@activustech.com; brian.wolf@activustech.com;
php-install@lists.php.net
Sent: Wed, 15 Feb 2006 13:29:21 -0500
Subject: Re: [PHP-INSTALL] installation problem
Get rid of this:
<Directory "c:/oscommerce/*">
Options +ExecCGI
AddHandler cgi-script .php
</Directory>
If you want to run php scripts in their own directory, use something like
<Location /php-bin>
Action application/x-httpd-php "c:/php/php.exe"
</Location>
Otherwise, yes, apache expects CGI scripts to begin with a shabang (#!) and
full path to binary.
Mark<-|-<kraM
[color=darkred]
Even though this probably is not a new topic, can someone suggest a
remedy for my installation difficulties?
Here's my configuration:
Apache 2.0.55
PHP 5.1.2 installed in c:\php
Windows 2000 SP4
I'm trying to test a PHP application. Whenever I try to execute a PHP
script, two errors are generated in the apache error log:
[Wed Feb 15 13:10:57 2006] [error] [client 127.0.0.1]
C:/oscommerce/catalog/install/index.php is not executable; ensure
interpreted scripts have "#!" first line
[Wed Feb 15 13:10:57 2006] [error] [client 127.0.0.1] (9)Bad file
descriptor: don't know how to spawn child process:
C:/oscommerce/catalog/install/index.php
It looks like apache expects something like "#!c:\php\php.exe" as the
first line of each script. I've added these lines to the Apache
configuration file (htpd.conf):
<Directory "c:/oscommerce/*">
&n! bsp; Options +ExecCGI
AddHandler cgi-script .php
</Directory>
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php ..php
AddType application/x-httpd-php-source .phps
PHPIniDir "c:/php/"
AddHandler cgi-script .py .php .class .jar
Action application/x-httpd-py "/python/python.exe"
Action application/x-httpd-php "/php/php.exe"
Can anyone suggest a solution?
Thanks.
Brian
--
------------------------------------------------------------------------
Brian Wolf <mailto:brian@activustech.com
<java script:parent.ComposeTo('brian@activustech.com');> >
Activus Technologies <http://www.activustech.com>
410.367.2958
Enterprise Development Consultants helping small to mid-size
organizations gain a competitive advantage through intelligent
application of technology! .
------------------------------------------------------------- -----------
|
|
|
|
|