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)
Tag: ubuntu
Install OwnCloud with PostgreSQL – Not Authenticating on Ubuntu 12.04LTS
Okay all I have tried to follow the instructions online for getting Postgresql to work with OwnCloud install but it still gives me the dreaded “PostgreSQL username and/or password not valid You need to enter either an existing account or the administrator.” I have installed: Ubuntu 12.04LTS Apache 2.2 PHP 5.3 PostgreSql 9.3 OwnCloud 6.0.3 My web server is hosted
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
Connecting to Gmail through IMAP with PHP – SSL context failed
I’m trying to connect to Gmail through IMAP with PHP running in Apache. This is on an Ubuntu 9.04 system. I’ve got some sort of PHP configuration issue that is keeping this from working. First, …