2 Issues

Asked by John Hale

Hi,I have the newest EHCP installed an I like it over alot of CPs I have used.The issues Im having one is HTTP 500 errors with alot of scripts Im uploading.These scripts I have used on other Linux servers an now that I have my own linux server I cant get any of them to show just 500 errors.My vbulletin showed a 500 error while it was uploading but went away when it fully uploaded.I have oxyclassifieds. im getting a 500 error an its been happing with a few others aslo an I was wondering what could be wrong?I have searched the internet for the past few days tring to figure out what could be wrong?Ive been reading about open_basedir Restriction in Effect Error that could be causing it but I dont know.Ive ran a windows server an new to linux so please bear with me on this.I was wondering if I have to edit the httpd.conf file if thats whats causing this.Maybe someone will know.
Also,Another script is saying You can't continue instalation process because you server doesn't support creating new files an wants me to CMOD like a 100 files.Sooo,does anyone know any answer to my issues?

Thanks

Question information

Language:
English Edit question
Status:
Expired
For:
Easy Hosting Control Panel for Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
John Hale (johngreg1973) said :
#1

Anyone?????

Revision history for this message
Phillip Beckford (budgierless) said :
#2

Ok in EHCP go to your domain and then open edit template, in the template make sure you open base is set like this or it will not work:

php_admin_value open_basedir none

What should do it, remember to restart apache & EHCP so make net setting take effect.

Sent from my iPhone

On 19 Apr 2012, at 05:05, John Hale <email address hidden> wrote:

> New question #194094 on Easy Hosting Control Panel for Ubuntu:
> https://answers.launchpad.net/ehcp/+question/194094
>
> Hi,I have the newest EHCP installed an I like it over alot of CPs I have used.The issues Im having one is HTTP 500 errors with alot of scripts Im uploading.These scripts I have used on other Linux servers an now that I have my own linux server I cant get any of them to show just 500 errors.My vbulletin showed a 500 error while it was uploading but went away when it fully uploaded.I have oxyclassifieds. im getting a 500 error an its been happing with a few others aslo an I was wondering what could be wrong?I have searched the internet for the past few days tring to figure out what could be wrong?Ive been reading about open_basedir Restriction in Effect Error that could be causing it but I dont know.Ive ran a windows server an new to linux so please bear with me on this.I was wondering if I have to edit the httpd.conf file if thats whats causing this.Maybe someone will know.
> Also,Another script is saying You can't continue instalation process because you server doesn't support creating new files an wants me to CMOD like a 100 files.Sooo,does anyone know any answer to my issues?
>
> Thanks
>
> --
> You received this question notification because you are a member of ehcp
> Developers, which is an answer contact for Easy Hosting Control Panel
> for Ubuntu.

Revision history for this message
John Hale (johngreg1973) said :
#3

Ive read up on that an kinda figured that but in Apache template there are 3 open basedirs.One is for the webmail php_admin_value open_basedir {ehcpdir}/webmail ,another says php_admin_value open_basedir "{homedir}:/usr/share/php:/usr/share/pear"an 1 just says php_admin_value open_basedir {ehcpdir} an I dunno were to add it.I tried the one that just says ehcpdir an restarted but did nothing.That template is the httpdoc?I use Debian for my OS an I can login as root via SSH.Anymore help will help....Also, what about not creating files?

Thanks

Revision history for this message
John Hale (johngreg1973) said :
#4

Anyone?

Revision history for this message
Phillip Beckford (budgierless) said :
#5

Ok in EHCP go to your domain and then open edit template, in the
template make sure your open base is set like this or it will not work:

php_admin_value open_basedir none

What you should do it after is remember to restart apache & EHCP so that makes the setting
take effect.

Sent from my iPhone

On 22 Apr 2012, at 17:45, John Hale <email address hidden> wrote:

> Question #194094 on Easy Hosting Control Panel for Ubuntu changed:
> https://answers.launchpad.net/ehcp/+question/194094
>
> John Hale posted a new comment:
> Anyone?
>
> --
> You received this question notification because you are a member of ehcp
> Developers, which is an answer contact for Easy Hosting Control Panel
> for Ubuntu.

Revision history for this message
John Hale (johngreg1973) said :
#6

I did that an still nothing.

