note 51487 added to install.macosx.client

From: Date: Fri, 01 Apr 2005 02:53:45 +0000
Subject: note 51487 added to install.macosx.client
Groups: php.notes 
Request: Send a blank email to php-notes+get-87298@lists.php.net to get a copy of this message
I was able to compile PHP 5.0.3 pretty much right out of the box on my OS X 10.3.7 PowerBook last night. I had downloaded the Xcode developer tools from Apple and the november 2004 GCC update. After downloading and running the MySQL 4.1.10a installer, I was able to do the following (all within the Termainl Utility Application): Yukimura:mw# tar xfj php-5.0.3.tar.bz2 Yukimura:mw# cd php-5.0.3 Yukimura:mw# ./configure --prefix=/usr/local/php5 --with-apxs=/usr/sbin/apxs --enable-mbstring --with-mysqli=/usr/local/mysql/bin/mysql_config --enable-soap Yukimura:mw# make Yukimura:mw# su Password: ******* Yukimura:root# make install I then only had to edit /private/etc/httpd/httpd.conf and change the first line of: <IfModule mod_php4.c> # If php is turned on, we repsect .php and .phps files. AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps # Since most users will want index.php to work we # also automatically enable index.php <IfModule mod_dir.c> DirectoryIndex index.html index.php </IfModule> </IfModule> from: <IfModule mod_php4.c> to: <IfModule mod_php5.c> I just restarted the web server with Yukimura:mw# sudo /usr/sbin/apachectl restart And I've got a fully working XAMP platform (except OS X has not shutdown scripts -- only startup ....) ---- Manual Page -- http://www.php.net/manual/en/install.macosx.client.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+51487 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51487&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51487&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51487&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51487&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51487&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+51487&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#87298) next »