copy xpl to /Users/pierreva/Sites/xpl either from the CLI or just drag the xpl dir into your Site dir
cd /usr/local/lib
sudo vi php.ini
while in vi type <ESC> /auto_prepend
(this is to search to the auto_prepend line in the php.ini file)
move to the end of the auto_prepend line then type:
"a" to append to the file then <space> "/Users/pierreva/Sites/xpl/common/common.inc.php"
then type <ESC>:wq<ENTER> to save the changes
then type
sudo apachectl graceful
to restart apache, just in case ;)
That should be all that you have to do. Now try using the libraries and other xpl stuff.
Good Luck,
Matt
At 05:00 PM 11/1/2002 +0100, you wrote:
Did you install from the source code or a pre-compiled bin? (from Marc Liyanage.?)
I installed PHP from Marc Liyanage pre-compiled bin
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
Done !I would like to install eXtremePHP - Installation document says :
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.
1. Uncompress the contents of the archive to the document root of your
web server.
2. You will have to auto prepend the xpl/common/common.inc.php file. This
can be done of one of two ways.
a) In the PHP.INI, find the field that says "auto_prepend_file" and change
it to look like below on Unix
auto_prepend_file = "/www/xpl/common/common.inc.php"
where "www" is the document root of the webserver.
b) If you are running Apache, create an .htaccess file under your
document root directory and enter the following line and save the file.
php_value auto_prepend_file /www/xpl/common/common.inc.php
My document root is : /Users/pierreva/Sites
Could you tell me what I have to change in php.ini-recommmended ?
Thanks for your help.
Pierre Vaudrey
email [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php