Originally Posted by Smoge
hey
i dont have root acces, so how can i edit and make my local php.ini
copy from : /usr/local/Zend/etc/php.ini ? to where ?
got ssh
use http://www.hostforweb.com/
http://216.246.52.137/phpinfo.php
thanks
Originally Posted by Smoge
hey
i dont have root acces, so how can i edit and make my local php.ini
copy from : /usr/local/Zend/etc/php.ini ? to where ?
got ssh
use http://www.hostforweb.com/
http://216.246.52.137/phpinfo.php
thanks
I think it would be easier to edit your db.inc.php
If you want to fool with a local php.ini or other methods to adjust this setting, you can try the information here - it seems to be pretty complete and accurate.
Is what you would want to fool with.Code:mysql.allow_persistent = Off
Smoge
ModMySite Administrator
Problems? Questions? Need modifications or other help with your site?
Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.
Hey, did try everything, but server dont read local php.ini file, dont know why ???
I did put php.ini to public_html whit
mysql.allow_persistent = Off
but dosent change anything
i did try to change .htaccess file both in public_html and my /home/dir
after thai i am getting error 500, no acces to my web directory
have look public_html/.htaccess file:
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.thailand.hostforweb.com
AuthUserFile /home/thailand/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/thailand/public_html/_vti_pvt/service.grp
php_value mysql.allow_persistent = Off
and my /home/dir .htacces file:
php_flag register_globals Off
php_flag mysql.allow_persistent = Off
both dont change anything
and I am useing on the server advertised and dolphin friendly, recommended on boonex web site hmmm
any ideas ?
thanks
I guess that only way it might be working, but proper way ?Originally Posted by Smoge
If you can not disable system wide in php.ini or by using a local php.ini file, you can try this:
Edit your db.inc.php file, and look for:
Code:
mysql_pconnect
and change to
Code:
mysql_connect
Be sure to test afterwards.
Rob
Last edited by n0n4m3; 04-04-2007 at 08:56 AM.
This page appears to be the best one on the net for explaining how to adjust php settings using several methods.
http://www.nyphp.org/phundamentals/ini.php
However, I am not 100% sure you can set the pconnect setting using the alternative methods listed on the above link instead of actually editing the system php.ini - but I ASSUME you can, if you use the correct method as supported by your hosts server configuration.
Smoge
Last edited by Smoge; 04-05-2007 at 04:00 AM.
ModMySite Administrator
Problems? Questions? Need modifications or other help with your site?
Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.
Originally Posted by Smoge
did try everything, like posted above, all changes dont take effects, did contact, customer support, they told me that mysql option can be turned off global only, u cant change it local
on the top of that they deleted my ticket, without answer on it hmmm ??
hope there is solution for that, anyway they http://www.hostforweb.com/ servers advertised on boonex for dolphin soft
thanks
Last edited by n0n4m3; 04-05-2007 at 04:13 AM.
Hi,
We have found HostForWeb to NOT really be configured correctly 100% for aedating / dolphin, as you have discovered.
It is 100% perfectly configured for aedating / dolphin - and uses phpSuExec for increased security between hosting accounts, among other things.
Or, if you want to stay on HostForWeb - edit your db.inc.php as suggested in a previous post.
Smoge
Last edited by Smoge; 09-19-2010 at 05:00 AM.
ModMySite Administrator
Problems? Questions? Need modifications or other help with your site?
Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.
I cant find PHP.INI(
To change the system wide php.ini - you need root access.
On some servers where you don't have root access, you can create a local php.ini (or .htaccess) file to control some of the php parameters.
Smoge
ModMySite Administrator
Problems? Questions? Need modifications or other help with your site?
Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks