cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to install wordpress on the new platform.

mgillespie
Grafter
Posts: 222
Registered: ‎08-04-2007

Trying to install wordpress on the new platform.

Documention is certainly lacking / misleading.
Some documents imply that ssh access is still available.
Quote
2) What are the differences between the new CGI platform, and the old platform?
The new platform runs PHP5 as opposed to PHP4. The new platform has been built with security in mind and makes use of one of Apache's features known as 'SuEXEC'. We have tried to keep most other things the same to avoid any unnecessary disruption to your service.

(errm, shouldn't that mention that ssh is no longer available?)
I am trying to unpack the wordpress zip file using cron, and this guide:
http://community.plus.net/forum/index.php/topic,69399.msg553635.html#msg553635
It keeps referring me to Plesk control panel.  (which I think is not for free hosting...), and I can't get the manual commands to work either.
I have a mycron file in the root of my webspace, the faqs are rather vague what to put in there.

Do I do exactly as it says?
whereis tar > httpdocs/tar-loc-log 2>&1
or in the cron format:
10 *    * * *   root    whereis tar > httpdocs/tar-loc-log 2>&1
(to execute on 10 minutes past the hour)
I have tried both, and neither seems to do anything.  I am assming that mycron is the file I should be editing?  None of these vague guides actually say.  That file might have been put there by some package I have previously installed...
If anyone can give me CONCISE, CURRENT and RELEVANT information for the new CGI server on the free hosting platform, I would be grateful.
Thanks.
3 REPLIES 3
Gabe
Community Veteran
Posts: 767
Registered: ‎29-10-2008

Re: Trying to install wordpress on the new platform.

There's a handy cron interface on the PAYH platform, but not on ccgi. Try using a script like this (changing the file name).
Gabe
mgillespie
Grafter
Posts: 222
Registered: ‎08-04-2007

Re: Trying to install wordpress on the new platform.

Many thanks, that was the missing link in all the disparate posts I have read on the subject...    Things working great now, in addition, I also found your recursive permission fixer of great value...
Quote
#!/bin/bash
echo "Content-type: text/html"
echo
find . -type d ! -perm 1710 -print0 | xargs -0 chmod 710
find . -type f -regextype posix-extended -regex '.*\.(php|pl|cgi)$' -print0 | xargs -0 chmod 700
echo "<table border='1'><tr><th>Type</th><th>Name</th><th>User, Group</th><th>Permissions</th></tr>"
find . -type d -printf '<tr><td>Folder</td><td>%p</td><td>%u, %g</td><td>%M</td></tr>'
find . -type f -printf '<tr><td>File</td><td>%p</td><td>%u, %g</td><td>%M</td></tr>'
echo "</table>"

Cign
Grafter
Posts: 42
Registered: ‎17-08-2007

Re: Trying to install wordpress on the new platform.

I found it easier to unpack Wordpress on my home computer and then upload by FTP. Short guide here
http://community.plus.net/forum/index.php/topic,85127.0.html
Cheers
John