You are here: Re: Help needed, new installation, things don't work anymore. « All PHP « IT news, forums, messages
Re: Help needed, new installation, things don't work anymore.

Posted by Jerry Stuckle on 01/11/08 12:38

coolsti wrote:
> I just did some quick additional tests and I can see that it does not
> appear as if my php.ini file is being used when I restart the httpd
> daemon. I made a short script that calls phpinfo() so I can see the
> settings in my browser. When I change a value in /etc/php.ini, and restart
> httpd with /etc/init.d/httpd restart, and call my script, I see that the
> values in /etc/php.ini which I changed were not accepted.
>
> This tells me that the apache server on startup is not using /etc/php.ini
> for some reason. But when I do "locate php.ini" (with an updated file
> location database), this is the only php.ini on the machine!
>
> So I seem to have two problems: /etc/php.ini is ignored, and I cannot read
> my php scripts located away from the document tree.
>
> Steve, Denmark
>

What configuration file does phpinfo() say it's using?

"Permission denied" indicates the webserver user does not have
permission to access the file. Correct your file system security.

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

 

Navigation:

[Reply to this 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

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