VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: VL-Lite Problem: No libphp5 after upgrade PHP from 5.2.5 to 5.2.8/9  (Read 2150 times)

KJG

  • Member
  • *
  • Posts: 3

Here is my problem:

When I upgrade PHP from the 5.2.5-i486-1 package to the 5.2.8/9-i586-1vl60 package, Apache will no longer turn on, with the following message:

httpd: Syntax error on line 477 of /etc/httpd/httpd.conf: Syntax error on line 6 of /etc/httpd/mod_php.conf: Cannot load /usr/lib/httpd/modules/libphp5.so into server: /usr/lib/httpd/modules/libphp5.so: cannot open shared object file: No such file or directory

When I check the /usr/lib/httpd/modules directory, I cannot find the lib file.  When I do a "find | grep libphp", I get nothing on my system.

Where is libphp5.so?

What additional information do I need to provide to debug this problem?

PS:  I am using VL-Lite 6.0 on a AMD-K7 600MHz processor with 768MB of RAM if that matters.
« Last Edit: November 14, 2009, 11:50:40 pm by KJG »
Logged

bigpaws

  • Vectorian
  • ****
  • Posts: 1869
Re: VL-Lite Problem: No libphp5 after upgrade PHP from 5.2.5 to 5.2.8/9
« Reply #1 on: November 15, 2009, 06:03:25 am »

You can try using locate.

The locate database may need to be updated.

As root use updatedb, wait until that completes and
then try locate libphp5.so

Bigpaws
Logged

KJG

  • Member
  • *
  • Posts: 3
Re: VL-Lite Problem: No libphp5 after upgrade PHP from 5.2.5 to 5.2.8/9
« Reply #2 on: November 15, 2009, 11:40:16 am »

You can try using locate.

The locate database may need to be updated.

As root use updatedb, wait until that completes and
then try locate libphp5.so

Bigpaws

This is what I did:

locate -u
updatedb
locate -r libphp
locate libphp

Nothing came up with the last two commands.
Logged

newt

  • Vectorian
  • ****
  • Posts: 1132
Re: VL-Lite Problem: No libphp5 after upgrade PHP from 5.2.5 to 5.2.8/9
« Reply #3 on: November 15, 2009, 02:53:12 pm »

KJG,

This package looks like it may be badly packaged, and require repackaging. I cannot locate the php lib file anywhere in the package itself, as though it was unintentionally omitted. Let's see if we can get the packager to take another look at this and determine it's integrity. In the meantime, can you downgrade to the previous php version via gslapt?

cheers,
newt
Logged

KJG

  • Member
  • *
  • Posts: 3
Re: VL-Lite Problem: No libphp5 after upgrade PHP from 5.2.5 to 5.2.8/9
« Reply #4 on: November 18, 2009, 10:11:00 pm »

KJG,

This package looks like it may be badly packaged, and require repackaging. I cannot locate the php lib file anywhere in the package itself, as though it was unintentionally omitted. Let's see if we can get the packager to take another look at this and determine it's integrity. In the meantime, can you downgrade to the previous php version via gslapt?

cheers,
newt

newt,

Thank you!  I rolled back to 5.2.5 and it's working fine.  I am very glad that you went over the package and posted your results.
Logged

AndK

  • Member
  • *
  • Posts: 34
Re: VL-Lite Problem: No libphp5 after upgrade PHP from 5.2.5 to 5.2.8/9
« Reply #5 on: January 14, 2010, 05:18:58 pm »

Hi,
I can report the same problem with VL 6.
I've installed apache package (2.2.8) and then the pesky PHP but then I deinstalled it to install the 5.2.5 for the first time.
Sadly there still seems to be a problem with, perhaps, the apache itself. A phpinfo.php file, containing a phpinfo (); line, is "served" by the apache but there is no output, the page is blank, yet the source contains the
Code: [Select]
<?
phpinfo();
?>

Can anyone confirm this situation for me please?

There is  only one apache package for VL6 available and I'm prepared to deinstall it and install apache from source other than the 2.2.8 but my general linux clumsiness could make a protracted struggle out of this process if there is some hidden problem. Perhaps anybody knows for sure which version to avoid etc.

Cheers
Andrzej
Logged

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2301
Re: VL-Lite Problem: No libphp5 after upgrade PHP from 5.2.5 to 5.2.8/9
« Reply #6 on: February 18, 2010, 11:24:09 am »

Sorry about the delay on this one.
I can confirm the bug and I will try to provide a solution as soon as possible.

Thanks for the patience.
Logged
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!