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 coolsti on 01/11/08 08:38

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

 

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

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