Koozali.org: home of the SME Server

php upgrade for 6.0

Henk

php upgrade for 6.0
« Reply #15 on: February 04, 2004, 08:22:50 PM »
I've installed these files, and it does upgrade to GD 2.0.15 compatible.

Everything seems to work fine, but sometimes a page will not load until i refresh it. Happens with Twiggi, PhpMyAdmin and PHPSysInfo. In my logfiles there's something out permissions:

Feb  4 18:01:09 qs httpd: PHP Warning:  Unknown(): open_basedir restriction in effect. File(/opt/administration/phpsysinfo/index.php) is not within the allowed path(s): (/home/e-smith/files/ibays/website) in Unknown on line 0
Feb  4 18:01:09 qs httpd: PHP Warning:  Unknown(/opt/administration/phpsysinfo/index.php): failed to open stream: Operation not permitted in Unknown on line 0
Feb  4 18:01:09 qs httpd: PHP Warning:  (null)(): Failed opening '/opt/administration/phpsysinfo/index.php' for inclusion (include_path='.:/usr/share/php') in Unknown on line 0


This doesn't happen everytime, just sometimes.

Blockbuster

php upgrade for 6.0
« Reply #16 on: February 04, 2004, 09:58:36 PM »
I am using ImageMagick-5.4.9-1.i386.rpm instead of GD. I like the results much more. Installed it without any problem.

Henk

php upgrade for 6.0
« Reply #17 on: February 05, 2004, 10:49:10 PM »
Problems with the errors after the PHP upgrade solved. Had something to do with my primary domain settings. I´ve set my primary domain to the primary ibay and deleted the ibay I had redirected it to.

Don´t know why this caused the problem, but everything is working fine now.

Tech

php upgrade for 6.0
« Reply #18 on: February 27, 2004, 08:53:33 AM »
Could you describe in details, how you solved the problems with the errors that come and go. I have the same problem-.

Offline smeghead

  • *
  • 563
  • +0/-0
php upgrade for 6.0
« Reply #19 on: February 27, 2004, 11:12:03 AM »
.. it does upgrade GD as i just did this upgrade (php + mysql 4) for a 5.6 box and now the graphics resize properly etc; GD version is something like 2.0.3 (off the top of me scone)
..................

Henk

php upgrade for 6.0
« Reply #20 on: February 27, 2004, 05:07:22 PM »
Quote from: "Tech"
Could you describe in details, how you solved the problems with the errors that come and go. I have the same problem-.


I´ve deleted the ibay the primary domain was pointing to.  After that, the problem didn´t come back. (The primary domain was pointing to the primary ibay)

I´ve now installed a new server, upgraded to php 4.3.4 first, and after that I made a new ibay for the primary domain. I´ve tested it, and it seems to work without a problem (I didn´t test it much yet)

aussie

Re: php upgrade for 6.0
« Reply #21 on: March 14, 2004, 02:15:09 AM »
Quote from: "Bruce"
Good try, but no cigar!

When attempting to install 4.3.4, I get:

Failed discrepencies errors. The screen looks like this:

error: failed depencencies:
  BEGIN is needed by php-devel-4.3.4-1db
  mkinstalldirs is needed by php-dev-4.3.4-1db
  unixODBC is need by php-odbc-4.3.4-1db
  libodbc.so.1 is needed by php-odbc-4.3.4-1db
  postgresql is needed by is needed by pgsql-4.3.4-1db
  libpg.so.2 is needed by pgsql-4.3.4-1db

Are there any updated RPMs out there?


Bruce I get similar -
postgresql & libpq.so.2 needed by php-pgsql,
did you end up finding these?
 :pint: Rob

Cruzer

Use --nodeps flag installing RPM's
« Reply #22 on: March 15, 2004, 07:09:18 PM »
When you have tried just about everyting installing RPM's and still get dependancy errors.. try the following flag. This will install RPM's without checking dependantcies.

me@here> $ rpm -Uvh --nodeps installthisapp.rpm

Best Regards..
Cruzer