PHP5/Apache 2 Installation Question

Forum for you who has PHP installation issues

Moderators: egami, macek, gesf

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

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
Best Regards,
Alexej Kubarev
-------------------------------
Zend Certified Engineer
Image Image

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

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?
Best Regards,
Alexej Kubarev
-------------------------------
Zend Certified Engineer
Image Image

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

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 :)
Best Regards,
Alexej Kubarev
-------------------------------
Zend Certified Engineer
Image Image

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

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
Best Regards,
Alexej Kubarev
-------------------------------
Zend Certified Engineer
Image Image

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

Mon May 23, 2005 3:44 am

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

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests