Skip to content
Advertisement

Tag: ubuntu

Call to undefined function imagecreatefromjpeg() and GD enabled

im working on ubuntu 14.04 LTS with PHP 5.5.9 with GD enabled and i doubled check with but still showing me this msg everytime i try to use imagecreatefromjpeg() Fatal error: Call to undefined function imagecreatefromjpeg() in /../library/image.php on line 34 i even tried to check on it from command line by using this and it gives me back bool(false)

How install PHP’s MongoDB driver — “pecl install mongo” fails

How do I install PHP’s MongoDB client driver? I’ve done this already: But the next step fails: When I have a look at http://pecl.php.net/mongo, I find listed many versions of the Mongo driver. Am I supposed to include a version number or something? However all installation instructions I’ve found simply state that one use sudo pecl install mongo and nothing

Undefined function mysql_connect()

I have ran aptitude install php5-mysql (and restarted MySQL/Apache 2), but I am still getting this error: Fatal error: Call to undefined function mysql_connect() in /home/validate.php on line 21 phpinfo() says the /etc/php5/apache2/conf.d/pdo_mysql.ini file has been parsed. Answer Well, this is your chance! It looks like PDO is ready; use that instead. Try checking to see if the PHP MySQL

What are the .ini files in /etc/php5/conf.d folder for?

I get that the .ini files in /etc/php5/cli have to do with CLI usage of PHP, the files in /etc/php5/fpm are about FastCGI/FPM aspect of PHP, but what about the .ini files located in /etc/php5/conf.d? Answer From /usr/share/doc/php5-common/README.Debian.gz (on an Ubuntu system with PHP installed): Additionally, each SAPI is configured with the compile-time option which for all SAPI’s is actually

Testing php / mysqli connection

I am looking for a way to test just the connection portion of a php / mysqli connection. I am migrating from a LAMP server build on Vista to the same on Ubuntu and am having fits getting mysqli to work. I know that all of the proper modules are installed, and PhpMyAdmin works flawlessly. I have migrated a site

Advertisement