Please disregard the 'View article...' shown at the bottom of many posts as this is the result of restoring old forum posts from a backup.
File ownership question
I recently agreed to take over a site that currently a static HTML site. Of course I want to run Exponent on it. I have only FTP and CPanel access, no SSH.
When I tried to install it gave the following errors:
File and Directory Permission Tests
framework/conf/config.phpNot Readable / Writable
framework/conf/profiles/Not Readable / Writable
files/Not Readable / Writable
files/uploads/Not Readable / Writable
files/avatars/Not Readable / Writable
install/Not Readable / Writable
tmp/Not Readable / Writable
tmp/cacheNot Readable / Writable
tmp/cssNot Readable / Writable
tmp/extensionuploadsNot Readable / Writable
tmp/img_cacheNot Readable / Writable
tmp/minifyNot Readable / Writable
tmp/pixidouNot Readable / Writable
tmp/rsscacheNot Readable / Writable
tmp/views_cNot Readable / Writable
Other Tests
Database BackendSupported
GD Graphics Library 2.0+bundled (2.0.34 compatible)
PHP 5.2.1+5.2.17
ZLib SupportPassed
cURL Library SupportPassed
FileInfo SupportNo FileInfo Support
File Upload Supportphp.ini '"post_max_size' and 'upload_max_filesize' don' match: 100M
XML (Expat) Library SupportPassed
Safe Mode Not EnabledPassed
Open BaseDir Not EnabledFailed
File Uploads EnabledFailed
Temporary File CreationPassed
I have confirmed that the permissions are 755 for folders and 644 for files. I also checked with the sys admin and he confirmed that Apache is running as the user "nobody". On all my other sites that I'm successfully running Exponent, Apache runs as my user that uploaded the files via ftp. So is there any way to make Exponent work on this host or does the organization need to change hosts?
Statistics: Posted by BJKline
When I tried to install it gave the following errors:
File and Directory Permission Tests
framework/conf/config.phpNot Readable / Writable
framework/conf/profiles/Not Readable / Writable
files/Not Readable / Writable
files/uploads/Not Readable / Writable
files/avatars/Not Readable / Writable
install/Not Readable / Writable
tmp/Not Readable / Writable
tmp/cacheNot Readable / Writable
tmp/cssNot Readable / Writable
tmp/extensionuploadsNot Readable / Writable
tmp/img_cacheNot Readable / Writable
tmp/minifyNot Readable / Writable
tmp/pixidouNot Readable / Writable
tmp/rsscacheNot Readable / Writable
tmp/views_cNot Readable / Writable
Other Tests
Database BackendSupported
GD Graphics Library 2.0+bundled (2.0.34 compatible)
PHP 5.2.1+5.2.17
ZLib SupportPassed
cURL Library SupportPassed
FileInfo SupportNo FileInfo Support
File Upload Supportphp.ini '"post_max_size' and 'upload_max_filesize' don' match: 100M
XML (Expat) Library SupportPassed
Safe Mode Not EnabledPassed
Open BaseDir Not EnabledFailed
File Uploads EnabledFailed
Temporary File CreationPassed
I have confirmed that the permissions are 755 for folders and 644 for files. I also checked with the sys admin and he confirmed that Apache is running as the user "nobody". On all my other sites that I'm successfully running Exponent, Apache runs as my user that uploaded the files via ftp. So is there any way to make Exponent work on this host or does the organization need to change hosts?
Statistics: Posted by BJKline
Comments
It would also appear the php.ini is also too restrictive since it won't allow file uploads, the two file upload size parameters don't match, and Open BaseDir is NOT Enabled (FileInfo support is optional)...also php v5.2.17 is pretty old since now v5.3.x is being deprecated.
Statistics: Posted by dleffler
Statistics: Posted by BJKline
Code:
<?php
// prep_exp.php
$file = 'framework/conf/config.php';
$folders = array(
'framework/conf/profiles/',
'files/',
'files/uploads/',
'files/avatars/',
'install/',
'tmp/',
'tmp/cache',
'tmp/css',
'tmp/extensionuploads',
'tmp/img_cache',
'tmp/minify',
'tmp/pixidou',
'tmp/rsscache',
'tmp/views_c',
);
touch($file);
chmod($file,0x644);
// chown($file,'nobody');
foreach ($folders as $folder) {
mkdir($folder, 0755, true);
// chown($folder,'nobody');
}
?>
Statistics: Posted by dleffler
Statistics: Posted by BJKline
Statistics: Posted by BJKline
Statistics: Posted by dleffler
Statistics: Posted by dleffler
When I tried to install it gave the following errors:
File and Directory Permission Tests
framework/conf/config.php Not Readable / Writable
framework/conf/profiles/ Not Readable / Writable
files/ Not Readable / Writable
files/uploads/ Not Readable / Writable
files/avatars/ Not Readable / Writable
install/ Not Readable / Writable
tmp/ Not Readable / Writable
tmp/cache Not Readable / Writable
tmp/css Not Readable / Writable
tmp/extensionuploads Not Readable / Writable
tmp/img_cache Not Readable / Writable
tmp/minify Not Readable / Writable
tmp/pixidou Not Readable / Writable
tmp/rsscache Not Readable / Writable
tmp/views_c Not Readable / Writable
Other Tests
Database Backend Supported
GD Graphics Library 2.0+ bundled (2.0.34 compatible)
PHP 5.2.1+ 5.2.17
ZLib Support Passed
cURL Library Support Passed
FileInfo Support No FileInfo Support
File Upload Support php.ini '"post_max_size' and 'upload_max_filesize' don' match: 100M
XML (Expat) Library Support Passed
Safe Mode Not Enabled Passed
Open BaseDir Not Enabled Failed
File Uploads Enabled Failed
Temporary File Creation Passed
I have confirmed that the permissions are 755 for folders and 644 for files. I also checked with the sys admin and he confirmed that Apache is running as the user "nobody". On all my other sites that I'm successfully running Exponent, Apache runs as my user that uploaded the files via ftp. So is there any way to make Exponent work on this host or does the organization need to change hosts?
View article...
When I tried to install it gave the following errors:
File and Directory Permission Tests
framework/conf/config.php Not Readable / Writable
framework/conf/profiles/ Not Readable / Writable
files/ Not Readable / Writable
files/uploads/ Not Readable / Writable
files/avatars/ Not Readable / Writable
install/ Not Readable / Writable
tmp/ Not Readable / Writable
tmp/cache Not Readable / Writable
tmp/css Not Readable / Writable
tmp/extensionuploads Not Readable / Writable
tmp/img_cache Not Readable / Writable
tmp/minify Not Readable / Writable
tmp/pixidou Not Readable / Writable
tmp/rsscache Not Readable / Writable
tmp/views_c Not Readable / Writable
Other Tests
Database Backend Supported
GD Graphics Library 2.0+ bundled (2.0.34 compatible)
PHP 5.2.1+ 5.2.17
ZLib Support Passed
cURL Library Support Passed
FileInfo Support No FileInfo Support
File Upload Support php.ini '"post_max_size' and 'upload_max_filesize' don' match: 100M
XML (Expat) Library Support Passed
Safe Mode Not Enabled Passed
Open BaseDir Not Enabled Failed
File Uploads Enabled Failed
Temporary File Creation Passed
I have confirmed that the permissions are 755 for folders and 644 for files. I also checked with the sys admin and he confirmed that Apache is running as the user "nobody". On all my other sites that I'm successfully running Exponent, Apache runs as my user that uploaded the files via ftp. So is there any way to make Exponent work on this host or does the organization need to change hosts?
View article...
When I tried to install it gave the following errors:
File and Directory Permission Tests
framework/conf/config.php Not Readable / Writable
framework/conf/profiles/ Not Readable / Writable
files/ Not Readable / Writable
files/uploads/ Not Readable / Writable
files/avatars/ Not Readable / Writable
install/ Not Readable / Writable
tmp/ Not Readable / Writable
tmp/cache Not Readable / Writable
tmp/css Not Readable / Writable
tmp/extensionuploads Not Readable / Writable
tmp/img_cache Not Readable / Writable
tmp/minify Not Readable / Writable
tmp/pixidou Not Readable / Writable
tmp/rsscache Not Readable / Writable
tmp/views_c Not Readable / Writable
Other Tests
Database Backend Supported
GD Graphics Library 2.0+ bundled (2.0.34 compatible)
PHP 5.2.1+ 5.2.17
ZLib Support Passed
cURL Library Support Passed
FileInfo Support No FileInfo Support
File Upload Support php.ini '"post_max_size' and 'upload_max_filesize' don' match: 100M
XML (Expat) Library Support Passed
Safe Mode Not Enabled Passed
Open BaseDir Not Enabled Failed
File Uploads Enabled Failed
Temporary File Creation Passed
I have confirmed that the permissions are 755 for folders and 644 for files. I also checked with the sys admin and he confirmed that Apache is running as the user "nobody". On all my other sites that I'm successfully running Exponent, Apache runs as my user that uploaded the files via ftp. So is there any way to make Exponent work on this host or does the organization need to change hosts?
View article...
When I tried to install it gave the following errors:
File and Directory Permission Tests
framework/conf/config.php Not Readable / Writable
framework/conf/profiles/ Not Readable / Writable
files/ Not Readable / Writable
files/uploads/ Not Readable / Writable
files/avatars/ Not Readable / Writable
install/ Not Readable / Writable
tmp/ Not Readable / Writable
tmp/cache Not Readable / Writable
tmp/css Not Readable / Writable
tmp/extensionuploads Not Readable / Writable
tmp/img_cache Not Readable / Writable
tmp/minify Not Readable / Writable
tmp/pixidou Not Readable / Writable
tmp/rsscache Not Readable / Writable
tmp/views_c Not Readable / Writable
Other Tests
Database Backend Supported
GD Graphics Library 2.0+ bundled (2.0.34 compatible)
PHP 5.2.1+ 5.2.17
ZLib Support Passed
cURL Library Support Passed
FileInfo Support No FileInfo Support
File Upload Support php.ini '"post_max_size' and 'upload_max_filesize' don' match: 100M
XML (Expat) Library Support Passed
Safe Mode Not Enabled Passed
Open BaseDir Not Enabled Failed
File Uploads Enabled Failed
Temporary File Creation Passed
I have confirmed that the permissions are 755 for folders and 644 for files. I also checked with the sys admin and he confirmed that Apache is running as the user "nobody". On all my other sites that I'm successfully running Exponent, Apache runs as my user that uploaded the files via ftp. So is there any way to make Exponent work on this host or does the organization need to change hosts?
View article...
When I tried to install it gave the following errors:
File and Directory Permission Tests
framework/conf/config.php Not Readable / Writable
framework/conf/profiles/ Not Readable / Writable
files/ Not Readable / Writable
files/uploads/ Not Readable / Writable
files/avatars/ Not Readable / Writable
install/ Not Readable / Writable
tmp/ Not Readable / Writable
tmp/cache Not Readable / Writable
tmp/css Not Readable / Writable
tmp/extensionuploads Not Readable / Writable
tmp/img_cache Not Readable / Writable
tmp/minify Not Readable / Writable
tmp/pixidou Not Readable / Writable
tmp/rsscache Not Readable / Writable
tmp/views_c Not Readable / Writable
Other Tests
Database Backend Supported
GD Graphics Library 2.0+ bundled (2.0.34 compatible)
PHP 5.2.1+ 5.2.17
ZLib Support Passed
cURL Library Support Passed
FileInfo Support No FileInfo Support
File Upload Support php.ini '"post_max_size' and 'upload_max_filesize' don' match: 100M
XML (Expat) Library Support Passed
Safe Mode Not Enabled Passed
Open BaseDir Not Enabled Failed
File Uploads Enabled Failed
Temporary File Creation Passed
I have confirmed that the permissions are 755 for folders and 644 for files. I also checked with the sys admin and he confirmed that Apache is running as the user "nobody". On all my other sites that I'm successfully running Exponent, Apache runs as my user that uploaded the files via ftp. So is there any way to make Exponent work on this host or does the organization need to change hosts?
View article...