I don't know much about apache + php. I have upgraded PHP to 5.3, but my apache php is still 5.2. I don't know how to modify it now. Both php and apache are compiled and installed. In my apache configuration file, LoadModule is configured as follows: LoadModulephp5_modu... I don't know much about apache + php. I have upgraded PHP to 5.3, but my apache php is still 5.2. I don't know how to modify it now. Both php and apache are compiled and installed.
In my apache configuration file, LoadModule is configured as follows:
LoadModule php5_module modules/libphp5.so
Reply content:
I don't know much about apache + php. I have upgraded PHP to 5.3, but my apache php is still 5.2. I don't know how to modify it now. Both php and apache are compiled and installed.
In my apache configuration file, LoadModule is configured as follows:
LoadModule php5_module modules/libphp5.so
Back up libphp5.so under the modules of Apache to libphp5.2.so.
Assume that your Apache compilation is installed in/png/httpd/2.2.25.
PHP can call the apxs generation module/png/httpd/2.2.25/2.2.25/modules/libphp5.so by adding the parameter -- with-apxs2 =/png/httpd/bin/apxs when executing the configure script. Note: when compiling PHP, you must specify apxs to compile the Apache module libphp5.so.
If you are a newbie, find your apache installation directory and find conf/httpd. conf under the installation directory.
This is the configuration file of apahche. Open the configuration file and find the LoadModule module.
Add LoadModule php5_module "D:/CuminSer/php/php5apache2_2.dll" in double quotation marks as your actual PHP load apache path, and you can change your PHP version path to apache DLL in 5.3.
The INI file also needs to change to your 5.3 path.
Modify and save the changes, and then restart the apache service.