• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

php.ini

S

ssiAdmin

Guest
I want to turn register_globals on. Figured I try changing the background color on my php.ini file to make sure I was editing the right one (/etc/php.ini). I'm aware there is more than one copy on the server and that Plesk overwrites some files.

After restarting httpd, I don't see my background color changes (highlight.bg #999999 #999999) in a page that calls phpinfo() function so I figure I an not editing the right file or doing something wrong.

Can anyone point me in the right direction (or better yet, the right file).

Thanks in advance,
Art
 
Is this something that I need to do in a vhosts.conf file?

I'm sure I am missing something quite basic. When I make changes in the /etc/php.ini file, and restart httpd the changes do not show up in with a phpinfo() call.

Suggestions?

Thanks again for any help you can give.
Art
 
To make the changes in your vhost.conf do:

# /usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=<domain_name>

and then restart apache
 
Back
Top