PHP project using Netbeans 6.8, XAMPP, Synfony framework
Posted: 18. August 2009 19:05
Hello everybody!!
I am trying to build a PHP project with Netbeans 6.8 (milestone) using the Symfony framework on my local machine.
The OS is WINDOWS XP PRO.
1) The first thing I did was installing the web development environment by using XAMPP LITE 1.7.2
That seems to be working fine: when I enter http:\\localhost in the browser, the XAMPP welcome page is shown.
Also when I click on Status, everything is active, but IPv6.
So that should be fine.
2) I went on to install the Symfony 1.2.8 framework, by following the steps of "getting started guide" ( http://www.symfony-project.org/getting- ... /en/04-Sym fony-Installation)
After extracting the symfony-1.2.8.zip file, I checked that symfony was correctly installed by using the symfony command line:
c:\> php lib\vendor\symfony\data\bin\symfony -V
The PHP command was NOT recognized by the prompt.
So I thought of installing PHP 5.3 on its own.
After doing that, the PHP command WAS recognized and the sinfony version was shown.
I also tried:
c:\> php lib\vendor\symfony\data\bin\check-configuration.php
to make sure everything was fine.
3) I went on to install Netbeans 6.8 (milestone) and under Tools-->Options-->PHP I set the php.exe file of my XAMPP as the intepreter to be used.
I also entered the path to the Symfony script under Tools-->Options-->PHP.
4) When I run the test project, this is what I get in the browser:
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
08/18/09 18:12:37
Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0
It looks like the Apache server cannot find the path to
http://localhost/PhpProject2/
Any suggestion or advice?
Please any help is really more than welcome...
Thanks a lot!!
I am trying to build a PHP project with Netbeans 6.8 (milestone) using the Symfony framework on my local machine.
The OS is WINDOWS XP PRO.
1) The first thing I did was installing the web development environment by using XAMPP LITE 1.7.2
That seems to be working fine: when I enter http:\\localhost in the browser, the XAMPP welcome page is shown.
Also when I click on Status, everything is active, but IPv6.
So that should be fine.
2) I went on to install the Symfony 1.2.8 framework, by following the steps of "getting started guide" ( http://www.symfony-project.org/getting- ... /en/04-Sym fony-Installation)
After extracting the symfony-1.2.8.zip file, I checked that symfony was correctly installed by using the symfony command line:
c:\> php lib\vendor\symfony\data\bin\symfony -V
The PHP command was NOT recognized by the prompt.
So I thought of installing PHP 5.3 on its own.
After doing that, the PHP command WAS recognized and the sinfony version was shown.
I also tried:
c:\> php lib\vendor\symfony\data\bin\check-configuration.php
to make sure everything was fine.
3) I went on to install Netbeans 6.8 (milestone) and under Tools-->Options-->PHP I set the php.exe file of my XAMPP as the intepreter to be used.
I also entered the path to the Symfony script under Tools-->Options-->PHP.
4) When I run the test project, this is what I get in the browser:
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
08/18/09 18:12:37
Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0
It looks like the Apache server cannot find the path to
http://localhost/PhpProject2/
Any suggestion or advice?
Please any help is really more than welcome...
Thanks a lot!!