Re: how to set apache web server to run php version 4.0.2
| From: | Michael Kahn | Date: | Fri, 06 Oct 2000 11:33:28 +0000 |
| Subject: | Re: how to set apache web server to run php version 4.0.2 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-169@lists.php.net to get a copy of this message | ||
Thanawat Jirattitikarn wrote:
> I use apache version 1.3.12 for windows.I edit file httpd.conf by
> take away comment "AddType application/x-httpd-php3 .php",then I start
> apache web server again.I run php script and it have error
> "Internal Server Error".Can you tell me how me set apache web server to
> run php version 4.0.2 ? Please answer me at s0056034@kmitl.ac.th
>
> Thanks
If you are plugging in PHP as a DSO, you'll probably need a LoadModule line
in there too (at least you do on unix, don't know about windows).
Check the apache error log for more details--when a 500 error (Internal
Server Error) occurs like that, it usually means an application or server
module has crashed, but it may simply also mean that there was an
irrecoverable error in your php script. The error_log file is usually in a
directory called logs under your apache installation.
Generate the Internal Server Error again and then send a snippet from your
error_log so your problem can be better understood.
--
---
Michael Kahn
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net