Current time: 11-16-2024, 08:20 AM Hello There, Guest! (LoginRegister)


Post Reply 
Ignoring users php.ini
Author Message
Schokobecher Offline
Newbie
*

Posts: 5
Joined: Aug 2009
Reputation: 0
Post: #1
Ignoring users php.ini
Hey Folks,
It's the real first problem I experience with IspCP.
Apache2 (or IspCP, I really don't know) keeps suddenly ignoring my php.ini for customer domains.

Example:
I had enabled phpinfo on my domain tile44.org
and it states:
"Loaded Configuration File /var/www/fcgi/tile44.org/php5/php.ini "

But even after I changed disable_funtions to include phpinfo, I still get the phpinfo page.

On the other hand I tried changing the open_basedir on another domain, but it keeps complaining that open_basedir is still in effect.
Then I tried to enable phpinfo, but all I got was:

Warning: phpinfo() has been disabled for security reasons in /var/www/virtual/cavewiki.org/htdocs/info.php on line 2

It's goes total random.
I also tried editing the master php.ini (/var/www/fcgi/master/php5/php.ini) but it had no effect for the other domains.

The strange thing is, that I can delete the php.inis and Apache does not complain about them.

So anyone got a clue on this?

€: System is a Debian Lenny with 1.0.0 Updated Smile
(This post was last modified: 08-02-2009 01:57 AM by Schokobecher.)
08-02-2009 01:48 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #2
RE: Ignoring users php.ini
Have you restarted apache after making changes on php.ini?
08-02-2009 02:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Schokobecher Offline
Newbie
*

Posts: 5
Joined: Aug 2009
Reputation: 0
Post: #3
RE: Ignoring users php.ini
I'm sorry that I didn't said that so directly.
Yeah I did.
Millions of times.
08-02-2009 02:10 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #4
RE: Ignoring users php.ini
Have you done the modification correctly and should work.
I have never had this problem, I think it may be some configuration problems.

I would restore the configuration and return to try again the changes in php.ini in domains not in master.


http://www.isp-control.net/documentation...ate_config
08-02-2009 02:28 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Schokobecher Offline
Newbie
*

Posts: 5
Joined: Aug 2009
Reputation: 0
Post: #5
RE: Ignoring users php.ini
So I regenerated all Configs, but the php.ini didn't change at all.
-> Query OK, 0 rows affected (0.00 sec)


Result:
Problem still exists.

€:
http://www.isp-control.net/forum/thread-2844.html
Had a similar Problems (but that was RC3)

kinda bugs me
(This post was last modified: 08-02-2009 04:42 AM by Schokobecher.)
08-02-2009 02:45 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #6
RE: Ignoring users php.ini
Are you using fastcgi, fcgid or mod_php?
08-02-2009 10:43 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Schokobecher Offline
Newbie
*

Posts: 5
Joined: Aug 2009
Reputation: 0
Post: #7
RE: Ignoring users php.ini
PHP 5.2.6-1+lenny3 with Suhosin-Patch 0.9.6.2 (cgi-fcgi)
so it should be FastCGI (If I'm correct Smile )
(This post was last modified: 08-02-2009 12:15 PM by Schokobecher.)
08-02-2009 12:08 PM
Visit this user's website Find all posts by this user Quote this message in a reply
MasterTH Offline
Member
***

Posts: 570
Joined: Feb 2009
Reputation: 4
Post: #8
RE: Ignoring users php.ini
for recreation of the php.ini u have to delete the php.ini in /var/www/fcgi/domain.tld/...
then follow the howto regenerate the config-files and the php.ini will be created again.
08-02-2009 02:56 PM
Find all posts by this user Quote this message in a reply
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #9
RE: Ignoring users php.ini
hi, i have the same problem

this is a /master/php.ini

Code:
; This directive allows you to disable certain functions for security reasons.
; It receives a comma-delimited list of function names. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
;disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, shell, symlink
;disable_functions = dl, passthru, system, exec, shell_exec
disable_functions =

this is a revlab.net/php.ini


Code:
; This directive allows you to disable certain functions for security reasons.
; It receives a comma-delimited list of function names. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
;disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, shell, symlink
;disable_functions = dl, passthru, system, exec, shell_exec
disable_functions =

i have reloaded infinty apache but nothing change

http://revlab.net/info.php
I do not know where to look ... more
after restarting the server it worked ...
(This post was last modified: 08-14-2009 10:16 AM by theprincy.)
08-14-2009 09:28 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Schokobecher Offline
Newbie
*

Posts: 5
Joined: Aug 2009
Reputation: 0
Post: #10
RE: Ignoring users php.ini
Try restarting your server.
I don't know why, but it works!
(event it's been above a month, maybe someone got the same problem again.)
09-22-2009 08:34 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)