Hi

> > > Hi
> > > I successfully installed Apache 2 on ubuntu 10.04 when Installed php5
> > > the installation AFAIK is right as it did not throw any errors when I
> > > give the following http://localhost/phpinfo.php I have 404 page not
> > > found error.
>
>   By default the php files should be in /var/www.

>
> I did try to create it just show the following error I tried to save
> manually but would not save as required just stuck there .
>
> an...@anaggha:~$ sudo gedit /home/<user>/server/phpinfo.php
> bash: user: No such file or directory
> an...@anaggha:~$
>

   First login as root.
   $ su -

  Then create a file in /var/www like
   $ gedit /var/www/phpinfo.php

  Now save the file and run the php script.


Regards
Ramchandran
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to