I see that quickstart 0.9 comes with PHP 5.3.3. Outside of quickstart (I was using WAMP at the time) I came across this issue where some contrib modules are not compatible with PHP 5.3.x.

Is there a way to install and use a previous version of PHP? I'm still new to ubuntu and virtualbox so I'm not quite sure where to begin.

Comments

MichaelCole’s picture

Status: Active » Postponed

See comments here: http://groups.drupal.org/node/145684#comment-482089

If anyone wants to make a shell script to do this, I'd be excited to include it in the next version.

MichaelCole’s picture

Component: Miscellaneous » Contrib Scripts
Status: Postponed » Active
MichaelCole’s picture

Status: Active » Postponed (maintainer needs more info)
Kipp Elliott Watson’s picture

There are a few scripts out on the internet that downgrade PHP 5.3 to PHP 5.2. Here's a link to one of them (which I have not tested) -- http://krimson.be/articles/downgrade-php-ubuntu. See also http://www.vkareh.net/blog/eclipse-drupal-ubuntu. Downgrading PHP 5.3 to 5.2 because of a diminishing number of drupal contributed modules is a very ugly hack and should be used only as a last resort. I don't think there is a reference problem in Drupal 7 or any contributed modules there. The core for both Drupal 6 and 7 work fine with 5.3, as far as I'm aware.

Cheers.

markchitty’s picture

I've used http://krimson.be/articles/downgrade-php-ubuntu to downgrade my version of PHP from 5.3 5.2 (I needed to use quickstart with a D5 site).

I said 'yes' to the options to remove and then replace phpmyadmin. I also opted to use the config files supplied with the package.

I did run into an issue with drush where some libraries were left over and were causing errors:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/sqlite3.so' - /usr/lib/php5/20060613+lfs/sqlite3.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/uploadprogress.so' - /usr/lib/php5/20060613+lfs/uploadprogress.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/xhprof.so' - /usr/lib/php5/20060613+lfs/xhprof.so: cannot open shared object file: No such file or directory in Unknown on line 0

Moving the libraries in question (sqlite3, uploadprogress and xhprof) out of '/etc/php5/apache2/conf.d' seemed to do the trick, I don't need these anyway so no problem.

MichaelCole’s picture

Hi, if someone could package this into a script, I'll include it in the next version. See the "contrib" folder for examples.

Mike

mike stewart’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

closed due to inactivity. if someone shared a patch, we'd definitely include. but this seems to be less of a problem.