By dbisset
Hello! I started a new Ubuntu 14.04 droplet and followed the tutorial here: https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04
Everything seemed to be going ok until i setup a simple test php page that just had php_info() on it. When I attempted to view the page online I got an HTTP Error 500. My apache error log reported:
[Sat Jul 30 12:38:01.847132 2016] [:error] [pid 6164] [client xx.xx.xx.xx:51976] PHP Fatal error: Call to undefined function php_info() in /var/www/html/info.php on line 3
Unsure what to do from here. Doing a php -v from the command line confirms PHP is installed and i’m not seeing errors (I did reboot Apache several times):
PHP 5.5.9-1ubuntu4.17 (cli) (built: May 19 2016 19:05:57) Copyright © 1997-2014 The PHP Group Zend Engine v2.5.0, Copyright © 1998-2014 Zend Technologies with Zend OPcache v7.0.3, Copyright © 1999-2014, by Zend Technologies
Googling for this didn’t seem to solve the problem. Suggestions?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This comment has been deleted
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.