You are not logged in.
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
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.
)
Last edited by foutrelis (2009-09-23 19:03:18)
Offline
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
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
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
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
"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