You are here: Re: Problem installing PHP on Apache server « PHP Programming Language « IT news, forums, messages
Re: Problem installing PHP on Apache server

Posted by Markus L. on 06/09/05 00:02

Am Wed, 08 Jun 2005 09:59:50 -0700 schrieb bissatch:

> Hi,
>
> I am trying to install Apache and PHP. I have installed apache fine
> where I can type in http://localhost and it displays the default Apache
> page.
>
> When trying to install PHP I have run the installer file which seemed
> to go OK. It is when configure the Apache httpd.conf file that I get
> the problem. I have updated the ScriptAlias to read:
>
>
> ScriptAlias /php/ "C:/Program Files/PHP/"

You do not need this alias here.

>
>
> And added the following lines:
>
>
> Action application/x-httpd-php "/php/php.exe"

Type here the real path to your php.exe i.e.:
Action application/x-httpd-php "C:/Program
Files/PHP/php.exe"

> AddType application/x-httpd-php .php
>
>
> ..as instructed by the tutorial I was reading.
>
> To test PHP, I have created a phpinfo() page called index.php inside the
> htdocs folder in Apache. When I try to access the file it give the
> following 404 error:
>
>
> Not Found
>
> The requested URL /php/php.exe/index.php was not found on this server.
>
>
>
> Any ideas?
>
> Cheers

--
-------------------------------------------------------
Try this: SCA the Smart Class Archive for PHP
http://www.project-sca.org
-------------------------------------------------------

 

Navigation:

[Reply to this 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

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