Posted by Jerry Stuckle on 06/30/06 17:08
Steel wrote:
> "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
>
>
What happens if you open a MS-DOS prompt, CD to the Apache binary directory and type
httpd -f (path to your httpd.conf file)
You should get some error messages as to why Apache won't run.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|