Re: Installing PHP
| From: | Joe Stump | Date: | Sun, 12 Nov 2000 20:53:45 +0000 |
| Subject: | Re: Installing PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-24876@lists.php.net to get a copy of this message | ||
I haven't compiled with axps, which I tried once and never got to work. Make
sure that your AddType is in your httpd.conf file for starters - if all else
fails compile PHP/Apache together (read the INSTALL in the PHP sources), which
BTW has never failed to work for me :O)
--Joe
On Sun, Nov 12, 2000 at 03:47:55PM -0500, Phil Labonte wrote:
> Hi,
>
> I am not new to Linux but I cannot seem to be able to figure out how to install PHP...
>
> I am using RedHat 7.0 and I used the PHP RPM to install PHP, and that did not work. Then I
> tried to install it using the binaries and I keep getting an error with apxs script. I redownloaded
> Perl and still it would not work.
>
> Please can someone tell me if there is a way to install PHP or is there something that I need
> to do to get it to work...?
>
> This is the code I used to to test it
>
> <html>
> <head>
> <title>Example</title>
> </head>
> <body>
>
> <?php
> echo "Hi, I'm a PHP script!";
> ?>
>
> </body>
> </html>
>
> I saved the file as test.php and test.html
>
> The result would be a blank page.... Please any help would be appreciated....
>
> Thanks
>
================================================================================
= Joe Stump joestump98@yahoo.com http://www.miester.org =
================================================================================
"Real programmers don't comment their code.
It was hard to write, it should be hard to understand."