Revision history for this message
John Hale (johngreg1973) said :
#7

How do I installed ioncube loader?encoder?I still get 500 errors.Need a little help....

Revision history for this message
Phillip Beckford (budgierless) said :
#8

It a little different for each Linux distro but the 1st thing I can tell you is that to enable it you have to edit your apache php.ini file after you have installed it, best thing is to search on google for your answer tho as I don't think you get an answer for that here as it is not anything to do with EHCP because it's a php5 addon.

Sent from my iPhone

On 25 Apr 2012, at 20:45, John Hale <email address hidden> wrote:

> Question #194094 on Easy Hosting Control Panel for Ubuntu changed:
> https://answers.launchpad.net/ehcp/+question/194094
>
> John Hale posted a new comment:
> How do I installed ioncube loader?encoder?I still get 500 errors.Need a
> little help....
>
> --
> You received this question notification because you are a member of ehcp
> Developers, which is an answer contact for Easy Hosting Control Panel
> for Ubuntu.

Revision history for this message
John Hale (johngreg1973) said :
#9

Yea Im new to all this.Ive got alot of searches for open base an ioncube.I think Ive got ioncube installed just need to figure it out how it works.I was told to make my dir world wide writable.I did with one script that was giving me a 500 error an it worked on that.Now tring to figure out why I get 500 error when uploading an image.

Revision history for this message
ehcpdeveloper (ehcpdeveloper) said :
#10

I remember that I answered this in email too,

appearantly, you need to make those directories world-writable,
in command line or ftp,do:
chmod a+w dirname

note that, playing with open_basedir is something dangerous. it is a security feature of php.
if you change it, your sites may be attacked by some cyber attack.

Revision history for this message
ehcpdeveloper (ehcpdeveloper) said :
#11

check these: where that script tries to upload the files ?
for ex,
if script tries to upload to /tmp, that is impossible.
set "temporary files" setting in that script to something like:
/var/www/vhosts/yourftp/yourdomain.com/phptmpdir
or
/var/www/vhosts/yourftp/yourdomain.com/httpdocs/tmpdir

there may be a setting in that script for setting temp dir,
or,
you may need to edit the script code.

Revision history for this message
John Hale (johngreg1973) said :
#12

I get all that but the thing is I cant get ioncube loader or zend optimizer going. ioncube dosnt reconize php for some reason.I have searched for the past 2 weeks tring to figure all this out to get this server running an Im about to give up an go back to windows server.I would hate to cuz I like EHCP alot but if I cant figure this out ima have to revert.

The ioncube wizard says:

Please note that the following problems currently exist with the ionCube Loader installation:
The following ini files could not be found by the Wizard: /etc/php5/apache2/php.ini,/etc/php5/apache2/conf.d/curl.ini,/etc/php5/apache2/conf.d/ffmpeg.ini,/etc/php5/apache2/conf.d/gd.ini,/etc/php5/apache2/conf.d/imap.ini,/etc/php5/apache2/conf.d/mcrypt.ini,/etc/php5/apache2/conf.d/mysql.ini,/etc/php5/apache2/conf.d/mysqli.ini,/etc/php5/apache2/conf.d/pdo.ini,/etc/php5/apache2/conf.d/pdo_mysql.ini,/etc/php5/apache2/conf.d/pdo_sqlite.ini,/etc/php5/apache2/conf.d/pspell.ini,/etc/php5/apache2/conf.d/sqlite.ini,/etc/php5/apache2/conf.d/sqlite3.ini,/etc/php5/apache2/conf.d/suhosin.ini,/etc/php5/apache2/conf.d/xmlrpc.ini
This may be due to server restrictions in place.
The necessary zend_extension line could not be found in the configuration.

and

Please note also the following issue:
Open basedir restrictions are in effect. This may affect the operation of this Loader Wizard.

I know EHCP is a panel but it also installs the server as well an I thought maybe I could get help here so i wouldnt have to run to alot of sites..To bad EHCP didnt have a windows version also.The only free one I know of is websitepanel an EHCP rocks over that.:)Anyhelp will help out alot.Any links or places to read will help.I have Debian for OS btw...

Thanks

Revision history for this message
Launchpad Janitor (janitor) said :
#13

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Phillip Beckford (budgierless) said :
#14