Author Topic: zf.sh php not found  (Read 3223 times)

0 Members and 1 Guest are viewing this topic.

Offline DEVILofDARKNESSTopic starter

  • Enthusiast
  • Gender: Male
  • Kill Bill, We need no Microsoft and Gates
    • View Profile
    • Ninv
Re: zf.sh php not found
« Reply #15 on: August 20, 2009, 01:50:12 PM »
PS: I got ZendFrameWork running in /opt/ZendFramework-1.9.1

and I succeeded in creating a new project,

but the tutorial said that I know could view this project in localhost/zf-tutorial (the project is called zf-tutorial)

if I use my browser I get an error that it doesn't exist on the server...
if I go to localhost, I get the homepage of my main project (not with Zend) which is located in /home/username/public_html
echo "I love PHP";
Code: [Select]
print "And python!"

Online thorpe

  • Administrator
  • 'Mind Boggling!'
  • *
    • View Profile
Re: zf.sh php not found
« Reply #16 on: August 20, 2009, 05:49:19 PM »
/home/username/public_html isn't the normal location for sites to reside. Are you using Apache as installed by synaptic? Your sites should be under /var/www.

You still need to make an apache vhost for any new project, you'll also need to create the document root manually.

This is why I hate things like lampp. I think you need a better understanding of how Apache is configured.
« Last Edit: August 20, 2009, 05:50:00 PM by thorpe »

Offline DEVILofDARKNESSTopic starter

  • Enthusiast
  • Gender: Male
  • Kill Bill, We need no Microsoft and Gates
    • View Profile
    • Ninv
Re: zf.sh php not found
« Reply #17 on: August 30, 2009, 08:22:22 AM »
Pff, it's a huge mess, I think I just don't gonna use zf,
everything works fine for me now and I'm going to stay with it,

although thanks for you help guys!
echo "I love PHP";
Code: [Select]
print "And python!"

PHP Freaks Forums

« on: »

Tired of these ads? Purchase a supporter subscription to get rid of them.