Re: PHP5 and APACHE2 work but not best
- From: David Haynes <david.haynes2@xxxxxxxxxxxx>
- Date: Fri, 30 Jun 2006 12:56:47 -0400
Steel wrote:
"David Haynes"Which version of php and apache are you using?
KINDLY wrote:
A couple of things...
1. Running PHP as a CGI will be slower than running it as a native
Apache module. This is probably where you are getting the poor
response from.
2. You say
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/WINDOWS"
does not work for you. I *think* it is because your php.ini file is in
c:/php not c:/WINDOWS.
3. Please try again with the LoadModule option and post a copy of
the output of phpinfo() - It will help us get it all working for you.
-david-
I tryed again to add
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/WINDOWS/"
#I am sure that PHP.ini is into the windows direcory
but Apache not accept these lines and when I try to start APACHE it open
obly a moment the MS-dos windows console and do not run.
I tryed line per line and I noted that APACHE accept only the second line
AddType application/x-httpd-php .php
It close immediately the windows if I add the first
LoadModule php5_module "c:/php/php5apache2.dll"
ant 3th line
PHPIniDir "C:/WINDOWS/"
Therefore I have not a copy of the PHPINFO() output because nothing work
Regards
Steel
-david-
.
- References:
- PHP5 and APACHE2 work but not best
- From: Steel
- Re: PHP5 and APACHE2 work but not best
- From: David Haynes
- Re: PHP5 and APACHE2 work but not best
- From: Steel
- PHP5 and APACHE2 work but not best
- Prev by Date: Re: PHP5 and APACHE2 work but not best
- Next by Date: Re: PHP5 and APACHE2 work but not best
- Previous by thread: Re: PHP5 and APACHE2 work but not best
- Next by thread: Re: PHP5 and APACHE2 work but not best
- Index(es):
Relevant Pages
|