Reply to Re: PHP __FILE__ directive is not functioning correctly?

Your name:

Reply:


Posted by Evil Otto on 03/23/07 13:12

On Mar 20, 10:35 pm, Evan Platt <e...@theobvious.espphotography.com>
wrote:
> Ok, phpinfo(); says:
>
> PHP Version 4.4.6
>
> Where in that page does it tell me the locatoin it's calling php from?
>
> php -v from shell says 5.2.2-dev, and I don't see any other php's in
> my $path.


Check your Apache configuration. I bet you'll find that httpd.conf
(or whatever OSX uses.. I wish apple wouldn't screw with admins'
expectations) calls mod_php4.c instead of mod_php5.c. There should be
a line in there that looks something like this:

LoadModule php5_module libexec/apache22/libphp5.so # or
wherever your modules are
....

If it's still using the php4 module, there's your problem.

HTH.

[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

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