|
|||||||
| View Poll Results: Overall how well did the mod_php to PHPSuEXEC migration work out for you? | |||
| Terrible (ALL of my sites were/are broken) |
|
6 | 18.18% |
| Fair (A lot of areas of my site were broken) |
|
4 | 12.12% |
| Great (Had little or no issues at all) |
|
8 | 24.24% |
| Woohoo! I have been wanting this implemented for a long time! |
|
15 | 45.45% |
| Voters: 33. You may not vote on this poll | |||
![]() |
|
|
Thread Tools |
|
#26
|
|||
|
|||
|
Clearly they will have to relabel this so gator is out
|
|
#27
|
|||
|
|||
|
I would like to ask how to change owners and group of nobody (99) owned files on my client's packages.
__________________
Evangelos Tripolitakis Electronics & Computer Engineer, MSc PhD Candidate NohSYS http://www.nohsys.net/vaggelis |
|
#28
|
|||
|
|||
|
chgrp Change group ownership
chmod Change permissions chown Change file owner and group Here is a script that I wrote to fix user, group and permissons. PHP Code:
|
|
#29
|
||||
|
||||
|
If you are on a reseller account, I believe you will have to contact support. Beyond the permissions jailshell allows.
__________________
best regards, George |
|
#30
|
|||
|
|||
|
Dear All,
I am a reseller but am not a techie. should i need to inform my customers of this conversion from mod_php to PHPSuEXEC? Should my clients have to do something, like re-programming their websites? How many hours does the conversion take place? do my clients expect some downtime? like how many hours? Hope you can help as i really have no idea what is going to happen. One of my customer runs a classified ads program using cgi (like the one at http://www.activewebsuite.com/classifiedspro/index.htm) Will the conversion affect his program? and what should he do? Thank you so much. Appreciate if you can help. Regards, Angeli |
|
#31
|
||||
|
||||
|
Hi!
I don't have the time to read the whole thread now but in the begining I was under the impression that HG would be doing serverwide changing permissions based on the most common occurences. I can't find that post now... (maybe that was on the email). The idea was that most common permission problem situations would be avoided. Anyway I found that the best thing was to do as DaveC said earlier (to test PHP apps) is to do an AddType application/x-httpd-php5 .php in htaccess. Of the sites I tested I only found problems on one. And when I could not fix it Support (thank you) fixed it for me. Regards, António. |
|
#32
|
||||
|
||||
|
We will be doing the server wide permission changes. If you would rather us not touch the file permissions on your account you may create a blank file called ".mod_php_migration" in your home directory.
**The file must be in /home/USER/, NOT /home/USER/public_html** If you create this file, your files will be untouched and may cause your web site not to function after the migration is done. This is only recommended for Advanced users who would like to change the permissions themselves.
|
|
#33
|
|||
|
|||
|
It seems this change has affected a couple of websites... from functioning... and I'm not enough of a php/mysql wizard to be able to fix it.
I'm getting these type of errors: Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/******/public_html/site/details.php on line 24 Someone please help me? |
|
#34
|
|||
|
|||
|
What codes in details.php on line 24?
|
|
#35
|
|||
|
|||
|
attached is a txt file of the php script.
thank you for your help
|
|
#36
|
|||
|
|||
|
First of all the standard php function is mysql_num_rows not MYSQL_NUMROWS unless it is a function you have defined yourself. Also the problem seems to be that you have not saved the mysql link resource to a variable when you make the call to the mysql_connect function on line 6. Also it seems that your query is relying on a variable; $listid which is not set in the code provided making your query invalid, provided register_globals is off.
Secondly in your code details you use the mysql_result function excessively. Mysql_result is unnecessary, messy, and very slow for almost any query that returns multiple columns or rows. A simpler way is to use PHP Code:
Good luck. Last edited by lightningstrike; 06-28-2007 at 07:47 PM. Reason: Mistake in code |
|
#37
|
||||
|
||||
![]() Got up this morning to find one of my sites throwing internal server errors. After sweating for a while I removed my php.ini file from the root of the web and forum folders to find it fixed it. I haven't yet determined which part of the php.ini was causing the error, I was already using the php5 handler, I only set register_globals and upload sizes in it.. Something to try if you get the same post upgrade. Does beg the question why Hostgator don't do a sanity check for customers to ensure the site is running post upgrade, I guess time constraints is the answer. |
|
#38
|
|||
|
|||
|
on June 12, I received an email that says...
**************** There will be forum posts > alerting you to which servers are being upgraded and when at > http://forums.hostgator.com/showthread.php?p=63036 . ***************** The thread mentioned in the email is this very thread. However I cannot find any information about which servers have been upgraded or which servers are going to be upgraded and when. My technician has just left for 10 days holidays. We are hosting many websites on 2 different accounts, one on gator11 and the other on explorer. My technician has built a web framework in PHP that relies upon the ability to fetch files from "higher up the directory tree" than public_html. We are very concerned that HostGator will perform an upgrade on our servers while my technician is on holidays over the next 2 weeks and send all of our clients' websites crashing down. Is there any way that we can be advised when the migration is planned for gator11 and explorer? And is it at all possible to delay the migration for these 2 servers until after July 12? |
|
#39
|
|||
|
|||
|
Hello Dave,
Do you have some planning for the reseller upgrades in June. |
|
#40
|
||||
|
||||
|
Quote:
The following shared servers will be migrated tonight gator69,70,71,72 & 73. Happy belated Canada Day, and 4th of July!
|
|
#41
|
||||
|
||||
|
We will be Migrating gator39 tonight as well.
|
|
#42
|
|||
|
|||
|
PHP has not been working on my server for approx the last 2+ hours. I am assuming it is because of the Mod_php to PHPSuEXEC migration.
How long until my PHP websites are working again??? |
|
#43
|
||||
|
||||
|
Quote:
I'm not sure what your domain name or which server you are on. Please post what the problem is, or create a support ticket. |
|
#44
|
|||
|
|||
|
Thank You for resolving that David, so quickly after I sent in the trouble ticket! Much appreciated!
|
|
#45
|
||||
|
||||
|
The following servers are going to be migrated to PHPSuEXEC tonight.
gator68,67,66,65,64,63 & 62. If there are any problems that you find, please let us know. |
|
#46
|
|||
|
|||
|
My site is down due to these changes and has been since at least 3:00 this afternoon as far as I can tell. I put in a support ticket at 4:00 which makes it almost four hours now and I still haven't gotten any help. I doubt I know enough to make all of the changes necessary and thought alot of this would be done for us...Any idea on how quickly I will get help on getting my site up and running again???
|
|
#47
|
||||
|
||||
|
We are also going to migrate gator61 and gator60 shortly as well.
|
|
#48
|
|||
|
|||
|
Could you please tell me when gator2 will be migrated over to PHPSuEXEC? I won't have access to a computer for three or four days between Thursday 5th and Sunday 8th, so if my sites go down I won't be around to fix them.
If it could be done tonight so that I can fix my sites before I leave, that would great - failing that, could you wait until at least Sunday night/Monday morning? |
|
#49
|
||||
|
||||
|
Tonight we will be migrating gator50 to gator59, as well as gator2.
|
|
#50
|
||||
|
||||
|
Tonight we will be migrating gator40 to gator49. If there are any issues, please let me know.
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|