logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Mysterious php configuration file
Author
¤| battousai |¤



Joined: 12 Oct 2006
Posts: 12

PostPosted: Sun 16 Mar '08 11:29    Post subject: Mysterious php configuration file Reply with quote

Hello all,

I have a problem with a mysterious configuration file that i have no knowledge of at all.

It began when I noticed that the changes I made to smtp and smtp_port weren't being applied. I changed these settings multiple times to different values but the warning messages kept returning the value of localhost and port 25.

When I checked phpinfo, it said the path for the configuration file is the systemroot. But this dir holds no php related file whatsoever.

The last test I did was to remove the entire php dir, and only put php5apache2.dll & php5ts.dll in the systemroot, after which i restarted the apache server.

Suprisingly, everything still worked like before.

Additional info:
The win version is XP Proffesional.
I reïnstalled xp a few days ago, and I didn't have this problem before that.
Instead of copying some php & apache files to the windir, I append their locations to the environment path.
The php version is 5.1.6
The Apache Version is 2.2.3.0

I hope you guys can make something of this, thx in advance Wink
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7306
Location: Germany, Next to Hamburg

PostPosted: Sun 16 Mar '08 14:20    Post subject: Reply with quote

in your httpd.conf you can set where apache should search for the ini file

e.g.
Code:

PHPIniDir "C:/php"


or place your php.ini in C:\Windows
Back to top
¤| battousai |¤



Joined: 12 Oct 2006
Posts: 12

PostPosted: Sun 16 Mar '08 20:45    Post subject: Reply with quote

The value was set to L:\php5. I also had this path appended to the environment path. But this didn't seem to have any effect.

I also want to mention that I performed several desktop searches with the options to search hidden files & folders and show system folders. The searches only turned up one php.ini, located in L:\php5.
Back to top


Reply to topic   Topic: Mysterious php configuration file View previous topic :: View next topic
Post new topic   Forum Index -> Apache