Reply to Re: php windows installation help

Your name:

Reply:


Posted by Jerry Stuckle on 11/30/07 19:30

Darrell wrote:
> OK, I uninstalled apache and php and installed WAMP2.0a which has apache
> 2.2.6, php5.2.5 and mysql 5.0.45.
> The index.html file in C:\wamp\bin\apache\apache2.2.6\htdocs runs and the
> screen says "It works".
> When I run test.php that contains the following
>
> <?php
> echo 'PHP is working.<br>';
> echo phpinfo();
> ?>
>
> I get
>
> '; echo phpinfo(); ?>
>
> so it looks like php is not working. This is the same problem I had before.
> What now?
>
>
> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
> news:1PydnYosBuccZ9LanZ2dnUVZ_smnnZ2d@comcast.com...
>> Darrell wrote:
>>> I have installed apache 2.0.61 and php 5.2.5 on my XP computer.
>>> I have apache running and followed the installation instructions by
>>> Matthew Phillips on www.devarticles.com.
>>> Apache seems to be working but I can't get php scripts to work.
>>> I may be missing server api but I have not been able to find it.
>> Those instructions are over 4 years old and is written for PHP 4. A lot
>> has changed since then.
>>
>> Why not just install WAMP or XAMP. You get Apache, PHP and MySQL, all in
>> one nice package.
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstucklex@attglobal.net
>> ==================
>>
>
>
>

Well, first of all you don't echo phpinfo(). It produces the page all
by itself. You should only have:

<?php
phpinfo();
?>

What does your page source look like?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[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

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