Re[2]: [PHP] PHP/Apache configuration for Win NT

2001-08-22 Thread Julie Meloni


pegc> I then retried it and got the following error message:-

pegc> Internal Server Error
pegc> The server encountered an internal error or misconfiguration and was unable to
pegc> complete your request.
pegc> Please contact the server administrator, [EMAIL PROTECTED] and
pegc> inform them of the time the error occurred, and anything you might have done
pegc> that may have caused the error.

pegc> More information about this error may be available in the server error log.

What does the error log say, then?


pegc> and then:-

pegc> Fatal error: Call to undefined function: info() in C:\Program Files\Apache
pegc> Group\Apache\htdocs/phpinfo.php on line 3

pegc> when I tried the phpinfo test.

The function is phpinfo()


   Julie Meloni 
[EMAIL PROTECTED]
"PHP Essentials" & "PHP Fast & Easy"
 --- www.thickbook.com ---


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP/Apache configuration for Win NT

2001-08-22 Thread paul . eaton

Hi Julie,

I realised that I had a case sensitivity issue with my script alias and
corrected it.

So far so good.

I then retried it and got the following error message:-

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to
complete your request.
Please contact the server administrator, [EMAIL PROTECTED] and
inform them of the time the error occurred, and anything you might have done
that may have caused the error.

More information about this error may be available in the server error log.



and then:-

Fatal error: Call to undefined function: info() in C:\Program Files\Apache
Group\Apache\htdocs/phpinfo.php on line 3

when I tried the phpinfo test.

Well I just completely confused, everything is exactly as you said it should be
(I think)

Can anyone offer any further suggestions,

Thanks,

Paul Eaton.






Julie Meloni <[EMAIL PROTECTED]> on 08/21/2001 05:09:56 PM

Please respond to Julie Meloni <[EMAIL PROTECTED]>

To:   Paul Eaton/Harlequin@Harlequin
cc:   [EMAIL PROTECTED]
Subject:  Re: [PHP] PHP/Apache configuration for Win NT



pegc> ScriptAlias /php/ "C:/Php/"

pegc> AddType application/x-httpd-php .php .phtml .html
pegc> AddType application/x-httpd-php-source .phps

pegc> Action application/x-httpd-php /Php/php.exe

Check for mismatched cases in httpd.conf.



   Julie Meloni
[EMAIL PROTECTED]
"PHP Essentials" & "PHP Fast & Easy"
 --- www.thickbook.com ---








-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re[2]: [PHP] PHP/Apache configuration for Win NT

2001-08-21 Thread Julie Meloni


NF> You appear to have a typo in your httpd.conf:

NF> Action application/x-httpd-php /Php/php.exe

NF> should be as follows: (note the ")

NF> Action application/x-httpd-php "/Php/php.exe


This is not accurate.


   Julie Meloni 
[EMAIL PROTECTED]
"PHP Essentials" & "PHP Fast & Easy"
 --- www.thickbook.com ---


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP/Apache configuration for Win NT

2001-08-21 Thread Neil Freeman

You appear to have a typo in your httpd.conf:

Action application/x-httpd-php /Php/php.exe

should be as follows: (note the ")

Action application/x-httpd-php "/Php/php.exe

Hope that helps,

Neil

[EMAIL PROTECTED] wrote:

> ***
>  This message was virus checked with: SAVI 3.48
>  last updated 14th August 2001
> ***
>
> Hi,
>
> Here's the scenario,
>
> I've installed and am running mySQL on my machine
> I've installed Apache and have ran it and seen the page in IE confirming correct
> setup.
>
> I've installed PHP4 from a CGI binary distribution at the following location
>
>  c:\Php\
>
> and have been following a tutorial on WebMonkey in order to configure it.
>
> As instructed I have inserted the following lines in my httpd.conf file
>
> ScriptAlias /php/ "C:/Php/"
>
> AddType application/x-httpd-php .php .phtml .html
> AddType application/x-httpd-php-source .phps
>
> Action application/x-httpd-php /Php/php.exe
>
>  DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs"
>
> The tutorial also instructed me to move the php4ts.dll to the following place
>
>  c:\Winnt\system
>
> which I have done
>
> After rebooting my machine I started IE and pointed it at the apache server
> again.
> This time it produced an error as follows (from the log)
>
>  [Tue Aug 21 14:54:47 2001] [error] [client 172.16.18.149] File does not
> exist:
>  c:/program files/apache group/apache/htdocs/php/php.exe/index.html
>
> As instructed I created the filephpinfo.php in the Document root and pointed the
>  browser at it.
>
> This yielded the following error message:
>
>  [Tue Aug 21 14:54:53 2001] [error] [client 172.16.18.149] File does not
> exist:
>  c:/program files/apache group/apache/htdocs/php/php.exe/phpinfo.php
>
> Can anyone tell me where I am going wrong here please?
>
> Any suggestions gratefully received.
>
> Thanks,
>
> Paul Eaton.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

--

 Email:  [EMAIL PROTECTED]
 [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP/Apache configuration for Win NT

2001-08-21 Thread Julie Meloni

pegc> ScriptAlias /php/ "C:/Php/"

pegc> AddType application/x-httpd-php .php .phtml .html
pegc> AddType application/x-httpd-php-source .phps

pegc> Action application/x-httpd-php /Php/php.exe

Check for mismatched cases in httpd.conf.



   Julie Meloni 
[EMAIL PROTECTED]
"PHP Essentials" & "PHP Fast & Easy"
 --- www.thickbook.com ---


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] PHP/Apache configuration for Win NT

2001-08-21 Thread paul . eaton

Hi,

Here's the scenario,

I've installed and am running mySQL on my machine
I've installed Apache and have ran it and seen the page in IE confirming correct
setup.

I've installed PHP4 from a CGI binary distribution at the following location

 c:\Php\

and have been following a tutorial on WebMonkey in order to configure it.

As instructed I have inserted the following lines in my httpd.conf file

ScriptAlias /php/ "C:/Php/"

AddType application/x-httpd-php .php .phtml .html
AddType application/x-httpd-php-source .phps

Action application/x-httpd-php /Php/php.exe

 DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs"

The tutorial also instructed me to move the php4ts.dll to the following place

 c:\Winnt\system

which I have done

After rebooting my machine I started IE and pointed it at the apache server
again.
This time it produced an error as follows (from the log)

 [Tue Aug 21 14:54:47 2001] [error] [client 172.16.18.149] File does not
exist:
 c:/program files/apache group/apache/htdocs/php/php.exe/index.html

As instructed I created the filephpinfo.php in the Document root and pointed the
 browser at it.

This yielded the following error message:

 [Tue Aug 21 14:54:53 2001] [error] [client 172.16.18.149] File does not
exist:
 c:/program files/apache group/apache/htdocs/php/php.exe/phpinfo.php


Can anyone tell me where I am going wrong here please?

Any suggestions gratefully received.

Thanks,

Paul Eaton.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]