Results from the most recent live auction are here .
24 members in the live chat room. Join Chat !
06-06-2008, 08:03 PM
· #1 24HourForum.com
Join Date: Oct 2005
Posts: 1,435
NP$: 60.00 (
Donate )
need help with mysql... how do i?
how do i set these settings?
SendMail - (Yes)
PHP safe mode - (OFF)
PHP open_basedir - (OFF)
PHP register globals – (OFF)
PHP open basedir – (OFF)
FFMPEG Support – (ON)
GD Library - (ON)
im confused...
this is the error im getting
Checking PHP Version... 5.2.4 (ok)
Checking System Information... Linux
Checking PHP Server API... apache2handler
Checking Path to 'php.ini'... /etc
Checking PHP GD extension... On
Checking safe_mode... On-Please turn off safe_mode in the php.ini
Checking short_tags... On
Checking file_uploads...On
Checking open base directory...On - Please upload a test file
Checking ffmpeg... ffmpeg extension not loaded
06-12-2008, 12:42 PM
· #2 NamePros Member
Originally Posted by MIR how do i set these settings?
SendMail - (Yes)
PHP safe mode - (OFF)
PHP open_basedir - (OFF)
PHP register globals – (OFF)
PHP open basedir – (OFF)
FFMPEG Support – (ON)
GD Library - (ON)
Some of these can't be set unless you've got root access. These are system variables that applies to the server's PHP configuration and makes it vulnerable if changed. You can try to change all of them to see what server settings there are. Create a php-file and paste the following:
Code:
<?php
ini_set('sendmail_path', '/usr/sbin/sendmail -t -i -f from@you.com');
ini_set('safe_mode','0');
ini_set('open_basedir','0');
ini_set('register_globals','0');
?>
GD and FFMPEG must be installed on the server and activated by sysadmin to make it work. These libraries can be downloaded here:
FFMPEG-PHP GD
GD is usually installed on almost every PHP-system, and you can check the status on your system by using this code:
Code:
<?php
print_r(gd_info());
?>
06-13-2008, 05:26 AM
· #3 while ($awake){ code(); }
Name: Eric
Location: Kentucky
Join Date: Mar 2005
Posts: 4,239
NP$: 384.00 (
Donate )
Originally Posted by hawkaw Some of these can't be set unless you've got root access. These are system variables that applies to the server's PHP configuration and makes it vulnerable if changed. You can try to change all of them to see what server settings there are. Create a php-file and paste the following:
Code:
<?php
ini_set('sendmail_path', '/usr/sbin/sendmail -t -i -f from@you.com');
ini_set('safe_mode','0');
ini_set('open_basedir','0');
ini_set('register_globals','0');
?>
GD and FFMPEG must be installed on the server and activated by sysadmin to make it work. These libraries can be downloaded here:
FFMPEG-PHP GD
GD is usually installed on almost every PHP-system, and you can check the status on your system by using this code:
Code:
<?php
print_r(gd_info());
?>
PHP Code:
ini_set ( 'safe_mode' , '0' );
ini_set ( 'open_basedir' , '0' );
ini_set ( 'register_globals' , '0' );
Will
not work. These can only be changed in the server's php.ini file.
06-13-2008, 05:35 AM
· #4 NamePros Member
Originally Posted by SecondVersion PHP Code:
ini_set ( 'safe_mode' , '0' );
ini_set ( 'open_basedir' , '0' );
ini_set ( 'register_globals' , '0' );
Will
not work. These can only be changed in the server's php.ini file.
Probably not, but still worth a shot. They're PHP_INI_SYSTEM-files and shouldn't be able to change this way, though I've seen systems where virtual host-settings allow overriding these variables (found in a user copy of php.ini).
Still, it's a long shot
06-13-2008, 06:55 AM
· #5 NamePros Member
Location: me = new (live(in.paradise())
Join Date: Jan 2008
maybe you can just explain this to your web host hlpdesk service. they are used to solve these things quickly.
06-13-2008, 07:10 AM
· #6 24HourForum.com
Join Date: Oct 2005
Posts: 1,435
NP$: 60.00 (
Donate )
thanks everyone for your help.
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off