forum.coppermine-gallery.net
Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: aem on April 24, 2004, 01:47:54 pm
-
I would like to obtain the abosulte path to my cpg
I have ran phpinfo.php and cannot find "DOCUMENT_ROOT" anywhere. This is what i see in my phpinfo.php file. Please help me obtain the absolute path..
Advanced debug info (phpinfo)
PHP version: 4.3.6
mySQL version: 4.0.15
--------------------------------------------------------------------------------
Image Lib(s)
gd
GD Support enabled
GD Version bundled (2.0.22 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
Server restrictions (safe mode)?
Directive Local Value Master Value
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
safe_mode_exec_dir no value no value
sql.safe_mode Off Off
disable_functions no value no value
file_uploads On On
include_path .:/usr/local/lib/php .:/usr/local/lib/php
open_basedir no value no value
email
Directive Local Value Master Value
sendmail_from me@localhost.com me@localhost.com
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
SMTP localhost localhost
smtp_port 25 25
Size and Time
Directive Local Value Master Value
max_execution_time 30 30
max_input_time 60 60
upload_max_filesize 2M 2M
post_max_size 8M 8M
-
refer to http://www.php.net/phpinfo
GauGau
-
I have read thru that and my computer iliteracy took over :'(
Please!
-
http://coppermine.sourceforge.net/faq.php?q=VersionPHP#VersionPHP
GauGau
-
http://coppermine.sourceforge.net/faq.php?q=VersionPHP#VersionPHP
GauGau
That doesnt help me.
-
Come on, don't play stupid: create a phpinfo file as suggest in the links, upload it to your webserver and run it in your browser. At the very bottom there are several vars that contain your absolute path.
If you think this is impossible for you, just create a parse error in any php file on your server and check the output - the error message usually tells you the absolute path as well.
If you can't do that, then it's time to ask your webhost for support, not here on this board, since we can't guess your webserver's settings.
GauGau