Solved

What does this mean and how can I fix it?

Posted on 2014-07-21
2
176 Views
Last Modified: 2014-07-26
I'm trying to set up Symfony. I'm on a Mac and when I go to the page that is supposed the page that says I have successfully installed Symfony and here's the index page to my first project, I get this:


<html><body><pre>********************************
*                              *
*  symfony requirements check  *
*                              *
********************************

php.ini used by PHP: /Library/Application Support/appsolute/MAMP PRO/conf/php.ini


** Mandatory requirements **

  OK        PHP version is at least 5.2.4 (5.5.10)

** Optional checks **

  OK        PDO is installed
  OK        PDO has some drivers installed: sqlite, pgsql, mysql
  OK        PHP-XML module is installed
  OK        XSL module is installed
  OK        The token_get_all() function is available
  OK        The mb_strlen() function is available
  OK        The iconv() function is available
  OK        The utf8_decode() is available
  OK        The posix_isatty() is available
[[WARNING]] A PHP accelerator is installed: FAILED
            *** Install a PHP accelerator like APC (highly recommended) ***
[[WARNING]] php.ini has short_open_tag set to off: FAILED
            *** Set it to off in php.ini ***
  OK        php.ini has magic_quotes_gpc set to off
  OK        php.ini has register_globals set to off
  OK        php.ini has session.auto_start set to off
  OK        PHP version is not 5.2.9
</pre></body></html>

That's the source code to a blank page. It looks like something's breaking down. What is it and how can I fix it?
0
Comment
Question by:brucegust
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 29

Accepted Solution

by:
chilternPC earned 500 total points
ID: 40210420
no that's correct its a blank page.

Synfony is not a page based website - its a MVC generated website

you have to create a route, and a controller and a template to display the data
its probably best to view a tutorial on it.

https://www.youtube.com/watch?v=-PFDGYqIQMc

and the getting started http://symfony.com/get-started
0
 

Author Comment

by:brucegust
ID: 40210475
chilternPC,

Thanks for getting back with me.

I'm going through this tutorial: http://symfony.com/legacy/doc/jobeet/1_4/en/01?orm=Doctrine

I'm supposed to see a page that looks like the graphic below signifying that Symfony has been set up and I've successfully initiated my first project. What am I doing wrong?

screenshot
And I know  you're thinking "You're accessing a default page in your directory. Why would you be looking for something else?"

Because, according to the tutorial, I should be accessing a virtual host based on these settings inserted into my Apache httpd.config file:

# Be sure to only have this line once in your configuration
NameVirtualHost 127.0.0.1:8080

# This is the configuration for your project
Listen 127.0.0.1:8080

<VirtualHost 127.0.0.1:8080>
  DocumentRoot "/home/sfprojects/jobeet/web"
  DirectoryIndex index.php
  <Directory "/home/sfprojects/jobeet/web">
    AllowOverride All
    Allow from All
  </Directory>

  Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
  <Directory "/home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf">
    AllowOverride All
    Allow from All
  </Directory>
</VirtualHost>

Open in new window


I'm going nuts. Any ideas?

Your comment is correct, now that I'm looking at it. I just assumed my settings in Apache were kicking in and the index.php page at home/sfprojects/jobeet/web/index.php was the page that I was seeing.

I've got questions at:

http://www.experts-exchange.com/OS/Unix/Q_28480503.html
http://www.experts-exchange.com/OS/Unix/Q_28480360.html
http://www.experts-exchange.com/OS/Unix/Q_28477885.html

I've been chewing on this all day. Any help could give me would greatly appreciated.

Thanks!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question