WHM 11.23.2 cPanel 11.23.4-S26138
REDHAT Enterprise 5.2 i686 on standard - WHM X v3.1.0
PHP 5.2.5 as DSO, SUExec On
Apache2
I have PHP settings as follows (read from WHM PHP editor)
include_path = .:/usr/lib/php:/usr/local/lib/php:/~
open_basedir = /usr/bin/:/usr/local/bin/:/~
Open_basedir Tweak is enabled with no exclusions
I am having an issue with running a php script via CRON or directly from a console session (using puTTy) logged in as the domain user or as root
The file I am trying to run is in the /~ folder of the user directory and I simply use "php file.php" to run it and I get the open basedir in effect error.
Does not matter if its via cron or manually entered at command prompt. The files I am trying to include are being called as "/home/user/public_html/folder/file.php" and I have tried setting it to "./public_html/...." and "public_html/..." in the script I want to run but the error remains.
Anyone help? I need these scripts to run daily but they are not working, and I do not know for how long its been broken.
All the files I want to run are owned by the user and in the users group.


LinkBack URL
About LinkBacks
Reply With Quote