Reply to topic  [ 11 posts ] 
PHP on PlusNet hosting 
Author Message
Spends far too much time on here
User avatar

Joined: Fri Apr 24, 2009 8:38 am
Posts: 2967
Location: Dorchester, Dorset
Reply with quote
Anyone know about this? I'm updating a clients' website with an interactive bit. I've had to activate CGI and it seems that the CGI server is completely separate to the webserver the site's on. Where do I put the php file so that I can access it from the web through their domain? Their technical support said they don't support CGI.

_________________
I've finally invented something that works!

A Mac User.


Tue Jan 26, 2010 2:38 pm
Profile
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 5288
Location: ln -s /London ~
Reply with quote
Isn't CGI for perl stuff? My brain's not engaged today, sorry.

_________________
timark_uk wrote:
Gay sex is better than no sex

timark_uk wrote:
Edward Armitage is Awesome. Yes, that's right. Awesome with a A.


Tue Jan 26, 2010 2:44 pm
Profile
Spends far too much time on here
User avatar

Joined: Fri Apr 24, 2009 8:38 am
Posts: 2967
Location: Dorchester, Dorset
Reply with quote
It is I think, but they it's all what they call CGI anyway. Whether that's the official convention or theirs, I don't know.

I think I've figured it out. It's a separate server, so I have to call the script from within the HTML of the main site. I'm not sure if that's going to work though, as I think the PHP has to be on the same server as the site it's editing.

_________________
I've finally invented something that works!

A Mac User.


Tue Jan 26, 2010 3:02 pm
Profile
Site Admin
User avatar

Joined: Fri Apr 24, 2009 6:12 am
Posts: 7011
Location: Wiltshire
Reply with quote
Within the web server can you identify the CGI folder and its location as part of the site ?

_________________
<input type="pickmeup" name="coffee" value="espresso" />


Tue Jan 26, 2010 3:19 pm
Profile WWW
Spends far too much time on here
User avatar

Joined: Fri Apr 24, 2009 8:38 am
Posts: 2967
Location: Dorchester, Dorset
Reply with quote
AlunD wrote:
Within the web server can you identify the CGI folder and its location as part of the site ?


I don't know! I wouldn't know how to go about it, I'm afraid I think I have telnet access if it's done through there.

_________________
I've finally invented something that works!

A Mac User.


Tue Jan 26, 2010 3:26 pm
Profile
Site Admin
User avatar

Joined: Fri Apr 24, 2009 6:12 am
Posts: 7011
Location: Wiltshire
Reply with quote
Hmm what is the web server

_________________
<input type="pickmeup" name="coffee" value="espresso" />


Tue Jan 26, 2010 3:31 pm
Profile WWW
Spends far too much time on here
User avatar

Joined: Fri Apr 24, 2009 8:38 am
Posts: 2967
Location: Dorchester, Dorset
Reply with quote
Gah, uploaded the program and it says that Zend optimiser isn't installed, except the zend optimiser tester says it is and the plus net forums say it is. Can't believe PlusNet's rubbish hosting has turned a five minute job into a four hour nightmare.

_________________
I've finally invented something that works!

A Mac User.


Tue Jan 26, 2010 3:38 pm
Profile
Occasionally has a life
User avatar

Joined: Fri Apr 24, 2009 12:18 pm
Posts: 289
Reply with quote
if you post a phpinfo file , it should tell you if php is working on the server and also which exensions ..

<?php

phpinfo();

?>

Didge

_________________
eurotech


Wed Jan 27, 2010 10:58 am
Profile
Spends far too much time on here
User avatar

Joined: Fri Apr 24, 2009 8:38 am
Posts: 2967
Location: Dorchester, Dorset
Reply with quote
Here's the link:

http://ccgi.cheverellwood.plus.com/info.php

Doesn't mean an awful lot to me!

_________________
I've finally invented something that works!

A Mac User.


Wed Jan 27, 2010 2:43 pm
Profile
Occasionally has a life
User avatar

Joined: Fri Apr 24, 2009 12:18 pm
Posts: 289
Reply with quote
so, did you upload this file TB? If so, it is a php script and is running fine. Scripts can be run from this same directory.

It also indicates that zend is running .. although it all looks a bit .. old .. v1.3.0 .. my host is now on 2.2.0

php also, you're at 4.3.10 i'm at 5.2.4


I'm guessing that your script can be run from the main upload directory but that it requires either a newer version of zend or php ..

Now i would remove that phpinfo.php file as it is insecure to leave it running.

HTH

Didge

_________________
eurotech


Wed Jan 27, 2010 4:18 pm
Profile
Spends far too much time on here
User avatar

Joined: Fri Apr 24, 2009 8:38 am
Posts: 2967
Location: Dorchester, Dorset
Reply with quote
Cheers Didge.

Have disabled it now. Thought it might be a bit old. Have come up with some convoluted way of having the subdomain 'www.' point to a proper webhost.

_________________
I've finally invented something that works!

A Mac User.


Wed Jan 27, 2010 4:41 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ] 

Who is online

Users browsing this forum: No registered users and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.