Trying to install PHP4, but...

Trying to install PHP4, but...

Posted by: higfonseca
Posted on: 2008-10-03 20:23:00

Hi guys, while I was trying to install an older version of PHP (so I can change some values on PHP.ini), I received this message from Putty:

ln: creating symbolic link `php' to `/home/USER/php-4.4.7': File exists

Where is this folder, so I can delete it?
I've deleted one at the root folder, but it didn't work.

Re: Trying to install PHP4, but...

Posted by: patricktan
Posted on: 2008-10-04 01:51:00

Did you replace USER with your real username?

As the message indicates, the file exists in /home/USER/php-4.4.7

Re: Trying to install PHP4, but...

Posted by: higfonseca
Posted on: 2008-10-04 10:18:00

Yep.

Re: Trying to install PHP4, but...

Posted by: sdayman
Posted on: 2008-10-04 12:05:00

What was the actual command (or script) you were running? It looks like there was a trailing slash missing.

-Scott

Re: Trying to install PHP4, but...

Posted by: higfonseca
Posted on: 2008-10-04 12:09:00

The script is here
http://wiki.dreamhost.com/Installing_PHP4

Re: Trying to install PHP4, but...

Posted by: sdayman
Posted on: 2008-10-04 12:48:00

Wherever you are when you're running this script already has a 'php' directory (or file).

-Scott

Re: Trying to install PHP4, but...

Posted by: higfonseca
Posted on: 2008-10-07 15:56:00

Hi guys, the PHP is installed, but when I upload the .htaccess whit the infos:

Options +ExecCGI
AddHandler php-cgi .php
Action php-cgi /cgi-bin/php.cgi

<FilesMatch "^php5?\.(ini|cgi)$">
Order Deny,Allow
Deny from All
Allow from env=REDIRECT_STATUS
</FilesMatch>

I receive the internal server error.

I have cgi-bin with php.cgi and the php.ini at home/mysite.com/cgi-bin.


Any sugestion?

Tags: root foldersymbolic linkputtyini