Reply to Re: PHP5 and APACHE2 work but not best

Your name:

Reply:


Posted by Steel on 06/30/06 16:52

"David Haynes"

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация