Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Go here to get started <a href="http://us.php.net/manual/en/install.php" rel="nofollow noreferrer">http://us.php.net/manual/en/install.php</a>. Also consider <a href="http://imthi.com/blog/linux/compile-and-install-php-528-on-mac-os-x-1056-leopard.php" rel="nofollow noreferrer">this</a>, <a href="http://papelipe.no/tags/php/compiling_apache_and_php_on_mac_os_x" rel="nofollow noreferrer">this</a> and <a href="http://www.gigoblog.com/2008/10/08/install-gd-for-php-on-mac-os-x-105-leopard/" rel="nofollow noreferrer">this</a>.</p> <p>You will need to read up on how to compile PHP. It is done from the command line so if you aren't comfortable with that, be careful. Also be aware that the specifics for compiling on the Mac are very detailed and one tiny slip results in a hosed install.</p> <p>Since you are on a Mac look at <a href="http://www.entropy.ch/software/macosx/php/" rel="nofollow noreferrer">Marc Liyanage's packages</a> (though I don't know if they have Tidy configured). Also consider using MacPorts to do all of this (especially useful for making sure you have all dependancies installed). If you must do it from scratch please understand that you <strong>really</strong> need to know what you are doing.</p> <p>That out of the way:</p> <p>The basic process is to configure, make, make install.</p> <p>Here are some sample configurations (do NOT use these. The paths are specific to certain installations and you will have different ones. This is just to show you what the config can look like):</p> <p><code>./configure --with-mysql=/Applications/MAMP/Library --with-apxs2=/Applications/MAMP/Library/bin/apxs --with-gd --with-jpeg-dir=/Applications/MAMP/Library</code></p> <p><code>./configure --prefix=/usr/local/apache2/php --with-zlib --with-xml --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql</code></p> <p>So you would need to add <code>--with-tidy</code> to that list along with <a href="http://www.php.net/manual/en/configure.about.php" rel="nofollow noreferrer">any of the other config options you need/want</a>.</p> <p>Here is another example showing make and make install (notice <code>--with-tidy</code> at the end):</p> <p><code>./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man --infodir=/usr/share/info --with-apxs2=/usr/sbin/apxs --with-curl --with-gd --enable-exif --enable-fastcgi --enable-zip --with-ldap=/usr --with-kerberos=/usr --with-zlib=/usr --enable-ftp --enable-sockets --with-iodbc=/usr --with-config-file-path=/etc --with-openssl --with-xmlrpc --with-xsl=/usr --with-tidy=/usr/bin/tidy</code></p> <p><code>make</code></p> <p><code>sudo make install</code></p> <p>Read up on this and be prepared to have to do it several times to get it right (the whole process takes a while, too)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload