PHP5/Apache 2 Installation Question

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

Post Reply
User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Post by Alexej Kubarev » Sat May 21, 2005 3:52 am

first of all: you need to enable view of known extentions (Folder options->view) and save the file with .php extention... another way would be saving it like this:

File name: "name.php"

Mind the quotes as they force notepad to save the file without adding .txt

I do NOT suggest using binary as its better to use zip packages... but it might be harder to configure... leave userdir as it is in php.ini : you dont really need it

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Post by Alexej Kubarev » Sun May 22, 2005 1:51 am

i think its still that you are getting weird extentions... try showing known extentions like i told you..

by the way: its always better to use .php extention and not html for your php files... you did configure apache to use php, right?

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Post by Alexej Kubarev » Sun May 22, 2005 11:00 pm

all you actually neede to do is use AddType derictive for the PHP extention in apache config file (just like instructed on PHP.net) and resterat your server :)

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Post by Alexej Kubarev » Sun May 22, 2005 11:01 pm

please look at the sticky's that ive posted before as they may be usefull in future configurations

User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

Post by ruturajv » Mon May 23, 2005 3:44 am

and try not using CGI way of configuring PHP with apache but as an Module

Post Reply

Who is online

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