help getting started on PHP

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

madhatter
New php-forum User
New php-forum User
Posts: 2
Joined: Thu Jun 14, 2012 2:15 am

help getting started on PHP

Postby madhatter » Thu Jun 14, 2012 2:20 am

Hello everybody...
im trying to start programming PHP and have ran into a little problem

I have the following example from a book

<html>
<body>
PHP vil gerne sige noget:<BR>
<?
echo "Hej verden";
?>
</body>
</html>

when i run it on localhost i only get the line
PHP vil gerne sige noget:

I use the server downloaded from appservnetworks.com as server
can anybody tell me what im doing wrong

regards Morten

User avatar
ejsexton82
New php-forum User
New php-forum User
Posts: 86
Joined: Mon Jun 04, 2012 10:05 pm
Location: Ankara, Turkey
Contact:

Re: help getting started on PHP

Postby ejsexton82 » Thu Jun 14, 2012 7:45 pm

Either PHP is not installed, or it is not recognizing and processing the file. AppServeNetworks.com is for sale, and not a real website at this time. I would recommend installing / reinstalling PHP.

If you are installing PHP for the first time, I would recommend either WampServer (Windows) or a Lamp Server Package (Linux):


Good luck!

madhatter
New php-forum User
New php-forum User
Posts: 2
Joined: Thu Jun 14, 2012 2:15 am

Re: help getting started on PHP

Postby madhatter » Fri Jun 15, 2012 3:19 am

thanks for the fast reply...
i was using an old book which recommended appserver... i will try to instal again using another server :)


Return to “PHP Installation”

Who is online

Users browsing this forum: No registered users and 2 guests