Can't get phpinfo to work on my ccgi server
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Can't get phpinfo to work on my ccgi server
Can't get phpinfo to work on my ccgi server
03-06-2019 6:15 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I wanted to check the php settings on the ccgi server. So, I wrote a little php program containing the code:
<? phpinfo();?>
but it displays nothing. Also tried
<? echo phpinfo(); ?>
but that didn't work either.
What am I doing wrong?
Re: Can't get phpinfo to work on my ccgi server
03-06-2019 8:33 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
You are not doing anything wrong. Hostopia have blocked a number of infrastructure commands to improve security and unfortunately phpinfo() is one of them .
Re: Can't get phpinfo to work on my ccgi server
04-06-2019 11:35 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Ah! I rather feared that might be the case.
Do you know if ftp is enabled from within php?
Re: Can't get phpinfo to work on my ccgi server
05-06-2019 11:01 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
PHP lists the ftp extension as present but I don't know whether it works. Worth giving it a try though.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Can't get phpinfo to work on my ccgi server