Find programmers and grapic design experts at ScriptLance.com
<? DEW-CODE.COM  
Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Links url lists code of directory file (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Links url lists code of directory file
#63
canoe (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:Links url lists code of directory file 8 Months, 3 Weeks ago Karma: 2  
The issue has been resolved. The following directive worked (for PHP 5.2.5 on Apache 2.2.8):

SetHandler application/x-httpd-php5

In my previous post I reported that I had installed the script on a second host and had problems there, too. The first response to my support ticket on the second host was that the script wasn't even installed. I guess they took a quick glance and saw there was no directory called /links/directory and went no further. After I pointed out to them that it was, indeed, installed and that the admin section was working fine, they figured it out. And presto, the addition of the number 5 solved the problem.

My main concern with this is that it might mean my links site will stop functioning if and when there is an upgrade to php6.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#67
Dewed (Moderator)
Moderator
Posts: 250
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Links url lists code of directory file 8 Months, 2 Weeks ago Karma: 7  
Hrm... I haven't seen that one yet. Adding it to the FAQ. It's odd, but I suppose it could be kind of handy to be able to specify which version you wanted to use. .. and yes, likely the next time there is a major PHP upgrade, I suspect it will stop working again. Of course if they used the standard application/x-httpd-php .. to maintain backwards compatability ... well, one can hope.
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#225
zjohn13 (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Links url lists code of directory file 7 Months, 2 Weeks ago Karma: 0  
Hi guys,

Thanks for for sharing this on the forum.
I had exactly the same problem and this also solved it for me.

My .htaccess file only contained ForceType application/x-httpd-php
Adding a 5 to the end of that line did not work but adding your suggested line SetHandler application/x-httpd-php5 did the job.
PHP 5.2.5
Apache 1.3.41

I've only just registered on this new forum but I always had great support via the old forum during my PHPlinks development phase
http://www.chilternphoto.org.uk/introduction/photogroup/search/index.htm

Thanks again to both of you.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Newsflash

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008