02.02.2020

Centos Install Php As Apache Module Mod_dir

Centos Install Php As Apache Module Mod_dir Rating: 7,5/10 3113 votes

Install Apache mod_ssl module on CentOS, mod_ssl is an optional Apache Module which provides SSL and TLS support for the Apache Web Server. If creating a new module, first install the httpd-devel package which contains the include files, the header files, as well as the APache eXtenSion (/usr/sbin/apxs) application, which uses the include files and the header files to compile DSOs. Disable and Enable modules in apache CentOS7. Ask Question. Also I know that modules that were compiled during the installation is lying in /etc/httpd/modules directory. So what is the right way of disabling and enabling apache modules on CentOS7? Centos apache-httpd.

Active1 year, 4 months ago
Install

I'm trying to install PHP 5.5.21 on CentOS 7.0.When I execute php -vI get about 10 modules errors like this one:

Canon selphy cp800 driver for mac. I tryed to install or update package with pecl install curl and pecl upgrade curlBut pecl always responds :

And yum install php-curl says:

How can I do to fix modules error?

MaximeMaxime
9091 gold badge11 silver badges39 bronze badges

2 Answers

Try running: find / -name curl.so

Then copy the directory it finds curl.so in and create a symbolic link to it where the rest of your working .so files are stored:

Then edit your php.ini file and enable the extension:

Run Php As Apache

Restart apache:

This resolved my problem when I had a similar issue.

EM-CreationsEM-Creations

Centos Install Php As Apache Module Mod_directory

3,1763 gold badges29 silver badges50 bronze badges

I finally solved my problem removing the custom PHP installation and using this tutorial to install PHP 5.5

Centos Install Php As Apache Module Mod_dirMaximeMaxime
9091 gold badge11 silver badges39 bronze badges

Not the answer you're looking for? Browse other questions tagged phpmodulecentosphp-5.5centos7 or ask your own question.