Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting "PHP Core" and other server info. 1

Status
Not open for further replies.

sen5241b

IS-IT--Management
Sep 27, 2007
199
US
I am using phpinfo() but getting only one page with the heading "PHP Version 5.1.4".

What commands display the profuse php server info on this webpage?


or this one?


I am not getting anything close to this amount of info and I especially the "PHP Core" info. (Yes, I googled the hell out of this issue).
 
there is no command other than phpinfo() that does what you want. you can limit what is displayed by the use of options though. for example phpinfo(INFO_CONFIGURATION) will *just* show the core configuration.

if you are not getting the full info load with just phpinfo() then something else is going wrong with your php installation.
 
Godaddy sent me this support email recently:

"We do apologize for the miscommunication. Unfortunately it is not possible to access the default php.ini file. If you wish to override the settings of the default php.ini file used, you would need to create your own php.ini file and upload this to your hosting account in order to override the default settings of your Linux hosting account."

I assume that the "PHP Core" display from phpinfo() is essentially the contents of the php.ini and I can build a slightly modified php.ini based on the PHP Core output. Am I correct?

(And yes I know many admins hate godaddy because of their limitations).
 
that's not bad - that's great. the ability to set your own php.ini file locally is very liberal as a policy, and mirrors my own favourite host.

the output from phpinfo pretty much tells you what is in php.ini, yes, just upload the changes that you want rather than a full file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top