Need help with PHP operation

shongale

Verified User
Joined
Oct 21, 2012
Messages
7
I need to find out how to use $_SESSION variables? they are currently not working!
HELP!!!

Where is my site's error log located? I have 2 sites dirirs.com and logaloan.com
These are essential for development.
HELP!!! I can't track anything.

Where is my php.ini? I don't see my copy!
 
Hello,

In root shell:

Code:
# find /usr/local/ -name php.ini

or

Code:
# php --ini

or

PHP:
<?php
phpinfo();
?>
 
@zEitEr
Thanks for your reply. That part I knew. Where is my error log? I really need the $_SESSION vars also.
Once again thanks
 
/var/log/httpd/error_log

or there are individual error logs per domain in /var/log/httpd/domains
 
@chatwizrd
Thank you much. I was able to see a tar file there. Still need to turn safe mode off on PHP. Can't make directories. Can't save files. Can't use $_SESSION vars. The php install here is old and safe mode was deprecated in 5.3 and totally removed in 5.4. Everyone hated it. I may need a refund because I refuse to rewrite all my functions to use safe mode.
Too bad it was a good deal. Will see what support has to say.
Once again thanks
 
Why would you have safe mode on. I have never used that in my life. Login to directadmin as admin user and disable it.
 
@chatwizrd:
OK! I didn't know I could do that. I went to the hostbandit.com control panel and logged in with the master id they issued me. I got the menu but I can't find any admin stuff.
Help!
 
Whomever installed DirectAdmin for you probably used an image of an old installation. Is it hostbandit.com?

On their website all they show is $1 webhosting. Do have a dedicated server or vps from them? If not, if all you have is a user account, then only they can help you.

Jeff
 
Holy Cow aren't I at hostbandit.com? Whaere the hell am I? I clicked on help at hostbandit.com
 
You're at the forum run by JBMC Software, the publishers of DirectAdmin software. DirectAdmin is webhost administration software, allowing companies large and small to sell webhosting. Hostbandit is likely one of those companies using DirectAdmin to sell webhosting. I say likely because their main site appears to not be hosted under DirectAdmin, while at least some of their users (listed on their website) are.

You're at the DirectAdmin forums; a self-help support group for admins and others who host their sites using DirectAdmin software.

If they've linked to this support forum for support, then they may have offloaded their support load to those of us who volunteer on these forums, even though most of us are competing webhosting companies (and I'd bet most of us at higher prices as well). I suppose that may be one way of cutting costs. After all you've got to cut costs somewhere when you're selling webhosting for $1.00/month.

But we can't help you with more than the general information; the same kind you can find on DirectAdmin support pages, here, simply because DirectAdmin is a very configurable system and we may all configure our systems differently.

You haven't responded as to what kind of account you have with them, but it's unlikely you can do, for example, what chatwizrd suggests in post #6 above, since to do that you'd have to have full administrative control of your entire server.

And chatwizrd is right about safe_mode, it's been deprecated, the authors and maintainers of PHP have decided it's not really safe in today's webhosting environment in shared hosting environments, and will no longer even support it in future versions of PHP.

If there's no real support at hostandit, and they cannot turn off safe_mode for you, then you'll probably need to host elsewhere.

Under the terms of service of these forums none of us are allowed to offer hosting on the forum, but there is a section of the forum where you can post your needs, and members here may contact you by private message if they can offer you what you need.

Don't expect unlimited hosting, though. And don't expect a dollar a month. In the opinion of most of us, those aren't viable options.

Please also see my PM to you.

Jeff
 
I appreciate all of the input. You guys are awesome. I use webmin on all my in-house servers and if I sold hosted web-sites I would use Direct Admin. I am a fan and I appreciate your help. Looks like hostbandit is exactly that. No response to my open tickets or anything. Take the money and run. Too bad it was a good deal. Looks like the only option I have with them is to complain with PayPal about not getting a refund. I bought 2 sites there too. What a drag!
Once again thanks. Keep up the good work!!
 
Back
Top