You are not logged in.
Pages: 1
Hi!
PHP extensions (mysql, gd and others) were working, but now they don't! When I run a php script, that has mysql or gd functions I get following errors:
Fatal error: Call to undefined function mysql_connect()
or
Fatal error: Call to undefined function imagecreatefromjpeg()
Both gd and mysql are uncommented in php.ini file. I have reinstalled all packages (php, php-apache, mysql, php-gd, gd (and dependencies too)), and `LoadModule` and `Include` lines for php are in httpd.conf file. Mysqld and httpd starts succesfully, What could be the problem?
I have apache 2.2.13-2 and php 5.3.0-3.
Thanks in advance,
-skazhy
Offline
Hi, I've juste got the same messages. Look in /etc/php/ if there is a "php.ini.pacnew" file.
If there is, rename it "php.ini" (you should move your original php.ini to php.ini.old just in case)
and uncomment the lines you need. Then restart apache.
During the last update of php with pacman, there was a line saying be carefull to new php.ini renamed php.ini.pacnew.
Sorry for my english, i'm french (speaking)
Offline
Pages: 1