简体   繁体   中英

add lines to the apache2 confing

I need to add this to my apache2.conf in my VPS:

Include /etc/phpmyadmin/apache.conf
extension=mysql.so

extension=memcache.so

extension=mbstring.so

extension=gd.so

extension=mcrypt

After I add this and save the apache.conf, and trying to restart the apache, i get an error - Failed.

Why?

您发现该错误是因为您将php指令放在了Apache中。

You have to add these lines in php.in file.

you can find php.ini file location using,

#php -i | grep php.ini

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM