|
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]
|