Closed Bug 652027 Opened 13 years ago Closed 13 years ago

Install php5-curl

Categories

(mozilla.org Graveyard :: Localization Server, task)

task
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: Milos, Assigned: reed)

References

()

Details

The box l10n-mozilla.org has quite a few updates we could install, so it should be updated.

One other thing I really need ASAP is PHP with cURL, and we don't have it installed as a module.

Please update the box with regular updates and install php5-curl package. Also, it would be nice if we can get access to /var/log/apache2/, we being Pascal and I.

Thanks.
This box isn't maintained by IT. Moving to appropriate component.

Also, the box is fully updated... Why do you think it's not?

php-curl has been installed.
Assignee: server-ops → reed
Status: NEW → RESOLVED
Closed: 13 years ago
Component: Server Operations → Localization Server
QA Contact: mrz → l10n-server
Resolution: --- → FIXED
Summary: Update l10n-mozilla.org box → Install php5-curl
Reed, when I connect via ssh to my account, I get the following message:

Linux l10n.nl.mozilla.org 2.6.32-31-generic-pae #61-Ubuntu SMP Fri Apr 8 20:00:13 UTC 2011 i686 GNU/Linux
Ubuntu 10.04.2 LTS

Welcome to Ubuntu!
 * Documentation:  https://help.ubuntu.com/

Ubuntu 10.04.1 LTS

Welcome to Ubuntu!
 * Documentation:  https://help.ubuntu.com/

122 packages can be updated.
85 updates are security updates.

*** System restart required ***


(and I have no admin rights to reboot or update the packages)
Yeah, the motd is wrong... Notice it mentions both 10.04.1 and 10.04.2. I've tried to remove it several times, but it keeps coming back. I'll poke at it again and see if I can get rid of it.
(In reply to comment #1)
> php-curl has been installed.

Can you please check again? http://l10n.mozilla.org/~milos/index.php
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
axel@l10n:~$ ls /usr/lib/php5/20090626+lfs/
curl.so  gd.so  mysqli.so  mysql.so  pdo_mysql.so  pdo.so  pspell.so

docs hint that that subdir should be called extensions ? Not that I know crack about php, less about its install on ubuntu.
Axel,

what does `which curl` say?

Please try:

sudo apt-get install curl libcurl3 libcurl3-dev php5-curl

It should restart apache daemon after. If not:

sudo /etc/init.d/apache2 restart
curl's not found.

axel@l10n:~$ apt-get -h
E: Syntax error /etc/apt/apt.conf.d/10periodic:2: Extra junk after value

axel@l10n:~$ cat /etc/apt/apt.conf.d/10periodic 
APT::Periodic::Enable "1"
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "1";
APT::Periodic::AutocleanInterval "5";
APT::Periodic::Unattended-Upgrade "1";
APT::Periodic::RandomSleep "1800";


Ohoh?
(In reply to comment #7)
> curl's not found.
> 
> axel@l10n:~$ apt-get -h
> E: Syntax error /etc/apt/apt.conf.d/10periodic:2: Extra junk after value
> 
> axel@l10n:~$ cat /etc/apt/apt.conf.d/10periodic 
> APT::Periodic::Enable "1"
> APT::Periodic::Update-Package-Lists "1";
> APT::Periodic::Download-Upgradeable-Packages "1";
> APT::Periodic::AutocleanInterval "5";
> APT::Periodic::Unattended-Upgrade "1";
> APT::Periodic::RandomSleep "1800";
> 
> 
> Ohoh?

you're missing the semi-colon after the first line in conf.
Restarted apache. Test URL in comment #4 works now.
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
thanks
Status: RESOLVED → VERIFIED
Product: mozilla.org → mozilla.org graveyard
You need to log in before you can comment on or make changes to this bug.