http://localhost/test.php

General discussions related to php

Moderators: macek, egami, gesf

Post Reply
sleepingdanny
New php-forum User
New php-forum User
Posts: 13
Joined: Mon Mar 17, 2003 6:38 am

Post by sleepingdanny » Sun May 11, 2003 4:55 am

Did you try to open the file from your own computer or after you uploaded to your site? (it wont work from your computer, because PHP is Server-Side language.

You can try adding this to your code :arrow:

Code: Select all

<?php
....
?>
:P

Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Post by Oleg Butuzov » Sun May 11, 2003 10:02 pm

problem - scripts isnt running
slove - accosiate PHP fiel with interpreter


open httpd.conf - Apache config file
and write that...


LoadModule php4_module modules/php4apache.dll
AddType application/x-httpd-php .php .phtml


but you need to install php4apache.dll to modules directory.

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest