php extensions not loading (Debian7)

Hello,

I have installed curl and apc via apt-get and added "extension=apc.so" and "extension=curl.so" to the the end of my php.ini file, restarted apache but neither one appears in phpinfo(). BUT in terminal if I run "curl www.google.com", it returns the page.

Am I missing any steps?

The php.ini file I'm editing /etc/php5/apache2/php.ini

And from phpinfo:

Configuration File (php.ini) Path: /etc/php5/apache2

Loaded Configuration File: /etc/php5/apache2/php.ini

1 Reply

I figured out, should have installed "php5-curl" and "php-apc"

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct