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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: hellekin at mmania dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Fri Jun 06 07:01:26 2025 UTC