11/6/2023 0 Comments Mamp# grep default_socket tmp.ini # Check it! # defSock=$(/opt/local/bin/mysql_config -socket) Setup the MySQL default socket to use the MacPorts configuration (/opt/local/var/run/mysql8/mysqld.sock) Note: either of the above two edits are only required if the lines are not present in the nf file, as the apxs command (executed above) will add those for you. LoadModule php_module modules/mod_php82.so # And again notice the difference for php82: LoadModule php7_module modules/mod_php74.so LoadModule php5_module modules/mod_php56.so Verify that in the Dynamic Shared Object (DSO) Support section the following have been added. Verify that at the end of the nf file the following lines exist so that Apache includes the mod_php "AddType" configurations Update Apache’s nf - /opt/local/etc/apache2/nf - file to enhance the "DirectoryIndex" directive to include additional "index" files. $ sudo /opt/local/bin/apxs -a -e -n php mod_php82.so $ sudo /opt/local/bin/apxs -a -e -n php7 mod_php74.so $ sudo /opt/local/bin/apxs -a -e -n php5 mod_php56.so If this is your first install, you need to enable php56-apache2handler in your web server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |