Re: Can't find php3.ini or php.ini
| From: | Ian Plount | Date: | Wed, 30 Aug 2000 22:11:40 +0000 |
| Subject: | Re: Can't find php3.ini or php.ini | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-2500@lists.php.net to get a copy of this message | ||
I think you need to create the php.ini file or you can add some of the
configuration directives directly to your httpd.conf file.
The --with-config-file-path=/usr/local/php \ directive simply tells PHP
where to find the file and if it doesn't find it PHP uses the compiled in
defaults.
Hope this helps
Ian
----- Original Message -----
From: "Mike Hammonds" <mhammonds@knowledgeinenergy.com>
To: <phplib@lists.netuse.de>; <php-db@lists.php.net>
Sent: Wednesday, August 30, 2000 2:39 PM
Subject: [PHP-DB] Can't find php3.ini or php.ini
** Reply Requested When Convenient **
Im Tring to configure PHPlib but I can't find my .ini files.
I installed both PHP3 and PHP4 with MySQL support on to my server running RH
6.2 and Apache 1.3.12. I can run both PHP3 and PHP4 scripts with no problems
.
Can somebody please help me figure this out?
here's how I installed php3
./configure \
--prefix=/usr/local/php \
--with-config-file-path=/usr/local/php \
--with-apxs=/usr/sbin/apxs \
--with-mysql=/usr/local/mysql \
--with-java=/usr/local/jdk1.2.2 \
--with-xml \
--with-system-regex \
--with-exec-dir=/usr/bin \
--enable-versioning \
--enable-sigchild \
--enable-debug=no \
--enable-debugger \
--enable-track-vars \
--enable-magic-quotes \
--enable-safe-mode
PHP4 is installed the same way except for
--with-config-file-path=/usr/local/php4
--prefix=/usr/local/php4
Mike Hammonds, CNE5, MCP-NT
Fellon-McCord & Associates, Inc.
Office: 502.426.4500 Ext. - 7389
Fax: 502.426.8800
mhammonds@knowledgeinenergy.com
----------------------------------------------------------------------------
----
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net