You are not logged in.

#1 2009-09-23 18:50:15

a.san
Member
Registered: 2008-05-22
Posts: 5

PHP update - Missing php-cgi

I read on the forum that the php-cgi package is outdated and it had been included in the 'php' package. I removed php-cgi and upgraded to the latest php version, but '/usr/bin/php-cgi' disappeared. Also, i can't simply re-install php-cgi because of broken library references. What's the matter with what I've done? How can i have my php-cgi executable back? Thanks.

Offline

#2 2009-09-23 18:54:25

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: PHP update - Missing php-cgi

If you haven't read the news about PHP 5.3, do so. The php-cgi package from [extra] is built against the latest ldap and postgresql-libs, so there shouldn't be any issues with the libraries it links to. (Edit: Never mind, php-cgi doesn't link with the aforementioned libs. tongue )

Last edited by foutrelis (2009-09-23 19:03:18)

Offline

#3 2009-09-23 18:57:56

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,967
Website

Re: PHP update - Missing php-cgi

No idea who wrote that php-cgi is outdated and should be removed. But if in doubt you should believe the news on the front page.

Offline

#4 2009-09-23 19:09:57

a.san
Member
Registered: 2008-05-22
Posts: 5

Re: PHP update - Missing php-cgi

The issues with the libraries are the following:

php-cgi: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20060613/session.so' - /usr/lib/php/20060613/session.so: cannot open shared object file: No such file or directory in Unknown on line 0
php-cgi: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20060613/zlib.so' - /usr/lib/php/20060613/zlib.so: cannot open shared object file: No such file or directory in Unknown on line 0
php-cgi: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20060613/fileinfo.so' - /usr/lib/php/20060613/fileinfo.so: cannot open shared object file: No such file or directory in Unknown on line 0

It should look into /usr/lib/php/modules instead of  /usr/lib/php/20060613
I had the same problem with GD and I simply upgraded php-gd, but what about those modules? Shouldn't php-fileinfo even be built in?
Thanks for your quick and kind reply.

Offline

#5 2009-09-23 19:12:49

a.san
Member
Registered: 2008-05-22
Posts: 5

Re: PHP update - Missing php-cgi

It was one of your messages, Pierre :-D It said: "You did not get a message that php-cgi will be replaced by php?". Now I looked at the date. It was 2007. :-)

Offline

#6 2009-09-23 19:23:41

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: PHP update - Missing php-cgi

It looks like you're still using the old php.ini.

Edit: Also, never do partial or selective upgrades (unless, of course, you know what you're doing).

Last edited by foutrelis (2009-09-23 19:25:12)

Offline

#7 2009-09-23 19:52:15

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,967
Website

Re: PHP update - Missing php-cgi

"Was interessiert mich mein Geschwätz von gestern?" Seriously, a message from 2007 is really old for Arch.

Once upon a time there were two separate packages for php and php-cgi (and two PKGBUILDs). I merge them into one to simplify the build process.

Now we have different packages but only one PKGBUILD thanks to makepkg 3.3.

Offline

Board footer

Powered by FluxBB