php windows installation help
php windows installation help
am 30.11.2007 04:37:25 von darrell
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.
Re: php windows installation help
am 30.11.2007 12:56:29 von Jerry Stuckle
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
==================
Re: php windows installation help
am 30.11.2007 19:39:58 von darrell
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
echo 'PHP is working.
';
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" 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
> ==================
>
Re: php windows installation help
am 30.11.2007 20:30:55 von Jerry Stuckle
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
>
>
> echo 'PHP is working.
';
> 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" 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:
phpinfo();
?>
What does your page source look like?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Re: php windows installation help
am 30.11.2007 21:28:50 von darrell
OK, I think I found it. The file has to be in a folder under C:\wamp\www to
work.
Darrell
"Darrell" wrote in message
news:FMOdnYERus23xM3anZ2dnUVZ_oOnnZ2d@comcast.com...
> 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
>
>
> echo 'PHP is working.
';
> 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" 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
>> ==================
>>
>
>