Drupal 6 recommendations
-
If you plan on using Drupal 6 (because it has a huge number of functional modules), you'll want to run PHP 5.2 instead of 5.3. If you haven't already installed 5.3, just replace the 5.3 references with 5.2 latest version, and you'll be fine.
If you've already installed PHP5.3, you can install PHP 5.2 alongside it. Just use --with-prefix to install PHP 5.2 into a specific location. (actually, that's a good idea for mysql and nginx as well, because you can install multiple versions side by side for testing when upgrading.
Also mysqlnd does not work with 5.2, so you have to specify the path to mysql_config.
Finally, if you install suhosin or xcache, just change
1. phpize to /fullpath/to/5.2/phpize
2. ./configure to ./configure --with-php-config=/path/to/5.2/php-configOne other thing is that by default, php will overwrite the /etc/init.d/php-fpm file, so you might want to back it up first
Posted 1 year ago # -
if you used http://vpsbible.com/vps-setup-guides/ubuntu-nginx-vps-setup-guide/
since mysqlnd does not work in 5.2, use the below when you go to configure/compile
./configure --with-config-file-path=/etc/php --with-config-file-scan-dir=/usr/local/lib/php --with-bz2 --with-curl --with-fpm --with-fpm-group=www-data --with-fpm-user=www-data --with-gd --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-libevent=/usr/local/lib --with-mcrypt --with-mysqli=/usr/bin/mysql_config --with-openssl --with-zlib --enable-gd-native-ttf --enable-inline-optimization --enable-mbstring --enable-mbregex --enable-sockets --enable-sysvsem --enable-sysvshm --enable-zip --with-mysql --without-sqlite
The above ./configure replaces "--with-mysqli=mysqlnd" with "--with-mysqli=/usr/bin/mysql_config"
To find the path to your "mysql_config" use "sudo find / -name mysql_config"
Posted 1 year ago # -
I'll be using Drupal6... so why is 5.2 better than 5.3?
And if I just install 5.2 instead of 5.3, how many of the steps above do I need to follow?
I still don't know what most of that means.
ThxEdit to add:
Looks like latest versions of Drupal 6 are PHP5.3 OK...
http://drupal.org/node/360605Posted 1 year ago # -
Not all modules, though.
My main site has a ton of modules. So far two choked on php 5.3.
Good news: one had an update from the maintainer already. The other had a patch.
So as far as I can tell right now, no 5.3 issues. I think I'll yet discover one or two more though.Posted 12 months ago # -
No issues. I'm using Drupal 6.20 with PHP 5.3 and it's all fine.
...to whom it may concern.Posted 11 months ago # -
Another update: found one more module with an issue. But again a patch is posted in the module's issue queue--and it works. (This one was Comment Upload)
Posted 11 months ago #
Reply
You must log in to post.
Want HTML?
a blockquote code em strong ul ol liPlace code between backticks `codeHere`
You've got it.
