Install on ubuntu 6.06 - PHP problems and solution

Install on ubuntu 6.06 - PHP problems and solution

by Duncan Greenhill -
Number of replies: 1
Hi,
Here's the solution to the original thread 1.6 installation - admin/index.php blank.

To recap, I was running kubuntu 6.06, apache 2.0.55, mysql 5.0.22, PHP 5.1.2 on a dell inspiron 6000 laptop. The install of 1.6 was failing with a blank page. I tried
  • re-installing apache
  • re-installing php5
  • modifying php.ini to increase the memory_limit(?) to 24M from 8M
I then tried installing 1.5.4 which also failed.

Solution
I installed php 5.1.4 (and some libraries due to dependencies) from Edgy (the next distro version) and the install of 1.6+ went fine.

Thanks for everyone's help,
Regards,
Duncan
Average of ratings: -
In reply to Duncan Greenhill

Re: Install on ubuntu 6.06 - PHP problems and solution

by Duncan Greenhill -
Ok, maybe not,  It installed OK but there were still loads of blank pages on adding users, teachers, courses, etc. It is working now.

I'm running kubuntu 6.06 so your file locations might vary. You can use the locate command on linux systems to find out where they are. This is what I did:
  1. copied /usr/share/doc/php5-common/examples/php.ini-recommended to /etc/php5/apache2/php.ini
  2. edited the file and uncommented the following in the Dynamic Extensions section:
  • extension=mysql.so
  • extension=mysqli.so
  • extension=gd.so
  1. Restarted apache
Now the pages that wouldn't display before all seem to work.

Regards,
Duncan