We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
Products
Revo Discussions & Support
Revolution 2.0
Search
System Info: phpinfo() different then test file
64 Posts
graydesign
Reply #1,
16 years, 3 months ago
Hi,
Using the phpinfo() page from Manager:System Info:View phpinfo()
(
http://modx_site.tld/connectors/system/phpinfo.php
)
It tells me that I have safe_mode ON
But if I create a file containing
<?php phpinfo(); ?>
and run it from the root directory
(
http://modx_site.tld/my_phpinfo.php
)
Then it reports safe_mode OFF.
Any idea what’s happening?
Thanks
|
MODX Staff
10,725 Posts
opengeek
Reply #2,
16 years, 3 months ago
Sounds like you are using a CGI configuration that requires a php.ini file in every directory you want to change settings in.
Jason Coward
Chief Architect @ MODX
http://www.jasoncoward.com
|
http://twitter.com/drumshaman
|
https://github.com/opengeek
64 Posts
graydesign
Reply #3,
16 years, 2 months ago
ah thank you OpenGeek!
I’m guessing this is another side affect to my servers recent change to suphp.
Damn I’m getting sick of these shared servers - I never now where I stand
Many thanks,
|