note 89245 added to install.macosx.client
| From: | nabaja at gmx dot com | Date: | Fri, 27 Feb 2009 20:15:33 +0000 |
| Subject: | note 89245 added to install.macosx.client | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-151228@lists.php.net to get a copy of this message | ||
I wanted to update my iMac (osx 10.5.6) from php 5.2.3 to 5.2.9 . I downloaded the source from this
site, tried to install with some changes and screwed up my php. Come to find out that you need to
use the ./configure command to set everything up JUST RIGHT for you computer. i ran this command in
the terminal window while in the unzipped php-5.2.9 directory:
./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
make
sudo make install (then type your pw)
you can change the settings, but you'd better get it right!
mysql settings:
--with-mysql=/usr/local/mysql --with-mysql-sock=/var/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config
also, you can check out the apple developers site, that helped me.
if your apache server gets screwed up, use the note above to reinstall apache2, then install php,
everything should work fine, it did for me.
----
Server IP: 208.69.120.35
Probable Submitter: 67.187.135.105
----
Manual Page -- http://www.php.net/manual/en/install.macosx.client.php
Edit -- https://master.php.net/note/edit/89245
Del: integrated -- https://master.php.net/note/delete/89245/integrated
Del: useless -- https://master.php.net/note/delete/89245/useless
Del: bad code -- https://master.php.net/note/delete/89245/bad+code
Del: spam -- https://master.php.net/note/delete/89245/spam
Del: non-english -- https://master.php.net/note/delete/89245/non-english
Del: in docs -- https://master.php.net/note/delete/89245/in+docs
Del: other reasons-- https://master.php.net/note/delete/89245
Reject -- https://master.php.net/note/reject/89245
Search -- https://master.php.net/manage/user-notes.php