Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

safe_mode

Status
Not open for further replies.

cyberrate

Programmer
Dec 9, 2003
24
EE
Hello!

I'm having a problem with php safe_mode, the thing is that i cant turn it off. I'm running Apache/2.0.48 on Linux/SuSE
with confixx, however i tryed to change the php.ini file and then restart apache2 but still my phpinfo() says that safe_mode is on, then i a confixx_vhost.conf file where i have all the virtual hosts on my server and there i have "php_admin_flag safe_mode Off" and still no change after restart. During restart i recive this message:

[date] [warn] NameVirtualHost 82.165.33.73:80 has no Virtual Hosts
Syntax OK
Starting httpd2 (prefork)

Maybe problem is somewhere here?

Thanx


 
First, check to make sure you're editing the correct php.ini file. I fought a problem like yours once for a week, only to find that PHP was reading a php.ini file in a different directory.

Run the script:
<?php
phpinfo();
?>

Look for the "Configuration File (php.ini) Path" entry.



Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top