User Tools

Site Tools


operating_systems:apple:apache_-_php_-_mysql

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
operating_systems:apple:apache_-_php_-_mysql [2018/12/11 14:11] – [PHP] Updating php links maferreiraoperating_systems:apple:apache_-_php_-_mysql [2021/11/18 14:23] – [HTTPD.CONF] ateixeira
Line 44: Line 44:
 ==== HTTPD.CONF ==== ==== HTTPD.CONF ====
 Uncomment both lines below Uncomment both lines below
-  $sudo -e /private/etc/apache2/httpd.conf+  $sudo -e /usr/local/etc/httpd/httpd.conf
     LoadModule userdir_module libexec/apache2/mod_userdir.so     LoadModule userdir_module libexec/apache2/mod_userdir.so
-    # User home directories +<del># User home directories 
-    Include /private/etc/apache2/extra/httpd-userdir.conf+    Include /private/etc/apache2/extra/httpd-userdir.conf</del>
          
  
Line 55: Line 55:
   LoadModule rewrite_module libexec/apache2/mod_rewrite.so   LoadModule rewrite_module libexec/apache2/mod_rewrite.so
  
-  # Virtual hosts +<del># Virtual hosts 
-  Include /private/etc/apache2/extra/httpd-vhosts.conf+  Include /private/etc/apache2/extra/httpd-vhosts.conf</del>
  
 == error_log problem == == error_log problem ==
 /var/log/apache2/error_log /var/log/apache2/error_log
 <note tip>[Fri Jul 22 11:41:43.182364 2016] [core:alert] [pid 737] [client 127.0.0.1:49399] /Users/mferreira/Sites/GIT/easyaccess-web/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration</note> <note tip>[Fri Jul 22 11:41:43.182364 2016] [core:alert] [pid 737] [client 127.0.0.1:49399] /Users/mferreira/Sites/GIT/easyaccess-web/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration</note>
-For version 5 of php, uncomment this line+Only for version 5 of php, uncomment this line
   LoadModule php5_module libexec/apache2/libphp5.so   LoadModule php5_module libexec/apache2/libphp5.so
  
 === httpd-userdir.conf === === httpd-userdir.conf ===
- Uncomment in /private/etc/apache2/extra/httpd-userdir.conf+ <del>Uncomment in /private/etc/apache2/extra/httpd-userdir.conf</del> 
 + Add in /usr/local/etc/httpd/httpd.conf
   Include /private/etc/apache2/users/*.conf   Include /private/etc/apache2/users/*.conf
  
Line 72: Line 73:
  
 Install php for mac from https://php-osx.liip.ch/ Install php for mac from https://php-osx.liip.ch/
-  curl -s https://php-osx.liip.ch/install.sh | bash -s 5.6 (Old stable) +  curl -s https://php-osx.liip.ch/install.sh | bash -s 5.6 
-  curl -s https://php-osx.liip.ch/install.sh | bash -s 7.2 (Current stable)+  curl -s https://php-osx.liip.ch/install.sh | bash -s 7.2
 ===== MySQL ===== ===== MySQL =====
 Install MySQL from http://dev.mysql.com/downloads/mysql/ (e.g. mysql-5.6.12-osx10.7-x86_64) Install MySQL from http://dev.mysql.com/downloads/mysql/ (e.g. mysql-5.6.12-osx10.7-x86_64)
operating_systems/apple/apache_-_php_-_mysql.txt · Last modified: 2021/11/18 14:24 by ateixeira