Re: [PHP-DB] Can't find php3.ini or php.ini From: Ian Plount (iplount <email protected>)
Date: 08/30/00

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 <email protected>>
To: <phplib <email protected>>; <php-db <email protected>>
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 <email protected>

----------------------------------------------------------------------------

----

> -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe <email protected> > For additional commands, e-mail: php-db-help <email protected> > To contact the list administrators, e-mail: php-list-admin <email protected>

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>