Re: php4 Mac OSX

From: Date: Fri, 01 Nov 2002 14:40:09 +0000
Subject: Re: php4 Mac OSX
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-122425@lists.php.net to get a copy of this message
Did you install from the source code or a pre-compiled bin? (from Marc Liyanage.?) If so there is usually no php.ini file with it. If you are using Marc's binary package then create a blank php.ini file:
        sudo mkdir -p /usr/local/lib
        sudo touch /usr/local/lib/php.ini
Then you will have to add the appropriate configuration options to it. You can find an example php.ini file in the php source code file php4.2.3.tar.gz or whatever it is called. There will be a file called php.ini-recommended, you can copy the options in this file and use it, or the php.ini-dist file. ---------------------------------------------------------------------------------------------- At 02:10 PM 11/1/2002 +0100, you wrote:
I installed PHP 4.2.3 on Mac OS 10.2.1 , activating the PHP Module with the following commands on terminal window cd /etc/httpd" sudo apxs -e -a -n php4 libexec/httpd/libphp4.so" echo 'echo "AddType application/x-httpd-php .php" >> /etc/httpd/httpd.conf' | sudo sh -s It works fine and I would like install xpl library but I don't have a php.ini file . Could you help me to configure that ? Thanks for your help Pierre Vaudrey email pierre.vaudrey@wanadoo.fr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#122425) next »