php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6551 Apache startup failure + no php.ini
Submitted: 2000-09-05 10:24 UTC Modified: 2000-10-06 12:38 UTC
From: hellekin at mmania dot com Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.2 OS: Linux 2.2.14 Mandrake 7.1
Private report: No CVE-ID: None
 [2000-09-05 10:24 UTC] hellekin at mmania dot com
Apache needs to be started without the module directives (LoadMudule, AddModule), then restarted with the directives.

Now, you have a working PHP 4.0.2 Module BUT php.ini is not read.

My configure :

./configure \
--with-apxs=/usr/local/apache/sbin/apxs \
--with-mysql=/usr \
--disable-short-tags \
--enable-safe-mode \ --with-config-file-path=/usr/local/apache/etc/php.ini \ --with-swf=/usr/lib/swf \
--with-zlib \
--with-gd

Notes : 
- phpinfo() recognizes every path and extensions correctly
- php.ini directives are not taken into account at all
- build date : sept 4

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-06 12:38 UTC] sniper@php.net
Use this:

--with-config-file-path=/usr/local/apache/etc

i.e. Without the /php.ini 

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 12:01:34 2024 UTC