Reply to Re: Can't make php to work with apache in xp

Your name:

Reply:


Posted by Jerry Stuckle on 12/19/05 23:50

Kasper Lindvig wrote:
> Well first of all the install.txt file doesn't state that one has to:
> 1) Uncomment and Edit session.save_path
> 2) How to: Add C:\www\php to the System PATH
> 3) Add index.php after DirectoryIndex
> 4) Add AddType application/x-httpd-php-source .phps
>
> And secondly it doesn't say that just one php.ini file is necessary. I
> had two (on in php dir and one in windows dir). And thirdly it didn't
> say that it was windows directory and not system32 directory to put
> php5ts.dll. I had them in both. The point is that this manual works
> the other DOESN'T!!!
> And if I do some testing later and conclude my findings to be true,
> then of course I will report a bug. But that will have to be later.
> Kasper
>
> On Mon, 19 Dec 2005 17:36:40 +0000, Andy Hassall <andy@andyh.co.uk>
> wrote:
>
>

Let's see...

> 1) Uncomment and Edit session.save_path

Only required if you're using sessions and the default save path (I
forgot what it is - /tmp maybe?) doesn't exist.

> 2) How to: Add C:\www\php to the System PATH
Not required. I don't have it in my system path. But you do need to
ensure you've set the directories properly in your php.ini file.

> 3) Add index.php after DirectoryIndex
Only required if you want this to be one of the default page selections.
It's not required to make PHP work.

> 4) Add AddType application/x-httpd-php-source .phps
Well, yes, if you're using a non-standard extension (.php is the
standard), you do need to add this. It's true for any non-standard
extension.

> And secondly it doesn't say that just one php.ini file is necessary. I
> had two (on in php dir and one in windows dir). And thirdly it didn't
> say that it was windows directory and not system32 directory to put
> php5ts.dll. I had them in both. The point is that this manual works
> the other DOESN'T!!!

Hmmm, I don't know why you'd have two copies of any file. Not true for
just PHP - but anything.

So far I don't see any errors in the doc. But you do need to understand
a little of what's going on. It's not "load and go"!

P.S. And please don't top post.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация