Re: Using PEAR and PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 23, 2012 at 9:14 PM, Suraj Shah <suraj@xxxxxxxx> wrote:
>
>
>
> On 23/08/2012 20:12, "Ashley Sheridan" <ash@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> On Thu, 2012-08-23 at 20:33 +0200, Matijn Woudt wrote:
>
>
>>
>> OK thanks Matijn.
>>
>> I’ll google it now and install it.
>>
>> There is a site.php as well as a config.php file in the sub-directory of
>> the
>> old server. I’ve copied these over but not sure why it still doesn’t
>> recognise it. I’ve amended the code to point to the new server as well.
>>
>> Suraj
>
> The old server has probably some freaky settings that make that
> directory automatically included, for example by modifing the php
> include dir in php.ini, or it is part of a package. You can open up
> this site.php file and look at the first lines, it might give you a
> hint if it's part of some package.
>
> - Matijn
>
>
> You just made me think actually, could it be an .htaccess file re-routing
> the file paths (different to URL re-routing)? Because of the way MacOS and
> Linux works, an .htaccess file would be hidden by default and therefore not
> necessarily copied across.
>
>
>
> Ok thanks Ashley.
>
> If this .htaccess file was hidden by default, how would I go about accessing
> it and copying or transferring it over?
>
> Suraj

On Linux systems (and probably Mac too), you can show if there are
hidden files by using ls -a.
You can just use cp .htaccess <destination> to copy.

- Matijn

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux