By Narkus on
Hi all,
I need some advice: I'm trying to install Drupal on a Centos 5.5 / Apache server, but I can't get the GD and PDO Extensions to work. I've tried editing the PHP.ini file to include extension=pdo.so and extension=pdo_mysql.so - and I've restarted the server - but no joy. There's no reference to anything in the .htaccess file...so I'm stumped. Here's the results of the Install Requirements:
|
OK
|
Web server | Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 |
|
OK
|
PHP | 5.2.9 |
|
OK
|
PHP register globals | Disabled |
|
Error
|
PHP extensions | Disabled |
Drupal requires you to enable the PHP extensions in the following list (see the system requirements page for more information):
|
||
|
Error
|
Database support | Disabled |
| Your web server does not appear to support PDO (PHP Data Objects). Ask your hosting provider if they support the native PDO extension. See the system requirements page for more information. | ||
|
OK
|
PHP memory limit | 32M |
|
OK
|
File system | Writable (public download method) |
|
Warning
|
Unicode library | Standard PHP |
| Operations on Unicode strings are emulated on a best-effort basis. Install the PHP mbstring extension for improved Unicode support. | ||
|
OK
|
Settings file | The ./sites/default/settings.php file exists. |
|
OK
|
Settings file | The settings file is writable. |
Anyone got any ideas? I'm pretty new to dedicated servers & Centos, and haven't really done much in SSH, so please be gentle :)
Thanks in advance,
Narkus
Comments
You need to install below 2
You need to install below 2 php extension in your centos, please run them in shell with root access:
yum install php53-pdo.x86_64
yum install php53-gd.x86_64
Hi, In your php.ini
Hi,
In your php.ini file
uncomment:
extension=php_gd2.dll
and
extension=php_pdo_mysql.dll
Choose the correct php_pdo_*.dll file for the second one.
Regards,
Vincent.
enabled php extensions but still not working
extension=php_gd2.dll
extension=php_mysql.dll
extension=php_pdo_mysql.dll
using:
MySQL 5.6
PHP 5.4
Apache 2.2
on Windows 8
Any suggestions?
I assume you restarted the
I assume you restarted the webserver?
If so, and still not working, check path to extensions directory and ensure that the extension files are there.
Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors
never mind ... my goof
Silly me.
No ... don't want to talk about it.