PHP- Localhost problem
Just did a fresh Slackware 12 install.
I can't view my php files in a brower. This is what I type: Code:
<?php So I put a hello.php file in /srv/httpd/htdocs and if I go to http://localhost/hello.php, this is what I get: <?php echo 'Hello World'; ?> I should see: Hello World... I've tried to do Code:
apachectl restart Quote:
|
Is apache configured to use php at all?
In other words ... is #Include /etc/httpd/mod_php.conf uncommented in httpd.conf? Cheers, Tink |
Downloaded and installed the XAMPP Apache Distribution which works perfectly, although the security is bad.
|
Heh. Solving problems the windows way ;}
Cheers, Tink |
Quote:
cheers |
All times are GMT -5. The time now is 04:44 AM. |