Apache Server setup problem...
Hi LinuxQuestions.org
I've decided to set up an Apache Server and install PHP 5 into that, running Fedora Core 4. My problem is that (and Im a real noob) I can't find a proper tutorial that actually makes PHP 5 works with the APache server. My Apache server is running, and I can see my HTML code, but not my PHP. Can you find some nice tutorial or give me a simple description on how to make Apache "aware" of that PHP 5 is installed Best Regards Christian Sorensen |
How did you install these packages. If you compiled from source, take a look at the docs at php.net for how to configure apache to work with php5.
|
Did you double check your code... Because when I started to use php, I found that the reason why I couldnt see any of my php files was because of stupid mistakes in my code...
Try this code and save it as phptest.php <html> <head> <title>PHP Test</title> </head> <body> <?php echo "Hello World"; ?> </body> </html> If this code works, then everything should be running ok with your server... |
Double checking
I thought of the same thing at first, but I've triple checked it, and it works on one of my friends PHP servers, so I can't be my code that is wrong
|
Did you install it yourself or was php already installed...
You can also check out: http://www.redhat.com/docs/manuals/d...rog/c7614.html |
are you installing php5?
|
All times are GMT -5. The time now is 02:14 PM. |